Commit Graph

7563 Commits (7b0fefdacb2f0b128182e962248c28d7cc6d8f25)

Author SHA1 Message Date
Brandon Farmer 26e72a0dec Merge pull request #3903 from influxdata/log-viewer/reset-scroll
Add scroll reset and local storage defaults for log viewer
2018-07-12 15:47:40 -07:00
Brandon Farmer 8f360c8e5a Add scroll reset and local storage defaults for log viewer 2018-07-12 15:35:22 -07:00
Iris Scholten 81bbc0f74e Rename onSortChartBars to sortBarGroups 2018-07-12 15:26:56 -07:00
Iris Scholten 752e70f7ac Sort histogram bars and tooltip in the order of severity 2018-07-12 15:21:43 -07:00
Daniel Campbell d93455ef2e cleanup unused functions 2018-07-12 15:20:13 -07:00
Daniel Campbell 2f9d15bad0 truncate log message text 2018-07-12 15:07:41 -07:00
Alex P f5aaeac0a6 Merge branch 'master' into improve-clarity-play-button 2018-07-12 14:13:43 -07:00
Alex P e853caf3f9 Implement RadioButtons in Logs viewer header 2018-07-12 14:08:54 -07:00
Alex P 862cc45ade Allow icons to be used in radio buttons 2018-07-12 14:08:16 -07:00
Alex P 1db20007cc Bring back TimePeriod type 2018-07-12 13:41:17 -07:00
Alex P ccfeea5f7c Update Test Snapshots 2018-07-12 13:26:49 -07:00
Alex P 2ed5c110e6 Remove zoom and xbrush from histogram 2018-07-12 13:25:18 -07:00
Alex P 728b67ce0f Pass time up instead of entire bar group on click 2018-07-12 13:17:26 -07:00
Alex P 1309e1938e Remove unused import 2018-07-12 12:58:55 -07:00
Alex Paxton 8eb6eb494e Merge branch 'master' into logs-histogram-window 2018-07-12 12:55:41 -07:00
Daniel Campbell 5467ee754f Merge pull request #3891 from influxdata/fix/stale-dashboard-switcher
Fix stale dashboard switcher
2018-07-12 11:51:49 -07:00
Alex P 0469b8deca Update test snapshots 2018-07-12 11:44:43 -07:00
Alirie Gray f6cf0c6ab5 Fix tslint errors 2018-07-12 11:42:27 -07:00
Alex P e42a498ebc moar rebase 2018-07-12 11:36:21 -07:00
Alirie Gray 4d41d664d7 Switched value and color properties of log config in tests 2018-07-12 11:28:22 -07:00
Alirie Gray 933f669ed4 Switch name and value properties of severity color to match API data model 2018-07-12 11:28:22 -07:00
Alirie Gray a450242234 Refactor update functions for severity level and format to be async 2018-07-12 11:28:22 -07:00
Alirie Gray 5fae9f44a2 Rename log config link and remove obsolete variable assignments 2018-07-12 11:28:22 -07:00
Alirie Gray da46ca63dd Replace hard-coded log config data with call to server 2018-07-12 11:28:22 -07:00
Alex P 3eeb3931ca Merge remote-tracking branch 'origin/logs-histogram-window' into logs-histogram-window 2018-07-12 11:27:48 -07:00
Alex P 5ab84e4fec rebase 2018-07-12 11:24:11 -07:00
Alex P e349c9a86c Set time marker when user clicks bar in histogram
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-12 11:05:27 -07:00
Alex P 6efcc0c402 Add optional bar click behavior to histogram
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-12 11:04:57 -07:00
Alex P ca2e198e90 Add Tests for new time range reducers
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-12 11:01:38 -07:00
Alex P 3e377e0477 Make histogram zoom interaction optional
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-12 11:01:38 -07:00
Alex P c4372e2277 Fine tune placement and text of time selection dropdowns
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-12 10:58:03 -07:00
Alex P 849961a7aa Use vanilla date instead of moment to avoid warning
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-12 10:55:30 -07:00
Alex P 0501841fd2 Reorganize actions to be async
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-12 10:55:30 -07:00
Alex P c11105549d Use separate actions for updating Time Marker and Time Window
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-12 10:52:29 -07:00
Alex P fffe8c979a Rename components to be consistent 2018-07-12 10:49:44 -07:00
Alex P 19b0cba263 Update time range in proper format when either window or time are changed
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-12 10:49:44 -07:00
Alex P 934b39fe37 Separate time and window
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-12 10:49:44 -07:00
Alex P c36cc41705 Introduce time window dropdown and actions
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-12 10:43:35 -07:00
Delmer Reed b8ba510be3 Remove active link check in rename 2018-07-12 13:06:35 -04:00
Delmer Reed 82bc384591 Refactor switcher links updates into one method 2018-07-12 12:48:34 -04:00
Andrew Watkins 1da084db4e Replace use of errorThrown with newer notify action 2018-07-12 09:22:52 -07:00
Andrew Watkins 0bd0e47d39 Add test for bug 2018-07-12 09:05:02 -07:00
Andrew Watkins f5cb773e9e Use proper id in htmlFor prop 2018-07-12 08:41:50 -07:00
Delmer Reed 923a4ccc71 Add methods for dashboard changes 2018-07-12 11:38:37 -04:00
Delmer Reed 5514abc38f Add test for updating dashboard name link 2018-07-12 11:21:39 -04:00
Brandon Farmer af0c92a37b Merge pull request #3885 from influxdata/features/infinite-scroll
Initial log viewer infinite scroll behaviour
2018-07-11 22:06:09 -07:00
Brandon Farmer 93a8ea6baa Add types and extract constants for log viewer 2018-07-11 19:36:51 -07:00
Alex P d1e0a0b014 Set time marker when user clicks bar in histogram
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-11 19:16:18 -07:00
Alex P caa4453e7b Add optional bar click behavior to histogram
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-11 19:13:03 -07:00
Delmer Reed 77491fad71 Refactor link rename to update without fetching 2018-07-11 22:12:24 -04:00
Alex P 26dd668516 Add Tests for new time range reducers
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-11 18:52:07 -07:00
Alex P 04b014ed67 Make histogram zoom interaction optional
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-11 18:24:47 -07:00
Delmer Reed b16b8a27e1 Update active dashboard link after getting dashboard 2018-07-11 21:23:15 -04:00
Delmer Reed 982bd7eaff Fix stale dashboard on rename 2018-07-11 21:23:15 -04:00
Alex P dfdf29de06 Fine tune placement and text of time selection dropdowns
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-11 17:57:55 -07:00
Alex P ae5e30d479 Use vanilla date instead of moment to avoid warning
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-11 17:33:28 -07:00
Iris Scholten 4e5ac2eccd Merge pull request #3889 from influxdata/logs-viewer/regex-filter-out
Allow filtering out with regex in logs table
2018-07-11 16:37:11 -07:00
Iris Scholten 924383f586 Allow filtering out with regex in logs table 2018-07-11 16:18:33 -07:00
Alex P b375515cc0 Reorganize actions to be async
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-11 16:09:54 -07:00
Iris Scholten 0de537f213 Replace template value with temp var title if no values are found 2018-07-11 16:08:49 -07:00
Brandon Farmer 5b93a8934f Use proper application header value 2018-07-11 15:53:38 -07:00
Andrew Watkins c36f610c85 Merge pull request #3884 from influxdata/chore/single-stat
Add precision to gauge and fix single stat bugs
2018-07-11 15:18:40 -07:00
Delmer 78a3767e1e Merge pull request #3878 from influxdata/fix/data-explorer-table
Fix Data Explorer fetch cell data
2018-07-11 18:12:16 -04:00
Christopher Henn f9290924a3 Derive TextTemplateSelector state correctly 2018-07-11 15:10:56 -07:00
Christopher Henn 7bbd6e1e3d Appease the linting gods 2018-07-11 15:10:56 -07:00
Christopher Henn 6b92c0b5f1 Add tests 2018-07-11 15:10:56 -07:00
Christopher Henn fe69503c5c Refine input interaction 2018-07-11 15:10:56 -07:00
Christopher Henn 424cc88ba3 Introduce TextTemplateSelector 2018-07-11 15:10:56 -07:00
Christopher Henn 91a9abf528 Enable creation of text template variables 2018-07-11 15:10:56 -07:00
Christopher Henn b527050de2 Refactor onPickTemplate prop 2018-07-11 15:10:56 -07:00
Christopher Henn edb8b7ea64 Extract TemplateControl dropdown to component 2018-07-11 15:10:56 -07:00
Christopher Henn 839e240802 Rename TemplateControlDropdown to TemplateControl 2018-07-11 15:10:56 -07:00
Christopher Henn 9470aa4a45 Extract template control rendering to method 2018-07-11 15:10:56 -07:00
Alex P 83d8dd6669 Use separate actions for updating Time Marker and Time Window
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-11 15:00:31 -07:00
Alex P f5996ebe22 Rename components to be consistent 2018-07-11 14:57:56 -07:00
Andrew Watkins 81e00be6b7 Fix test 2018-07-11 14:48:45 -07:00
Brandon Farmer 7475542ea4 Log viewer infinite scrolling initial implementation
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-07-11 14:48:36 -07:00
Andrew Watkins 44a24e4634 Add precision to gauge and fix single stat bugs 2018-07-11 14:34:01 -07:00
Daniel Campbell a494795367 Merge pull request #3876 from influxdata/bugfix/nested-template-hydration
Hydrate nested templates consistently
2018-07-11 14:25:10 -07:00
Delmer Reed 1f2f4f9e48 Add handler for fetching query status 2018-07-11 17:14:26 -04:00
Brandon Farmer b1bb27bbee Initial duel load of log viewer data 2018-07-11 14:01:22 -07:00
Brandon Farmer 0e0a263993 Allow selection of single time from log viewer 2018-07-11 14:00:30 -07:00
Delmer Reed a94a00cd7f Add noop default to fetchTimeSeries
Layouts don't render with an `editQueryStatus` to dispatch. The noop is
required to have auto refreshing layouts.
2018-07-11 16:40:59 -04:00
Alex P b613c73975 Update time range in proper format when either window or time are changed
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-11 13:36:24 -07:00
Iris Scholten b5a07a5854 Merge pull request #3881 from influxdata/fix/tempVar-titles
Fix temp vars in title
2018-07-11 13:31:06 -07:00
Iris Scholten d64bd27480 Use localSelected temp var value instead of selected for name replacement 2018-07-11 13:22:04 -07:00
Delmer Reed 9ac7c21ee9 Update Table to include noop for fetching series 2018-07-11 15:50:08 -04:00
Delmer Reed 0354cbada8 Remove fetchTimeSeriesAsync 2018-07-11 14:58:51 -04:00
Delmer 4dab2232a3 Merge pull request #3866 from influxdata/fix/hosts-dashboard-header
Fix hosts links rendering
2018-07-11 14:56:55 -04:00
Christopher Henn 84646f00fa Handle conflicting template names edge case 2018-07-11 11:13:32 -07:00
Christopher Henn a58490207a Hydrate nested templates consistently 2018-07-11 10:55:08 -07:00
Christopher Henn e79f02c682 Move Promise.all call down stack 2018-07-11 10:54:55 -07:00
Christopher Henn 69b5eb9a5c Prevent infinite looping of API call 2018-07-11 10:44:42 -07:00
Christopher Henn d1fd2697a3 Remove superfluous try/catch block 2018-07-11 10:36:51 -07:00
Iris Scholten b0d22dcb33 Merge pull request #3873 from influxdata/logs-viewer/severity-colors
Logs viewer Configs - severity colors
2018-07-11 10:21:25 -07:00
Andrew Watkins 4d498eba75 Merge branch 'master' of github.com:influxdata/chronograf 2018-07-11 10:03:53 -07:00
Andrew Watkins d385e612f5 Fix decimal point form style 2018-07-11 10:03:33 -07:00
Iris Scholten 8bdc724a8b Remove nested if 2018-07-11 09:53:39 -07:00
Iris Scholten 3a863b9c46 Remove async and await from handle update ui config functions 2018-07-11 09:49:05 -07:00
Iris Scholten 84f7da0fa5 Remove stale comment 2018-07-11 09:49:05 -07:00