David Kaltschmidt
54c9beb146
Explore: jump to explore from panels with mixed datasources
...
- extends handlers for panel menu and keypress 'x'
- in a mixed-datasource panel finds first datasource that supports
explore and collects its targets
- passes those targets to the found datasource to be serialized for
explore state
- removed `supportMetrics` and `supportsExplore`
- use datasource metadata instead (set in plugin.json)
- Use angular timeout to wrap url change for explore jump
- Extract getExploreUrl into core/utils/explore
2018-10-01 12:03:57 +02:00
Daniel Lee
cf0189ab1a
stackdriver: no tags for annotations (yet)
...
fixes glitch where an empty tag shows up
2018-09-28 19:17:34 +02:00
Daniel Lee
296fd35d47
stackdriver: add help section for annotations
2018-09-28 19:12:50 +02:00
Daniel Lee
a1f486bbfa
stackdriver: revert an accidental commit for text template variable
...
with dummy change in readme to be able to make a commit
2018-09-28 18:19:57 +02:00
Daniel Lee
399e83f91b
stackdriver: remove metric.category alias pattern
...
After discussions with the Stackdriver team, they did not think this was
needed.
2018-09-28 17:16:35 +02:00
Erik Sundell
a25389332c
stackdriver: remove commented code
2018-09-28 17:11:06 +02:00
Erik Sundell
db8bbe3cad
stackdriver: unit test group by and aggregation dropdown changes
2018-09-28 17:06:24 +02:00
Erik Sundell
3572692fd5
stackdriver: make it impossible to select no aggregation when a group by is selected
2018-09-28 16:55:39 +02:00
Erik Sundell
cdcb14f3e6
Merge branch 'stackdriver-plugin' of https://github.com/grafana/grafana into stackdriver-plugin
2018-09-28 16:37:11 +02:00
Erik Sundell
fc1e214987
stackdriver: add relevant error message for when a user tries to create a template variable
2018-09-28 16:36:43 +02:00
Daniel Lee
aedd518186
Merge remote-tracking branch 'origin/stackdriver-plugin' into stackdriver-plugin
2018-09-28 16:34:28 +02:00
Daniel Lee
9b90b835b2
Merge remote-tracking branch 'origin/master' into stackdriver-plugin
2018-09-28 16:20:40 +02:00
Erik Sundell
31ddcdb37e
stackdriver: make sure labels are loaded when service is changed in dropdown
2018-09-28 16:20:16 +02:00
Erik Sundell
4abd04a5cf
stackdriver: use correct default value for alignment period
2018-09-28 15:23:13 +02:00
Erik Sundell
f384e577dd
stackdriver: fix reducer names
2018-09-28 15:11:33 +02:00
Erik Sundell
5bc6d857a7
stackdriver: broadcasting through $scope doesnt work anymore since query_filter_ctrl is now a sibling directive to query_aggregation_ctrl, so broadcasting is now done using $rootScope
2018-09-28 11:25:32 +02:00
Steve Kreitzer
55e4db5cfc
Adding AWS Isolated Regions
2018-09-27 19:58:07 -04:00
Erik Sundell
9351b56e57
stackdriver: fix alignment period bug
2018-09-27 15:59:17 +02:00
Erik Sundell
a028df658a
stackdriver: set first metric as selected if no metric could be retrieved from the target
2018-09-27 15:42:01 +02:00
Daniel Lee
03b43ab769
stackdriver: wip annotation support
2018-09-27 15:18:10 +02:00
Erik Sundell
26d9e9243a
stackdriver: resolve merge conflict
2018-09-27 15:14:01 +02:00
Erik Sundell
a3b0539754
stackdriver: update tests
2018-09-27 15:05:47 +02:00
Erik Sundell
81bdf86bf8
stackdriver: es6 style directive, avoid using scope
2018-09-27 15:05:26 +02:00
Erik Sundell
8ae72bce07
stackdriver: fix typescript error
2018-09-27 14:45:15 +02:00
Erik Sundell
a7897575b9
stackdriver: remove not needed alignment option
2018-09-27 14:43:30 +02:00
Daniel Lee
ea1859a374
stackdriver: extract out filter, metric type directive
2018-09-27 14:31:39 +02:00
Erik Sundell
92f50ca384
stackdriver: add unit tests to resolve unit function
2018-09-27 14:24:28 +02:00
Erik Sundell
251bb09aed
stackdriver: convert most common stackdriver units to grafana units if possible
2018-09-27 14:03:52 +02:00
Erik Sundell
e2bda4d321
stackdriver: fix typescript errors
2018-09-27 10:55:11 +02:00
Erik Sundell
b724ca5b93
stackdriver: pass interval from panel to backend
2018-09-27 10:42:28 +02:00
Daniel Lee
66c95991c1
Merge remote-tracking branch 'origin/master' into stackdriver-plugin
2018-09-26 17:59:56 +02:00
Erik Sundell
c3780d09d4
stackdriver: workaround for the fact the jest definitions does not include not
2018-09-26 17:56:45 +02:00
Erik Sundell
ed6d3bf6ed
stackdriver: WIP - implement stackdriver style auto alignment period. also return the used alignment period and display it in the query editor
2018-09-26 17:50:08 +02:00
Erik Sundell
af9033f3e0
stackdriver: distinct grafana auto from stackdriver auto in alignment period
2018-09-26 15:44:09 +02:00
Erik Sundell
cb90b638d7
stackdriver: remove montly from alignment periods
2018-09-26 15:22:07 +02:00
Erik Sundell
dde033c14a
stackdriver: add alignemnt period
2018-09-26 15:03:44 +02:00
Erik Sundell
b883d7c1f3
stackdriver: make sure service and metric display name is used instead of value when loading a saved query editor
2018-09-26 15:01:02 +02:00
Erik Sundell
2965f58838
stackdriver: use correct event name
2018-09-26 13:42:53 +02:00
Erik Sundell
85fce84087
stackdriver: fix broken tests
2018-09-26 13:39:03 +02:00
Erik Sundell
1a91e0baf6
stackdriver: update aggregation and alignment before refreshing when changing metric
2018-09-26 13:22:20 +02:00
Erik Sundell
508601c28c
stackdriver: use correct naming convention
2018-09-26 11:23:46 +02:00
Erik Sundell
186dcc001c
Merge branch 'stackdriver-plugin' of https://github.com/grafana/grafana into stackdriver-plugin
2018-09-26 11:17:52 +02:00
Erik Sundell
49cd31ab78
stackdriver: get value type and metric kind from metric descriptor instead of from latest metric result
2018-09-26 11:17:24 +02:00
Sven Klemm
9dbdc29118
filter NULL values for column value suggestions
2018-09-26 10:56:25 +02:00
Daniel Lee
0a77cd5569
stackdriver: adds on-change with debounce for alias by field
2018-09-26 00:33:18 +02:00
Erik Sundell
2d602bfcf3
stackdriver: improve aggregation logic
2018-09-25 17:03:10 +02:00
Erik Sundell
38e32a902e
stackdriver: fix failing test
2018-09-25 16:51:39 +02:00
Erik Sundell
3f7314831f
stackdriver: wip: split metric dropdown into two parts - resource and metric
2018-09-25 16:51:12 +02:00
Erik Sundell
a41c5f7b37
stackdriver: remove console.log
2018-09-25 16:40:15 +02:00
Erik Sundell
7f43909390
stackdriver: typescriptifying controller
2018-09-25 15:16:33 +02:00