Commit Graph

11987 Commits (c9a5d5094e0f5cfa46ebea09878be28ee6bc1ac9)

Author SHA1 Message Date
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
Iris Scholten 6788f97797
Unhook LineGraphColorSelector from redux so it works in CEO and DE (#4435) 2018-09-12 14:41:01 -07:00
Brandon Farmer fb847a26cc Remove duplicated getter for services 2018-09-12 14:39:35 -07:00
Alirie Gray 4df19c9d62
Merge pull request #4437 from influxdata/flux/remove-duplicate-service-getter
Remove duplicate service getter from DE
2018-09-12 14:38:02 -07:00
Alirie Gray 3607491ced Remove duplicate service getter from DE 2018-09-12 14:24:01 -07:00
Deniz Kusefoglu 9dd6b08400
Merge pull request #4426 from influxdata/flux/flux-send-to-dashboard
Allow submit to dashboard from DE for flux queries
2018-09-12 13:20:08 -07:00
Alex Paxton 07b049eaea
Fix the Tiniest Header (#4420)
* Use correct percentage in page header sizing

* Use PageHeader instead of raw markup

* Change sidenav item to match page header
2018-09-12 11:19:34 -07:00
Delmer 0106e5dd1c
Fix query editor rejecting updates (#4429)
* Fix query editor rejecting updates for generated statements
* Fix query editor flickering
* UPDATE CHANGELOG
* Remove isShowingTemplateValues from state derivation
* Fix submission completion clobbering edits
2018-09-12 14:02:23 -04:00
Deniz Kusefoglu c4af69c17a Make submit button for dashboard sending disabled if no flux query 2018-09-12 00:35:16 -07:00
Iris Scholten ceeb3e9b23
Flux in line graphs (#4410)
* Create workers for flux fetch and response decoding

Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>

* Add flux data to linegraph

* Fix error when queryConfigs are undefined

* Add service as prop instead of treating source as either service or source

* Fix raw data view after changing components

* Remove commented code

* Update Changelog

* Fix tests

* Remove unnecessary comment

* Rename timeSeries and data for clarity

* Add try catch around worker jobs

* Add type annotations

* Remove unncessary check

* Update to use descriptive variables
2018-09-11 17:25:24 -07:00
Brandon Farmer 4da0c9f24a
Merge pull request #4422 from influxdata/enhancement/deep-link-flux-de
Allow flux scripts in query string for DE
2018-09-11 16:44:46 -07:00
Brandon Farmer 8080583737 Allow flux scripts in query string for DE 2018-09-11 16:15:59 -07:00
Delmer def4acdfec
Fix query editor flickering on update (#4423)
* Fix query editor flickering on update
* Fix editor to update and focus on tab changes
* Update CHANGELOG UI IMPROVEMENTS
2018-09-11 18:40:57 -04:00
Delmer 9ba557b606
Autofocus dashboard query editor (#4399)
* Fix editor not focusing on mount
* Update query editor to close on blur
2018-09-11 17:51:25 -04:00
Brandon Farmer 18d21f1c23
Merge pull request #4421 from influxdata/fix/showing-singular-default-source
Update ConnectionLink to reflect current default
2018-09-11 13:34:40 -07:00
Brandon Farmer 461f71a2fe Update ConnectionLink to reflect current default 2018-09-11 11:09:42 -07:00
Jared Scheib 9b6263e667
Render null data point values in Alerts Table as mdashes (#4408)
* fix: render invalid Alerts Table row data as mdash

create new AlertsTableRow component
refactor Alerts Table rows to use new AlertsTableRow component

* test AlertsTableRow for valid data

render spans for all alerts table row cell values

* update changelog
2018-09-11 11:12:12 -04:00
Deniz Kusefoglu 285f2843b5
Merge pull request #4404 from influxdata/feature/host-page-loading-status
Feature/host page loading status
2018-09-10 23:43:09 -07:00
Deniz Kusefoglu 786d310008 Add loading status indicator to HostsPage
Convert HostsPage and HostsTable to typescript

Display page-spinner if hostpage in loading state

Add error state to HostsPage

Fix tests for HostsPage

Update Changelog

Add missing type definitions to HostsTable
2018-09-10 23:24:09 -07:00
Alirie Gray 5465a53021
Merge pull request #4409 from influxdata/flux/fix-save-flux-query-in-ceo
Update service in CEO when Time Machine renders
2018-09-10 16:50:23 -07:00