Commit Graph

11656 Commits (spacial-graph-hackday)

Author SHA1 Message Date
Daniel Campbell 99f55bc5b1 hackday 2018-09-20 09:21:06 -07:00
Christopher Henn bc143758d3 Exclude '_start' and '_stop' columns from group key 2018-09-18 15:12:18 -07:00
Brandon Farmer 9277eec590
Merge pull request #4476 from influxdata/polish/provide-stacktrace-in-issues
Add stack traces to issues created on error
2018-09-18 13:27:12 -07:00
Brandon Farmer d947913336 Add stack traces to issues created on error 2018-09-18 12:40:12 -07:00
Delmer 454d1cb84e
Update histogram to clear before fetching new source/namespace (#4457) 2018-09-17 21:52:51 -04:00
Iris Scholten 9f8d3983e3
Show flux results in table graph (#4461) 2018-09-17 18:35:10 -07:00
Deniz Kusefoglu c30d939c6c
Merge pull request #4472 from influxdata/bugfix/config-kapacitor-without-switching-source
Check if source has been edited to decide where to redirect at wizard close.
2018-09-17 17:47:55 -07:00
Brandon Farmer f44b9fcb4d
Merge pull request #4471 from influxdata/polish/fix-various-errors
Fix various errors with data explorer
2018-09-17 14:57:50 -07:00
Brandon Farmer a55d525e95 Fix various errors with data explorer
- Remove unused build button
- Handle missing `query` query param
- Better default for queryDrafts
2018-09-17 14:37:15 -07:00
Deniz Kusefoglu 75395b1053 Check if source has been edited by wizard to decide where to redirect 2018-09-17 14:31:52 -07:00
Alirie Gray c59c2b1d5f
Merge pull request #4468 from influxdata/flux/error-message-when-source-doesnt-have-flux
Add error message when current source doesn't support Flux
2018-09-17 12:39:49 -07:00
Alirie Gray c22e68d501 Add type to Query model and check for type and service in TimeSeries 2018-09-17 12:12:06 -07:00
Deniz Kusefoglu ad2be7a016
Merge pull request #4459 from influxdata/enhancement/send-to-dashboard
Fix notifications and dashboard getting in send to dashboard.
2018-09-17 12:11:55 -07:00
Jared Scheib e5f5ccf3e8
Maintain focus on Flux Editor text area when adding nodes via code (#4466)
* fix(flux/components): only autofocus new FuncArg input on user click

* update changelog
2018-09-17 14:42:17 -04:00
Deniz Kusefoglu 292d1ef75f Call getDashboards on didMount of SendToDashboard
Fix notifications when sending cell to dashboard

Update Snapshots
2018-09-17 11:04:36 -07:00
Brandon Farmer c2ca9c0c16
Merge pull request #4464 from influxdata/fixes/ensure-flux-cells-have-correct-type
Ensure that flux cells have correct type
2018-09-17 10:18:01 -07:00
Brandon Farmer 07757eba5b Ensure that flux cells have correct type
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-09-17 10:07:37 -07:00
Brandon Farmer 3453c3c7a9
Merge pull request #4460 from influxdata/retain-source-in-de
Retain source on data explorer between refreshes
2018-09-14 16:57:05 -07:00
Brandon Farmer 66dff736e6 Retain source on data explorer between refreshes 2018-09-14 16:31:55 -07:00
Alirie Gray 246c6f15c7
Add type property to queries (#4458)
* Add type property to CellQuery model

* Make an enum for QueryType

* Add type property to Query model on backend

* Add query type checking to CEO reducer and Layout

* Update swagger.json docs
2018-09-14 16:24:17 -07:00
Delmer 4d2c5bc4c6
Add No Results Message For Histogram (#4456)
* Update histogram no results message
* Update histogram to display window option
* Update histogram no results window
2018-09-14 17:51:51 -04:00
Delmer b03e902a4e
Save log wrap/truncate setting (#4454)
Update logs to save user wrap/truncate setting

* Update CHANGELOG 1.7 features
2018-09-14 17:50:58 -04:00
Christopher Henn 91fc8cec3d Debounce fetching Flux data 2018-09-14 13:59:04 -07:00
Christopher Henn 8fd5e65506 Refactor TimeSeries component
Removes dependence on a `setState` timeout hack.
2018-09-14 13:59:04 -07:00
Christopher Henn 53df0769d0 Don't render Dashboard until Services are ready
Flux cells rely on `Service` objects to fetch and display graphs.
Previously, a dashboard would (sometimes) be rendered before the
`Service` objects had been fetched, and then never re-rendered. This
would cause Flux graphs to display as empty.

This did not occur in development unless the network connection was
throttled.
2018-09-14 13:59:04 -07:00
Christopher Henn 7e1ba8f9c8 Notify when Flux response is truncated in CEO 2018-09-14 13:59:04 -07:00
Christopher Henn d04c412b91 Remove redundant data fetching from TimeMachine
The `RefreshingGraph` in the DE/CEO already executes the Flux query, so
executing the Flux query when the `TimeMachine` mounts is redundant.

Since data is fetched on every keystroke in the Flux editor, executing
the Flux query when pressing Control-Enter was redundant as well. The
`KeyboardShortcuts` component existed only to facilitate this
interaction, so I have removed it as well.
2018-09-14 13:59:04 -07:00
Christopher Henn 5c41aeaf8f Notify when Flux CSV export is truncated 2018-09-14 13:49:50 -07:00
Christopher Henn 7817e1173b Enable exporting a CSV for Flux queries in the CEO 2018-09-14 13:49:50 -07:00
Christopher Henn 2169b8e35b Upgrade TypeScript to 3.0 2018-09-14 11:24:08 -07:00
Christopher Henn 8e0380c3c1 Upgrade React and Enzyme 2018-09-14 11:24:08 -07:00
Iris Scholten b251c9350e
Update Single Stat Vis types to work with Flux data (#4449) 2018-09-13 16:17:16 -07:00
Deniz Kusefoglu 5f138d6b63
Merge pull request #4450 from influxdata/hostpage/fix-numbering-bug
Fix numbering bug on hostspage
2018-09-13 16:03:37 -07:00
Delmer 702400c995
Make log time formats consistent (#4447)
* Fix inconsistent log time formats
* Remove unused query results logic
2018-09-13 18:28:29 -04:00
Deniz Kusefoglu 01f480b730
Merge pull request #4446 from influxdata/bugfix/send-to-dashboards-when-no-dashboards
Send cell from DE to a new dashboard
2018-09-13 14:58:54 -07:00
Deniz Kusefoglu ca4d18ba3f Memoize sortedHosts calculation and display correct copy if no hosts match search term
Convert HostsRow to TS and rename variables
2018-09-13 14:55:05 -07:00
Delmer d21b98dbf8
Refetch logs after source update (#4438)
* Fix logs source switching not refetching
* Fix logs not searching updated namespace
* Fix search not terminating
2018-09-13 16:51:48 -04:00
Christopher Henn ed36dae808 Clear localStorage cache every commit
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
Co-authored-by: Chris Henn <chris@chrishenn.net>
2018-09-13 13:33:23 -07:00
Deniz Kusefoglu edb3570eb9 Fix humanizeNotes crashing when note text is null
Get dashboards on DE mount

Add new dashboard option to send to dashboard dropdown in DE
2018-09-13 12:02:37 -07:00
Brandon Farmer fbb2dbca8d
Merge pull request #4445 from influxdata/enhancement/export-flux-cells
Provide flux services to dashboard export
2018-09-13 10:44:49 -07:00
Brandon Farmer 03c8c14d2c Provide services to dashboard export 2018-09-13 09:58:54 -07:00
Delmer 8fba2b5585
Remove logs table query stats (#4431)
* Remove logs table query results stats
* Remove logs filters margin
2018-09-13 12:16:21 -04:00
Iris Scholten b92bf60ba5
Update flux dygraph parsing (#4442)
* Update fluxTablesToDygraph parsing

* Move fluxtables to dygraph into a worker job

* Fix FluxGraph to use new fluxTablesToDygraph
2018-09-12 17:59:18 -07:00
Deniz Kusefoglu 35f5fd3488
Merge pull request #4441 from influxdata/flux/send-vis-options-to-dashboard
Send Visualization Options from DE to Dashboard
2018-09-12 16:38:03 -07:00
Deniz Kusefoglu 2f5c94082b Add visualization options to cell while sending to dashboard 2018-09-12 15:58:57 -07:00
Jared Scheib bdf4036042 fix: go vet server/server.go 2018-09-12 18:32:06 -04:00
Jared Scheib 46c8baca3a
feat: auto scroll to measurement item in explorer (#4436)
* feat: auto scroll to measurement item in explorer

* update changelog
2018-09-12 18:22:25 -04:00
Jared Scheib 4e99d20032
Add metaquery template generator button to Explorer and Cell Editor (#4433)
* fix: add back meta queries dropdown to DECEO via ActionDropdown

* feat: add ActionDropdown to reusable_ui

* refactor: clean up metaqueries template options

* change button text to 'Metaquery Template'

* update changelog

* Polish

* Extend Dropdown to allow for 2 different modes

* Guard against undefined selectedChild in dropdown

* Make id strings more unique

* WIP Replace ActionDropdown with Regular Dropdown in "ActionList" mode

* remove ActionDropdown since obsolete basedon 5902026
2018-09-12 18:12:56 -04:00
Brandon Farmer 0bf7ed04ca
Merge pull request #4439 from influxdata/fix/duplicate-services-getter
Remove duplicated getter for services
2018-09-12 15:03:03 -07:00
Alex Paxton eea445880c
Remove Unused JS Components (#4432)
* Remove unused JS components

* Convert component to TypeScript

* Refactor to be more typescripty and extend types

* Make linter happy

* Make each static legend item its own component
2018-09-12 14:46:19 -07:00