Commit Graph

9207 Commits

Author SHA1 Message Date
David Kaltschmidt
546a3a9d98 Connect Explore child components to store 2019-01-15 20:04:01 +01:00
David Kaltschmidt
607f7c25de Update comments 2019-01-15 20:03:59 +01:00
David Kaltschmidt
f02f41c9b0 Move types to types/explore 2019-01-15 20:03:57 +01:00
David Kaltschmidt
be172d3e4a Save state in URL and fix tests 2019-01-15 20:03:55 +01:00
David Kaltschmidt
68c039b289 Allow multiple Explore items for split 2019-01-15 20:03:53 +01:00
David Kaltschmidt
2be2deddb8 WIP Explore redux migration 2019-01-15 20:03:51 +01:00
Hugo Häggmark
5c9c024475 Fixed a bug with prefix and suffix not showing when using value mappings 2019-01-15 18:41:04 +01:00
Peter Holmberg
83fbf52aac fixing imports, minor fix on mapping row 2019-01-15 17:33:42 +00:00
Peter Holmberg
219da09f0e Merge branch 'master' into 14812/formgroup-component 2019-01-15 17:19:13 +00:00
Hugo Häggmark
6bb2d5ff24 Added suffix interpolation 2019-01-15 18:05:55 +01:00
Dominik Prokop
b7451bc774
Merge pull request #14894 from grafana/grafana-ui/move-spectrum
Move ColorPicker leftovers to @grafana/ui
2019-01-15 17:57:24 +01:00
Hugo Häggmark
1faa5819a8 Initial commit 2019-01-15 17:15:46 +01:00
Daniel Lee
3bdd4a5c33 changelog: adds note for #14795 2019-01-15 17:14:58 +01:00
Daniel Lee
8e771f9a8f
Merge pull request #14876 from grafana/davkal/14795-annotation-step
Prometheus: Fix annotation step calculation
2019-01-15 17:12:07 +01:00
Dominik Prokop
89a0d1090d Move ColorPicker leftovers to @grafana/ui 2019-01-15 15:43:17 +01:00
Johannes Schill
d59f1fe629 fix: It should be possible to scroll in the unit picker before selecting a value #14871 2019-01-15 14:15:04 +01:00
Torkel Ödegaard
33feb26fb5 WIP: good progress on react query editor support 2019-01-15 11:40:12 +01:00
Daniel Lee
16881f64dd
Merge pull request #14751 from grafana/reactify-stackdriver
Reactify stackdriver
2019-01-15 00:08:56 +01:00
Daniel Lee
7b1aed6caf stackdriver: converts some variables from any to types 2019-01-14 23:43:31 +01:00
Peter Holmberg
ac62e4a992 FormGroup component and implements 2019-01-14 22:09:06 +00:00
Torkel Ödegaard
6b4dcb38ea Restored http settings directive that was hidden in an unused angular controller page 2019-01-14 21:21:58 +01:00
Daniel Lee
18abb87cbb stackdriver: small fixes after reactifying 2019-01-14 18:23:01 +01:00
Daniel Lee
b4a51ad7ce stackdriver: add help text for bucket alias 2019-01-14 17:52:06 +01:00
David Kaltschmidt
ce3117507a Prometheus: Fix annotation step calculation
- since e731c248d7 step calculation for
annotation queries was broken
- this change puts the interval in the correct parameter so it gets
considered in `createQuery`
- added tests
2019-01-14 17:40:47 +01:00
Daniel Lee
d7a3f91b3c stackdriver: fixes space before caret icon in query editor 2019-01-14 17:25:43 +01:00
Marcus Efraimsson
130e4aa666
Merge pull request #14608 from marefr/es_bucket_script
Fix support bucket script pipeline aggregations
2019-01-14 15:58:42 +01:00
Daniel Lee
a2f6c503a2 Merge remote-tracking branch 'origin/master' into reactify-stackdriver 2019-01-14 15:48:13 +01:00
Torkel Ödegaard
0260c779e8 wip: another wip commit 2019-01-14 15:44:58 +01:00
Torkel Ödegaard
23f84ba5c5 Merge branch 'master' into react-query-editor 2019-01-14 15:39:05 +01:00
Torkel Ödegaard
574760c7e1
Merge pull request #14869 from grafana/clean-ups-and-moves
Clean ups and moves
2019-01-14 15:38:28 +01:00
Torkel Ödegaard
c41171d451
Merge pull request #14859 from grafana/fix/gauge-sizing
Fixed Gauge being cropped when resizing panel
2019-01-14 15:21:42 +01:00
Torkel Ödegaard
827a292777 Moved panel editing components to it's own folder 2019-01-14 15:17:48 +01:00
Torkel Ödegaard
b9a3239edb removed old unused angular stuff, rename 2019-01-14 15:01:47 +01:00
Torkel Ödegaard
0644410b99 wip: react query editors 2019-01-14 14:55:22 +01:00
Dominik Prokop
0c8f0416a0 Move panel width/height calculation to PanelChrome 2019-01-14 14:47:41 +01:00
Torkel Ödegaard
37c5ced009 Updated singlestat to use new value format function syntax and capitalized unit categories, fixes #12871 2019-01-14 14:03:08 +01:00
Dominik Prokop
b3b1c21d77 Fixed Gauge being cropped when resizing panel
Enabled import of SASS viariables into TS
2019-01-14 09:45:55 +01:00
Torkel Ödegaard
9e0f961fd5 updated snapshot 2019-01-13 12:51:21 +01:00
Torkel Ödegaard
c11ec79056 Minor renames and other fixes 2019-01-13 12:42:21 +01:00
Torkel Ödegaard
5b59d59afa panel option section moved to grafana-ui and new panel option grid component 2019-01-12 21:43:41 +01:00
Torkel Ödegaard
1cc6d0e787
Merge pull request #14716 from grafana/kbn-formats-refactor
WIP: Move value formats to @grafana/ui
2019-01-12 19:43:08 +01:00
Torkel Ödegaard
10bbb32d00
Merge pull request #14842 from grafana/time-overrides-test
Panel time override tests
2019-01-12 19:36:23 +01:00
Dominik Prokop
7289e6e500 Addedd assertions about raw time range when panel time overriden 2019-01-11 16:49:29 +01:00
Dominik Prokop
c3fdc1a0fb Panel time override tests 2019-01-11 16:21:44 +01:00
Erik Sundell
b6171fa3c7 add feedback to what interval is being used (calculated in the backend) 2019-01-11 15:14:35 +01:00
Erik Sundell
e73d363129 Merge remote-tracking branch 'origin/master' into reactify-stackdriver
# Conflicts:
#	public/app/core/angular_wrappers.ts
#	yarn.lock
2019-01-11 15:12:29 +01:00
Torkel Ödegaard
ba9d5115d2 Merge branch 'master' into kbn-formats-refactor 2019-01-11 14:33:04 +01:00
Erik Sundell
b596550210 use typings for ds and template srv 2019-01-11 13:53:04 +01:00
Torkel Ödegaard
9e6411bf4b value formats: another rename and updates code to use new valueFormats func 2019-01-11 13:31:25 +01:00
Hugo Häggmark
d97cd450c9 Merge 2019-01-11 11:41:08 +01:00
Hugo Häggmark
d2b71cff37 Reverted move of defaults for GaugePanelOptions 2019-01-11 11:25:49 +01:00
Erik Sundell
3871ef29f9 refactoring alias by 2019-01-11 10:29:53 +01:00
Dominik Prokop
391253ee2d Merge branch 'master' into grafana-ui/select 2019-01-11 09:52:26 +01:00
Dominik Prokop
537e2534a6 Move Select styles to grafana/ui 2019-01-11 09:50:05 +01:00
Torkel Ödegaard
11ad92c08e
Merge pull request #14831 from grafana/fix/time-range-overrides
Fix panel time overrides not being applied fully
2019-01-11 09:38:15 +01:00
Torkel Ödegaard
fda0f92cf9
Merge pull request #12991 from pgiraud/repeat_min_span
Repeating panels - Max per row
2019-01-11 09:31:21 +01:00
Hugo Häggmark
5ceedc4ac4 Moved defaultProps to ui/components 2019-01-11 09:16:53 +01:00
Torkel Ödegaard
6d669e2c74
Merge branch 'master' into 14793/loading-placeholder-to-grafanaui 2019-01-11 09:10:49 +01:00
Hugo Häggmark
c54ec5f52f Moved the rest of Threshold dependencies to ui/components 2019-01-11 08:30:30 +01:00
Hugo Häggmark
0b6e21e9ac Renamed Thresholds to ThresholdsEditor 2019-01-11 07:12:53 +01:00
Hugo Häggmark
1581662a6c Moved Thresholds and styles to grafana/ui/components 2019-01-11 07:11:40 +01:00
Hugo Häggmark
dc9b83030f Removed default export for colors 2019-01-11 07:03:12 +01:00
Hugo Häggmark
d376fae393 Moved colorpicker to ui/components 2019-01-11 07:03:12 +01:00
Peter Holmberg
2f0ab99ae5 Fixing test and small refactor 2019-01-10 22:15:37 +00:00
Peter Holmberg
08ac2959a4 Moving to grafana ui, fix issue with TestRuleResult 2019-01-10 21:47:09 +00:00
Torkel Ödegaard
7e106b0f49
Merge pull request #14805 from SamuelToh/11503_prevent_end_of_regexpr
11503: escape measurement filter regex value
2019-01-10 20:29:07 +01:00
Dominik Prokop
60fadcf1e5 Fix panel time overrides not being applied fully
When both relative and time shift were applied, only time shift was taken into consideration
2019-01-10 20:15:03 +01:00
Erik Sundell
b64115e5f5 access scope directly from this. update tests 2019-01-10 17:18:24 +01:00
Dominik Prokop
53f0f08efa Fixing TS and updating snapshot 2019-01-10 14:24:24 +01:00
Erik Sundell
6a2f5eb61e refactoring. fix broken test 2019-01-10 13:49:11 +01:00
Dominik Prokop
7819529d45 Migrate Select components to @grafana/ui 2019-01-10 13:29:53 +01:00
Erik Sundell
5fed50713d provide angular directive scope props correctly 2019-01-10 12:02:38 +01:00
Torkel Ödegaard
4c42db9e95
Merge pull request #14804 from SamuelToh/4075_support_templatevar_on_alias_es_ds
4075: Interpolate tempvar on alias
2019-01-10 07:24:17 +01:00
Torkel Ödegaard
b25214bfe1
Merge pull request #14786 from grafana/14729-move-testrulebutton-to-toolbar
14729 move testrulebutton to toolbar
2019-01-10 07:11:45 +01:00
SamuelToh
9e3ab71e40 11503: escape measurement filter regex value 2019-01-10 10:47:22 +10:00
SamuelToh
e1f6870fce 4075: Interpolate tempvar on alias 2019-01-10 09:53:06 +10:00
Peter Holmberg
13e6d2c5cb fixing unitpicker 2019-01-09 22:05:29 +00:00
Peter Holmberg
78fe2db5e5 removing tests 2019-01-09 21:35:01 +00:00
Peter Holmberg
cf4f98857a Merge branch 'master' into move-value-formats 2019-01-09 21:13:53 +00:00
Torkel Ödegaard
032d69fc21
Merge pull request #14801 from grafana/reorganize-gauge-panel
Minor refactor of Gauge panel
2019-01-09 18:26:17 +01:00
Torkel Ödegaard
ddaec8db58
Merge pull request #14796 from grafana/14271-tooltip-themes
feat: Tooltip theme and use it on panel edit tabs
2019-01-09 17:36:49 +01:00
Dominik Prokop
cdc99e129f React graph panel options component rename 2019-01-09 17:21:14 +01:00
Dominik Prokop
1618e90844 Minor refactor of Gauge panel 2019-01-09 17:00:10 +01:00
Johannes Schill
d8a91fa355 feat: Add brand as tooltip theme and use it on panel edit tabs #14271 2019-01-09 15:36:53 +01:00
Torkel Ödegaard
ba19773347
Merge pull request #14792 from grafana/adios-scrollbar
chore: Remove ScrollBar component, superseded by CustomScrollbar
2019-01-09 14:51:33 +01:00
Erik Sundell
23996b364e fix broken test 2019-01-09 14:44:47 +01:00
Erik Sundell
92121cacd1 Merge remote-tracking branch 'origin/master' into reactify-stackdriver
# Conflicts:
#	yarn.lock
2019-01-09 14:33:41 +01:00
Johannes Schill
6ab1abc131 chore: Remove ScrollBar component, superseded by CustomScrollbar 2019-01-09 14:02:22 +01:00
Erik Sundell
d51f91f54b unregister event listener correctly 2019-01-09 13:56:15 +01:00
Hugo Häggmark
236d7b1213 Changes after PR comments 2019-01-09 13:20:50 +01:00
Dominik Prokop
525367c591 Merge branch 'master' into fix-toggle-button-group-corners 2019-01-09 13:15:34 +01:00
Torkel Ödegaard
34c4e245f3
Merge pull request #14775 from grafana/14759-customscrollbar2grafanaui
chore: Move CustomScrollbar to @grafana/ui #14759
2019-01-09 12:28:30 +01:00
Hugo Häggmark
67e8958aec Fixed a small bug when toggling items in toolbar 2019-01-09 11:49:17 +01:00
Hugo Häggmark
9b8a5333cb Added tests for TestRuleButton 2019-01-09 11:39:56 +01:00
Hugo Häggmark
8b8af6436c Removed Test Rule button from Angular and view 2019-01-09 11:38:10 +01:00
Hugo Häggmark
e2fe663dba Added TestRuleButton 2019-01-09 11:34:22 +01:00
Pierre GIRAUD
f374da032e
Hint for user on when the repeat is applied 2019-01-09 11:34:13 +01:00
Pierre GIRAUD
97b087f5a5
Use factors for max repeated panels per row 2019-01-09 11:17:48 +01:00
Dominik Prokop
0b4d212bd2 Fixing TS errors and updating snapshot 2019-01-09 10:56:40 +01:00
Dominik Prokop
fae8ff5750 Move Portal to @grafana/ui 2019-01-09 10:55:38 +01:00
Johannes Schill
702e1b01bb chore: Move sass code related to custom scrollbar into @grafana/ui #14759 2019-01-09 10:35:03 +01:00
Dominik Prokop
076defdc0b Post merge updates 2019-01-09 10:33:20 +01:00
ijin08
7133b79928 Merge branch 'master' into 14773-light-theme-page-bg 2019-01-09 10:21:48 +01:00
Dominik Prokop
1e7f3f2892 Merge branch 'master' into grafana-ui/tooltip 2019-01-09 10:19:45 +01:00
Johannes Schill
6ac25d41fa chore: Move CustomScrollbar to @grafana/ui #14759 2019-01-09 09:49:45 +01:00
ijin08
fb76f41a15 changed light theme page background gradient 2019-01-09 09:42:30 +01:00
Pierre GIRAUD
a881497908
Max number of repeated panels per row
Instead of min width
2019-01-09 08:01:42 +01:00
Dominik Prokop
79c6fdc0e8 wip 2019-01-08 20:51:00 +01:00
Torkel Ödegaard
a9808ef518
Merge pull request #14763 from grafana/14528-panel-errors
Panel errors
2019-01-08 17:41:31 +01:00
Dominik Prokop
22c9ce7de8 Make tooltips persistent when hovered 2019-01-08 17:01:50 +01:00
Erik Sundell
ae50d83608 update snapshot 2019-01-08 16:21:38 +01:00
Erik Sundell
6c00f3e511 add form grow 2019-01-08 16:08:09 +01:00
Johannes Schill
12a3edd6e5 fix: Clean up per PR feedback. Thanks @dprokop 2019-01-08 16:04:46 +01:00
Torkel Ödegaard
badd00d962
Merge pull request #14768 from grafana/14729-move-alerttab-and-statehistory
Moved AlertTab and StateHistory to app/features/alerting
2019-01-08 15:57:43 +01:00
Peter Holmberg
38dcbeb2fd removing duplicated things 2019-01-08 15:56:01 +01:00
Torkel Ödegaard
df83c4650d minor code refactor 2019-01-08 15:54:52 +01:00
Hugo Häggmark
8d210afd76 Moved AlertTab and StateHistory to app/features/alerting 2019-01-08 15:18:29 +01:00
Johannes Schill
bf478a40b1 fix: When loki is default data source, datasource is passed as undefined to QueryOptions #14667 2019-01-08 14:58:57 +01:00
Erik Sundell
d215eecf63 remove redundant max-width. it's already declared in gf-form-select-box__menu-list 2019-01-08 14:05:30 +01:00
Erik Sundell
b8c2ba3320 add typing for metric descriptor 2019-01-08 14:03:52 +01:00
Dominik Prokop
e03461cea2 Removed unused Popover component 2019-01-08 13:54:54 +01:00
Dominik Prokop
ec904cf662 Update components to fit updated PopperController API 2019-01-08 13:53:59 +01:00
Erik Sundell
8867d8e99c make templateSrv a prop 2019-01-08 13:52:19 +01:00
Dominik Prokop
de4e1a91f7 Refactored withPoper HOC to PopperController using render prop 2019-01-08 13:44:10 +01:00
Erik Sundell
dc7f98de6a use correct event handler name convention. register directive on startup 2019-01-08 13:37:08 +01:00
Johannes Schill
f428db282c fix: Remove the onRenderError prop and add an ErrorBoundary component 2019-01-08 13:32:08 +01:00
Erik Sundell
f9f51d6819 replace fragment with empty jsx tags 2019-01-08 13:00:31 +01:00
Erik Sundell
e71e2b3035 refactoring tests 2019-01-08 12:52:47 +01:00
Erik Sundell
803d546c70 ugly fix. will be removed later on 2019-01-08 12:44:43 +01:00
Daniel Lee
f95b4b3882
Merge pull request #14735 from challengerdeep/14581_fix-stackdriver-series-aggregation-merge
Fix stackdriver aggregation series merge
2019-01-08 10:40:37 +01:00
Johannes Schill
bcb94cc0ec fix: GraphPanel should be a PureComponent 2019-01-08 10:30:00 +01:00
Erik Sundell
d6e7fccc97 fix more broken tests 2019-01-08 10:00:10 +01:00
Johannes Schill
4f943687d8 feat: Display error when plot fail to render 2019-01-08 09:55:23 +01:00
Erik Sundell
c964d6d7ef wip: fix broken tests 2019-01-08 08:51:34 +01:00
Dominik Prokop
96be5fe8a3 Remove the jump effect on run query button
Caused by the return and loading spinner icons having different widths. Used fa-fw helper class to ensure fixed width on icons. Also, made the spacing between icon and button label slightly smaller, as the rotated level-down icon used as return icon has significantly smaller width compared to the loading spinner and it looked oddly far from the label as compared to timepicker's icon
2019-01-07 15:26:43 +01:00
Erik Sundell
87cb3d4caa ugly temporary fix for scope issue. will be removed later on 2019-01-07 14:52:36 +01:00
Erik Sundell
e75aec9954 refactoring 2019-01-07 14:51:20 +01:00
Erik Sundell
e61fa37db4 fix filter bug 2019-01-07 14:15:53 +01:00
Erik Sundell
49144f07e4 Merge branch '14293-metric-display-names' into reactify-stackdriver
# Conflicts:
#	public/app/plugins/datasource/stackdriver/partials/query.aggregation.html
#	public/app/plugins/datasource/stackdriver/partials/query.editor.html
#	public/app/plugins/datasource/stackdriver/partials/query.filter.html
#	public/app/plugins/datasource/stackdriver/query_aggregation_ctrl.ts
#	public/app/plugins/datasource/stackdriver/query_ctrl.ts
#	public/app/plugins/datasource/stackdriver/query_filter_ctrl.ts
#	public/app/plugins/datasource/stackdriver/specs/query_aggregation_ctrl.test.ts
2019-01-07 13:59:36 +01:00
Johannes Schill
0b89f81609 fix: Light theme corner bg color update 2019-01-07 13:56:36 +01:00
Erik Sundell
4d07f56354 set max width on the whole menu list instead 2019-01-07 13:46:15 +01:00
Erik Sundell
9ec6831713 bind array instead of function 2019-01-07 13:37:39 +01:00
Johannes Schill
79fd8a7eda feat: Add "theme" to Tooltip 2019-01-07 13:31:50 +01:00
Johannes Schill
dadbaccfeb Notify user on query error 2019-01-07 13:29:10 +01:00
Erik Sundell
92d6442948 Revert "Revert "add max width to group header description""
This reverts commit d25138060f.
2019-01-07 11:44:10 +01:00
Erik Sundell
d25138060f Revert "add max width to group header description"
This reverts commit 86a39183ee.
2019-01-07 11:27:48 +01:00
Erik Sundell
7b4b1a4f90 remove not used property 2019-01-07 11:26:06 +01:00
Erik Sundell
899811a934 fix broken tests 2019-01-07 11:26:06 +01:00
Erik Sundell
126ceb9780 use correct type for select option 2019-01-07 11:26:06 +01:00
Erik Sundell
4928984825 set issearchable default value to true 2019-01-07 11:26:06 +01:00
Erik Sundell
102a130a2d make variable type more slim 2019-01-07 11:26:06 +01:00
Erik Sundell
786df7920e remove group name from select component. let the parent set group name instead 2019-01-07 11:26:06 +01:00
Erik Sundell
03856b4e55 move component to components dir. also move directive registration out from datasource 2019-01-07 11:26:06 +01:00
Erik Sundell
58bea1de79 add template variable type 2019-01-07 11:26:06 +01:00
Erik Sundell
96d65b55b6 rename template variables prop 2019-01-07 11:26:06 +01:00
Erik Sundell
ff762c213f rename selected prop 2019-01-07 11:26:06 +01:00
Erik Sundell
3ca5abf5e9 rename searchable prop 2019-01-07 11:26:06 +01:00
Erik Sundell
1e5f2f56e0 improve component performance 2019-01-07 11:26:05 +01:00
Erik Sundell
86a39183ee add max width to group header description 2019-01-07 11:26:05 +01:00
Erik Sundell
5eb22388c3 remove debug logging 2019-01-07 11:26:05 +01:00
Erik Sundell
243c4bfe29 rollback test state to before template variables were added 2019-01-07 11:26:05 +01:00
Erik Sundell
2b8185cb80 cleanup 2019-01-07 11:26:05 +01:00
Erik Sundell
02b745f106 move template variable logic to component 2019-01-07 11:26:05 +01:00
Erik Sundell
d42e39a072 remove extra arrow div 2019-01-07 11:26:05 +01:00
Erik Sundell
bdf2573db9 fix condition that expands group if it has a selected child. also make it possible to pass expanded as a prop 2019-01-07 11:26:05 +01:00
Erik Sundell
93bc7e8fa5 align input widths 2019-01-07 11:26:05 +01:00
Erik Sundell
b9b25e766f remove console log 2019-01-07 11:26:05 +01:00
Erik Sundell
a441251cf5 rename directive 2019-01-07 11:26:04 +01:00
Erik Sundell
b385c105fe remove linebreak 2019-01-07 11:26:04 +01:00
Erik Sundell
793d3d9afa remove old group heading 2019-01-07 11:26:04 +01:00
Erik Sundell
07f0d90718 use new generic picker 2019-01-07 11:26:04 +01:00
Erik Sundell
1090e0ae2f remove on metric type change 2019-01-07 11:26:04 +01:00
Erik Sundell
de9ace731d fix remove filter bug 2019-01-07 11:26:04 +01:00
Erik Sundell
d632be849a use same color for label as in explore dropdown 2019-01-07 11:26:03 +01:00
Erik Sundell
329d4652fb cleanup query filter 2019-01-07 11:26:03 +01:00
Erik Sundell
b683a19ff6 update failing tests 2019-01-07 11:26:03 +01:00
Erik Sundell
2bc38b7907 remove redundant default value 2019-01-07 11:26:03 +01:00
Erik Sundell
caedbc67b8 use new option group in aggregation directive 2019-01-07 11:26:03 +01:00
Erik Sundell
eea91d2885 remove redundant default value 2019-01-07 11:26:03 +01:00
Erik Sundell
1f3f336352 wip: add option group component 2019-01-07 11:26:02 +01:00
Erik Sundell
d75860a72c wip: add basic option header 2019-01-07 11:26:02 +01:00
Erik Sundell
ad4f39101a Wrap react select component in angular directive 2019-01-07 11:26:02 +01:00
Torkel Ödegaard
85ecf54751 updated scrollbar snapshot 2019-01-07 11:19:44 +01:00
Erik Sundell
4340e81605 remove not used files 2019-01-07 11:06:36 +01:00
Torkel Ödegaard
cfa3e05eee
Merge pull request #14745 from grafana/legend-firefox-fix
Fixed issue with cut legend in firefox & mobile devices,
2019-01-07 08:20:37 +01:00
Torkel Ödegaard
179b19c71b Fixed issue with cut legend in firefox & mobile devices, fixes #14744 and #14489 2019-01-06 17:03:38 +01:00
Simon Podlipsky
c39dc1fb15 Some cleanup 2019-01-05 15:25:07 +01:00
Michael Inthilith
9759ee53ca Add mean on distribution as well 2019-01-04 16:58:27 +01:00
Michael Inthilith
1eca81139b Fix stackdriver aggregation series merge
Fixes #14581
2019-01-04 16:05:17 +01:00
Torkel Ödegaard
2de57f095c
Merge pull request #14707 from grafana/14388/alert-tab-ux-update
Alert tab ux update
2019-01-04 12:53:08 +01:00
Torkel Ödegaard
e0c28ba770 Minor refactoring of EditorTabBody 2019-01-04 12:38:50 +01:00
Simon Podlipsky
35f6f50f40 Fixed timepicker css issue introduced by PR #14700 and remove hotfix from 297241c 2019-01-04 12:24:22 +01:00
Torkel Ödegaard
f749ced36e AlertTab style fixes 2019-01-04 12:18:49 +01:00
Torkel Ödegaard
2eeba9dae1 Updated alert tab layout & markup 2019-01-04 11:57:16 +01:00
Torkel Ödegaard
769e9f2d8e
Merge pull request #14725 from grafana/14719/gauge-issues
14719/gauge issues
2019-01-04 10:57:03 +01:00
Torkel Ödegaard
0ca0670e00 Changed datasource list page default layout mode 2019-01-04 09:58:24 +01:00
Torkel Ödegaard
297241c4ab Fixed timepicker css issue introduced by PR #14700 2019-01-04 09:35:16 +01:00
Erik Sundell
0c178f8623 cleanup 2019-01-03 16:21:20 +01:00
Erik Sundell
cc7b754e77 add aggregation tests 2019-01-03 16:00:42 +01:00
Erik Sundell
d23c3d2b64 add tests 2019-01-03 15:12:03 +01:00
Peter Holmberg
44e2fd4b22 Fix issue with value disappearing when selecting stat 2019-01-03 14:31:45 +01:00
Peter Holmberg
4892d3f54b Fixing issue with value color being wrong 2019-01-03 14:21:58 +01:00
Peter Holmberg
168b8c389d Merge remote-tracking branch 'origin/master' into 14388/alert-tab-ux-update 2019-01-03 11:29:03 +01:00
Torkel Ödegaard
5d3f4422c5 initial design for way to build value formats lazily and a backward compatability layer via Proxy 2019-01-03 09:39:46 +01:00
Erik Sundell
3ce4287e8c fix template variable bug 2019-01-03 09:15:49 +01:00
Erik Sundell
93d2588c22 remove not used file 2019-01-02 20:58:03 +01:00
Torkel Ödegaard
a7d4e6caa3
Merge pull request #14699 from grafana/davkal/fix-14398
Explore: Remember last used datasource
2019-01-02 18:59:44 +01:00
Peter Holmberg
6b5f9d5821 clear history 2019-01-02 16:07:29 +01:00
Erik Sundell
1ab9fc871c cleanup. remove comments, not used files etc 2019-01-02 15:35:36 +01:00
Peter Holmberg
e7d9bbf781 state history tab 2019-01-02 15:22:22 +01:00
Erik Sundell
0e49225d1d merge from 14293-metric-display-names 2019-01-02 15:07:38 +01:00
Erik Sundell
b7503407e6 fix broken tests 2019-01-02 13:03:21 +01:00
Erik Sundell
4dbd113e20 use correct type for select option 2019-01-02 13:03:21 +01:00
Erik Sundell
b22bf9359f set issearchable default value to true 2019-01-02 13:03:21 +01:00
Erik Sundell
681f1f31e1 make variable type more slim 2019-01-02 13:03:21 +01:00
Erik Sundell
d741295795 remove group name from select component. let the parent set group name instead 2019-01-02 13:03:21 +01:00
Erik Sundell
e180cf54ce move component to components dir. also move directive registration out from datasource 2019-01-02 13:03:20 +01:00
Erik Sundell
4662335f80 add template variable type 2019-01-02 13:03:20 +01:00
Erik Sundell
70071e5dad rename template variables prop 2019-01-02 13:03:20 +01:00
Erik Sundell
cf50cf167c rename selected prop 2019-01-02 13:03:20 +01:00
Erik Sundell
ed673d35f5 rename searchable prop 2019-01-02 13:03:20 +01:00
Erik Sundell
e4d18a1933 improve component performance 2019-01-02 13:03:20 +01:00
Erik Sundell
5f8ccfb9a0 add max width to group header description 2019-01-02 13:03:20 +01:00
Erik Sundell
53ac3c8fd2 remove debug logging 2019-01-02 13:03:20 +01:00
Erik Sundell
c70e90cb48 rollback test state to before template variables were added 2019-01-02 13:03:20 +01:00
Erik Sundell
01fc950511 cleanup 2019-01-02 13:03:19 +01:00
Erik Sundell
00a763511e move template variable logic to component 2019-01-02 13:03:19 +01:00
Erik Sundell
3f05364eb9 remove extra arrow div 2019-01-02 13:03:19 +01:00
Erik Sundell
e7670cacf4 fix condition that expands group if it has a selected child. also make it possible to pass expanded as a prop 2019-01-02 13:03:19 +01:00
Erik Sundell
9715260151 align input widths 2019-01-02 13:03:19 +01:00
Erik Sundell
3afe8a0763 remove console log 2019-01-02 13:03:18 +01:00
Erik Sundell
55f558cb7c rename directive 2019-01-02 13:03:18 +01:00
Erik Sundell
843e9fb4dc remove linebreak 2019-01-02 13:03:18 +01:00
Erik Sundell
566001aaf2 remove old group heading 2019-01-02 13:03:18 +01:00
Erik Sundell
4734788db4 use new generic picker 2019-01-02 13:03:17 +01:00
Erik Sundell
478cfc195a remove on metric type change 2019-01-02 13:03:17 +01:00
Erik Sundell
014457c486 fix remove filter bug 2019-01-02 13:03:17 +01:00
Erik Sundell
85a434568f use same color for label as in explore dropdown 2019-01-02 13:03:17 +01:00
Erik Sundell
f68db4eded cleanup query filter 2019-01-02 13:03:17 +01:00
Erik Sundell
b6c6cc1ff6 update failing tests 2019-01-02 13:03:17 +01:00
Erik Sundell
615fa6fc7d remove redundant default value 2019-01-02 13:03:16 +01:00
Erik Sundell
4d19ac5c02 use new option group in aggregation directive 2019-01-02 13:03:16 +01:00
Erik Sundell
406c0d15a5 remove redundant default value 2019-01-02 13:03:16 +01:00
Erik Sundell
b5d6cd1cc8 wip: add option group component 2019-01-02 13:03:16 +01:00
Erik Sundell
488e92e7f5 wip: add basic option header 2019-01-02 13:03:16 +01:00
Erik Sundell
70c2efd711 Wrap react select component in angular directive 2019-01-02 13:03:15 +01:00
David Kaltschmidt
757d6f322e s/initialDatasourceId/initialDatasource/ 2019-01-02 11:32:12 +00:00
Torkel Ödegaard
24ee10ca01
Merge pull request #14705 from grafana/panel-size-fixes
Fixed issues with panel size in edit mode, fixes #14703
2019-01-02 11:48:02 +01:00
Peter Holmberg
ce01bd696e add alert in react instead of angular 2019-01-02 10:57:12 +01:00
Torkel Ödegaard
9aef3f4fb1 Fixed issues with panel size in edit mode, fixes #14703 2019-01-02 10:54:57 +01:00
Peter Holmberg
d9c93e572e hide protip if not defined 2019-01-02 10:50:52 +01:00
Erik Sundell
fd88f637b2 fix filter bug 2019-01-02 09:41:26 +01:00
Erik Sundell
f9380a2634 add help text component 2019-01-02 09:36:32 +01:00
Torkel Ödegaard
9e91d91788
Merge pull request #14689 from grafana/davkal/loki-limit
Loki: query limit configurable in datasource
2019-01-01 15:38:59 +01:00
Torkel Ödegaard
46f9418605
Merge pull request #14696 from grafana/davkal/fix-14686
Logs data model: add more log levels
2019-01-01 15:37:37 +01:00
Torkel Ödegaard
940692189b
Merge pull request #14700 from simPod/timepicker
Tweak datetime picker layout for mobile
2019-01-01 15:33:28 +01:00
Simon Podlipsky
a5c05d273f Tweak datetime picker layout for mobile 2018-12-31 19:47:42 +01:00
David Kaltschmidt
67ebdcbcc3 Explore: Remember last use datasource
- use local storage to store last used database
- renamed `datasourceName` property to `initialDatasourceId` for consistency
- adapted tests
2018-12-31 18:30:32 +00:00
David Kaltschmidt
a364487b3a Logs data model: add more log levels
- add `eror` used in github.com/inconshreveable/log15 (used by Grafana as well)
- add levels from SYSLOG
2018-12-31 14:44:13 +00:00
David Kaltschmidt
f4b4ee3ff8 Review feedback 2018-12-31 14:10:45 +00:00
David
b712337a3b
Merge pull request #14693 from grafana/davkal/loki-single-query
Loki: change query row to be single field again
2018-12-31 14:55:44 +01:00
Torkel Ödegaard
75f9d173ff
Merge pull request #14691 from grafana/davkal/fix-14690
Explore: logging UI style fixes
2018-12-31 14:34:18 +01:00
David Kaltschmidt
652c149ca2 Explore: fix loading indicator z-index on panel container
- existing z-index placed the loading indicator above dropdowns of the panel children
- removed z-index for natural ordering
2018-12-31 12:55:03 +00:00
David Kaltschmidt
32438c4716 Loki: change query row to be single field again
- tried split selector and search for a week, and it did not feel natural
- keeping some of the original modifications in QueryField from splitting PR
- adapted CheatSheet and placeholder text
- added new label selector state: No labels found
2018-12-31 12:38:13 +00:00
David Kaltschmidt
39833b0df7 Explore: logging UI style fixes
- baseline aligment for meta field labels
- use variables for font sizes and margins
2018-12-31 12:05:07 +00:00
David Kaltschmidt
26a5e07737 Loki: query limit configurable in datasource
- Loki queries must contain a limit
- this change makes this limit configurable in the datasource
- keep default at 1000, add tooltip on why inc/dec makes sense
- added tests
2018-12-31 11:25:28 +00:00
Erik Sundell
5ba429387f reactify annotation query editor 2018-12-28 19:45:24 +01:00
Simon Podlipsky
d42f821c87 Update rxjs 2018-12-27 20:37:44 +01:00
Patrick Freeman
ca7f75f353 Fix general tab typos 2018-12-26 13:36:12 -05:00
Torkel Ödegaard
ce0dcd5cab Husky and sasslint fixes, fixes #14638 2018-12-25 20:20:59 +01:00
Torkel Ödegaard
66a13b281c Merge branch 'grafana-lib' 2018-12-25 19:26:46 +01:00
Torkel Ödegaard
98d26354c1 Added a form component to @grafana/ui 2018-12-25 11:42:23 +01:00
Torkel Ödegaard
2dfa3269c3 created visualizations folder 2018-12-25 10:20:20 +01:00
Torkel Ödegaard
493714c27d Fixed JQuery typing issues 2018-12-25 09:59:23 +01:00
Torkel Ödegaard
a38490f4b2 wip: moving react graph component to grafana/ui 2018-12-24 14:14:06 +01:00
Torkel Ödegaard
4b323d9879 Moved sass for component to @grafana/ui lib 2018-12-24 07:05:18 +01:00
Torkel Ödegaard
17de1f2887
Merge pull request #14646 from grafana/fix-dashboard-links
Fixed dashboard links not updating after variable or time range change
2018-12-23 20:41:51 +01:00
Torkel Ödegaard
0fd403a783
Merge pull request #14647 from grafana/explore-options-margin-increase
Increased margin between controls in logs panel
2018-12-23 17:45:49 +01:00
Torkel Ödegaard
a02b4b47b6 Moving a couple of types to @grafana/ui 2018-12-23 09:15:32 +01:00
Torkel Ödegaard
0ff572efbf Testing moving out one type to grafana/ui 2018-12-23 08:28:37 +01:00
Torkel Ödegaard
270d52495d Increased margin between controls in logs panel, fixes #14637 2018-12-23 07:18:11 +01:00
Torkel Ödegaard
002f57ae00 Fixed dashboard links not updating after variable or time range change, fixes #14493 2018-12-23 07:11:24 +01:00
Torkel Ödegaard
4bb8249ffc
Merge pull request #14627 from cykl/influxdb-timezone-clause
Add support for InfluxDB's time zone clause
2018-12-23 07:03:48 +01:00
Torkel Ödegaard
ef219dd72b
Merge pull request #14645 from grafana/fix-tooltip-placement
Fixed group button tooltip placement from auto to bottom
2018-12-23 07:00:56 +01:00
Torkel Ödegaard
41712c3957 Fixed group button tooltip placement from auto to bottom, fixes #14634 2018-12-23 06:46:26 +01:00
David Kaltschmidt
d1dec8bd44 Add timestamp back to log entry type 2018-12-22 17:36:35 +01:00
Dan Cech
b8fdacd81f
Update public/app/plugins/datasource/loki/result_transformer.ts
Co-Authored-By: davkal <david.kaltschmidt@gmail.com>
2018-12-22 17:28:51 +01:00
David Kaltschmidt
e694604be5 Loki: fix timestamp field
- timestamp was renamed to `ts` in grafana/loki#152
- renamed here in result transformer and tests
2018-12-22 17:19:58 +01:00
David
b2401e37fa
Merge pull request #14414 from grafana/davkal/explore-logging-search
Explore: Split logging query into selector and search
2018-12-22 17:00:57 +01:00
Torkel Ödegaard
9aa2764753 Fixed panel height & scroll issue with flexbox in firefox, fixes #14620 2018-12-22 08:58:08 +01:00
Erik Sundell
8a916757d7 remove segment srv prop 2018-12-21 23:28:21 +01:00
Erik Sundell
b9cf15786d use ds template srv reference 2018-12-21 23:21:55 +01:00
Erik Sundell
2f342b8917 remove not used stuff 2018-12-21 23:07:46 +01:00
Erik Sundell
31254e1c72 add event handler 2018-12-21 22:04:46 +01:00
Erik Sundell
0515605b9a add help component 2018-12-21 21:38:46 +01:00
Peter Holmberg
acf8390d57 note to future me 2018-12-21 14:57:54 +01:00
Peter Holmberg
4002f80ab8 delete works 2018-12-21 14:56:49 +01:00
Jürgen Kreileder
41eb0ba52e Add support for InfluxDB's time zone clause 2018-12-21 14:37:02 +01:00
Torkel Ödegaard
52f583fee7 @grafana/ui lib now contains one components, seperate lint & tsc steps 2018-12-21 14:23:32 +01:00
Torkel Ödegaard
2fec5c7577 Grafana ui lib is starting to work 2018-12-21 12:27:43 +01:00
Peter Holmberg
6aacd0734b typings and renamings 2018-12-21 11:57:21 +01:00
Peter Holmberg
25a46c60f1 Merge branch 'master' into 14388/alert-tab-ux-update 2018-12-21 11:25:09 +01:00
Torkel Ödegaard
6e66b2b906 breaking up grafana into multiple packages poc 2018-12-20 16:56:46 +01:00
Erik Sundell
e2ed163779 add project and help component 2018-12-20 16:55:02 +01:00
Erik Sundell
06f771afd3 add alias by component 2018-12-20 15:59:21 +01:00
Erik Sundell
861f911cda add alignment periods component 2018-12-20 13:36:10 +01:00
Erik Sundell
7a31076f09 cleanup aggregation picker 2018-12-20 13:27:47 +01:00
Erik Sundell
1452bc2e8a move alignment population code to parent component. make alignment a stateless component instead. 2018-12-20 11:26:05 +01:00
Erik Sundell
ec68c65660 flatten target obj 2018-12-20 11:00:16 +01:00
Torkel Ödegaard
f089c7ee5e Grafana ui library poc 2018-12-20 09:25:04 +01:00
Marcus Efraimsson
b45f72a140
elasticsearch: support bucket script pipeline aggregations 2018-12-20 01:24:36 +01:00
Kofi Jedamzik
281312ffcd Add units for blood sugar concentration 💉 2018-12-19 22:23:25 +01:00
Erik Sundell
095407c8cf on deselect when reducer is set to none 2018-12-19 21:08:38 +01:00
Erik Sundell
945b0aeb86 add alignment component 2018-12-19 17:12:50 +01:00
Torkel Ödegaard
2325c5dbed
Merge pull request #14603 from grafana/minor-angular-editmode-fix
Fixes undefined issue with angular panels and editorTabs
2018-12-19 17:09:23 +01:00
Torkel Ödegaard
5b83f6d49d Fixes undefined issue with angular panels and editorTabs 2018-12-19 17:00:26 +01:00
Erik Sundell
603ef1c37d refactor aggregation picker 2018-12-19 16:08:18 +01:00
Erik Sundell
9b1b4c09f5 use render props pattern 2018-12-19 15:54:45 +01:00
Torkel Ödegaard
71837fe137
Merge pull request #12681 from simPod/fix-variable-array-display
Fix array display from url
2018-12-19 14:34:21 +01:00
Erik Sundell
07dc9d06d7 use template variable prop 2018-12-19 14:29:00 +01:00
Erik Sundell
a955caa9ac cleanup 2018-12-19 14:19:27 +01:00
Torkel Ödegaard
d0f8d034df Quick refactoring of time picker styles, needs a much bigger redesign 2018-12-19 13:13:46 +01:00
Peter Holmberg
f3ba3b4df0 render editor toolbar buttons 2018-12-19 13:09:53 +01:00
Torkel Ödegaard
1260301099
Merge pull request #14589 from grafana/search-increase-recent-starred-limit
Increase recent and starred limit in search and home dashboard
2018-12-19 12:09:54 +01:00
Torkel Ödegaard
9e92609313
Merge pull request #14113 from cinaglia/fix-csv-decimal-places
Retain decimal precision when exporting CSV
2018-12-19 11:56:27 +01:00
Torkel Ödegaard
16ad0f65ea Increase recent and starred limit in search and home dashboard, closes #13950 2018-12-19 11:40:38 +01:00
Torkel Ödegaard
6154f89d96
Merge pull request #14587 from grafana/panel-help-fixes
Panel help view fixes
2018-12-19 11:25:12 +01:00
Torkel Ödegaard
d21b5899c1 Merge branch 'master' of github.com:grafana/grafana 2018-12-19 11:24:25 +01:00
Torkel Ödegaard
6542bfb83e Merge branch 'fix-misspell-issues' of https://github.com/mjtrangoni/grafana into mjtrangoni-fix-misspell-issues 2018-12-19 11:21:34 +01:00
Torkel Ödegaard
87cc3902b7
Merge pull request #14558 from hahnjo/flops
Add units for Floating Point Operations per Second
2018-12-19 11:11:14 +01:00
Torkel Ödegaard
8375c23de9
Merge pull request #14569 from grafana/14537/time-range-and-relative-time
Show current values for relative time and time shift
2018-12-19 11:05:42 +01:00
Torkel Ödegaard
60ea99078e Panel help view fixes 2018-12-19 11:03:54 +01:00
Peter Holmberg
2046309de5 rewrite angular view 2018-12-19 10:42:57 +01:00
Torkel Ödegaard
9fec202668
Merge pull request #14565 from grafana/panel-help-view
Panel help view
2018-12-19 10:25:02 +01:00
Torkel Ödegaard
5f2937431f
Merge pull request #14572 from grafana/develop-draggable-panel
Another take on resizing the panel, now using react-draggable
2018-12-19 10:07:45 +01:00
Erik Sundell
9e558b70d7 Merge branch '14293-metric-display-names' into reactify-stackdriver
# Conflicts:
#	public/app/plugins/datasource/stackdriver/partials/query.aggregation.html
#	public/app/plugins/datasource/stackdriver/partials/query.editor.html
#	public/app/plugins/datasource/stackdriver/partials/query.filter.html
#	public/app/plugins/datasource/stackdriver/query_aggregation_ctrl.ts
#	public/app/plugins/datasource/stackdriver/query_ctrl.ts
#	public/app/plugins/datasource/stackdriver/query_filter_ctrl.ts
#	public/sass/_grafana.scss
2018-12-19 09:21:35 +01:00
Johannes Schill
9cd0067187 Add min/max height when resizing and replace debounce with throttle 2018-12-19 09:08:56 +01:00
Carl Bergquist
854487acab
Merge pull request #14441 from cinaglia/delete-external-snapshot
Add support for deleting external snapshots from Snapshots List
2018-12-18 22:43:12 +01:00
Johannes Schill
a007730f5d Another take on resizing the panel, now using react-draggable 2018-12-18 17:22:30 +01:00
Erik Sundell
8e9cd83ee8 improve component performance 2018-12-18 16:56:16 +01:00
Erik Sundell
575d7f8941 add max width to group header description 2018-12-18 16:41:47 +01:00
Peter Holmberg
8f92e23e98 copy props to state to make it visible in the view 2018-12-18 16:39:59 +01:00
Erik Sundell
74c2b22a77 remove debug logging 2018-12-18 16:27:24 +01:00
Erik Sundell
3c2ab68290 rollback test state to before template variables were added 2018-12-18 16:19:49 +01:00
Erik Sundell
7ef0995257 cleanup 2018-12-18 16:09:32 +01:00
Erik Sundell
9507dfe13c move template variable logic to component 2018-12-18 16:01:12 +01:00
Erik Sundell
5a9dd620a6 remove extra arrow div 2018-12-18 15:58:33 +01:00
Peter Holmberg
659b5a3c15 refactor to not crash when no links 2018-12-18 15:30:34 +01:00
Peter Holmberg
bf7ba9a4d1 updating snaps 2018-12-18 14:54:50 +01:00
Peter Holmberg
95656e1e95 renaming component 2018-12-18 14:49:59 +01:00