Erik Sundell
6a447a24fb
stackdriver: don't set project name in query response since default project is now loaded in its own query
2018-10-25 14:16:01 +02:00
Torkel Ödegaard
be6f68f341
fix for annotation promise clearing, bug introduced last week when merging react panels step1
2018-10-25 11:35:32 +02:00
Torkel Ödegaard
defccb5ab3
fix panel solo size
2018-10-25 10:32:23 +02:00
Johannes Schill
b880f8d548
Update the regex-matching in templateSrv to work with the new variable-syntax and be more flexible to regex-changes #13804
2018-10-24 13:29:03 +02:00
David
a6fc74e35b
Merge pull request #13803 from grafana/davkal/explore-fix-resize
...
Explore: fix graph resize on window resize
2018-10-24 12:32:27 +02:00
Johannes Schill
38c155403e
Move the variable regex to constants to make sure we use the same reg… ( #13801 )
2018-10-24 12:06:09 +02:00
David
8f7686c5a7
Merge pull request #13773 from miqh/fix/click-typeahead-suggestion
...
Fix click-based selection of typeahead suggestion
2018-10-24 11:42:58 +02:00
David Kaltschmidt
d6ff16fe72
Explore: fix graph resize on window resize
...
- resize HOC wrapper only resized first child which in case of large
graphs was the warning button
- moved warning button inside the panel parent
2018-10-24 11:30:32 +02:00
David
7d0eccdd23
Merge pull request #13787 from grafana/davkal/explore-transactions
...
Explore: query transactions for faster result display
2018-10-24 11:24:29 +02:00
Erik Sundell
c5af0bf1c5
Resource type filter ( #13784 )
...
* stackdriver: add resource type to filter and group bys
* stackdriver: remove not used param
* stackdriver: refactor filter and group by code
* stackdriver: remove resource type if its already in filter list
* stackdriver: remove debug logging
* stackdriver: remove more debug logging
* stackdriver: append resource type to legend name if there are more than one type present in the response
* stackdriver: only make new request if filter has real value
* stackdriver: format legend support for resource type
* stackdriver: add resource type to documentation
* stackdriver: not returning promise from query function
* stackdriver: fix refactoring bug
* stackdriver: remove not used import
2018-10-24 11:18:49 +02:00
David Kaltschmidt
a121cd0e49
Fix race condition on add/remove query row
2018-10-24 11:08:15 +02:00
David Kaltschmidt
f19ffee5b4
Fix rebase, fix empty field still issuing query problem
2018-10-23 17:21:33 +02:00
Torkel Ödegaard
6932306995
Merge pull request #13795 from grafana/kiosk-mode-url-fix
...
Another fix for kiosk mode handling
2018-10-23 17:07:29 +02:00
Torkel Ödegaard
53d9619cb9
fix: another fix for #13764 , #13793
2018-10-23 16:22:00 +02:00
Torkel Ödegaard
102d495af9
Merge pull request #13793 from grafana/kiosk-mode-url-fix
...
Kiosk mode url fix
2018-10-23 16:15:50 +02:00
David Kaltschmidt
0cd89e80ca
Submit query when enabling result viewer
2018-10-23 16:13:23 +02:00
David Kaltschmidt
fbed57ab43
Get query hints per query transaction
2018-10-23 16:10:52 +02:00
David Kaltschmidt
2e02a8c855
Explore: query transactions
...
Existing querying was grouped together before handed over to the
datasource. This slowed down result display to however long the slowest
query took.
- create one query transaction per result viewer (graph, table, etc.)
and query row
- track latencies for each transaction
- show results as soon as they are being received
- loading indicator on graph and query button to indicate that queries
are still running and that results are incomplete
- properly discard transactions when removing or changing queries
2018-10-23 16:09:48 +02:00
Torkel Ödegaard
15e1e41540
Merge pull request #13768 from davewat/feat-toggle-legend-shortcut
...
Feat - keyboard shortcut to toggle legend
2018-10-23 16:06:32 +02:00
David
e761fb1936
Merge pull request #13761 from grafana/davkal/explore-reuse-table-merge
...
Explore: reuse table merge from table panel
2018-10-23 16:00:57 +02:00
Torkel Ödegaard
2107f88fc1
Merge pull request #13770 from ceh-forks/editor-duplicate-placeholder
...
ux: remove duplicate placeholder attribute
2018-10-23 15:52:33 +02:00
Torkel Ödegaard
8a1e0cd83b
fix: kiosk url fix, fixes #13764
2018-10-23 15:37:11 +02:00
Johannes Schill
22a0f3cf94
fix: Text box variables with empty values should not be considered fa… ( #13791 )
...
* fix: text box template variable doesn't work properly without a default value
2018-10-23 14:05:10 +02:00
Marcus Efraimsson
e6abc0691e
fix injecting dependencies to graph legend directive
2018-10-22 19:23:40 +02:00
Daniel Lee
6e0728ad88
stackdriver: some tweaks to the text on the config page and in docs
2018-10-22 16:14:17 +02:00
Erik Sundell
89958f2933
stackdriver: remove not needed scope
2018-10-22 16:12:55 +02:00
Erik Sundell
e13e2f8a45
stackdriver: change name of authentication type
2018-10-22 16:12:22 +02:00
Erik Sundell
5b9cd830d2
stackdriver: improve config page info box documentation
2018-10-22 16:12:22 +02:00
Erik Sundell
dd745e0cf0
stackdriver: prevent backend query from being made when there are not yet any defined targets
2018-10-22 16:12:22 +02:00
Erik Sundell
5deba92d05
stackdriver: fix failing tests
2018-10-22 16:12:22 +02:00
Erik Sundell
ae8a765190
stackdriver: improve error handling
2018-10-22 16:12:22 +02:00
Erik Sundell
a56c5841e9
stackdriver: improve error handling in the datasource
2018-10-22 16:11:17 +02:00
Erik Sundell
277cae2d85
stackdriver: fix broken condition after rebase
2018-10-22 16:11:17 +02:00
Erik Sundell
569fe2327e
stackdriver: remove debug log
2018-10-22 16:11:17 +02:00
Erik Sundell
fa1d225743
stackdriver: fix failing test
2018-10-22 16:11:17 +02:00
Erik Sundell
b9cb4649bb
stackdriver: get default project from backend. also ensure default project could be retrieved when authentication type is gce
2018-10-22 16:11:17 +02:00
Erik Sundell
09fb1760a1
stackdriver: only load default project from backend if it's not available on the target. this might happen when using gce authentication and provisioning
2018-10-22 16:08:11 +02:00
Erik Sundell
835f1d788e
stackdriver: display error message if project name is not present in jwt file
2018-10-22 16:03:14 +02:00
Erik Sundell
9fb1d3a9a6
stackdriver: only load project name if it's not already stored in the ds info json
2018-10-22 16:03:14 +02:00
Erik Sundell
aa2e64e160
stackdriver: improve ui for toggling authentication type
2018-10-22 16:03:14 +02:00
Erik Sundell
dd9e9ed419
stackdriver: make backend query a pure test datasource function
2018-10-22 16:03:13 +02:00
Erik Sundell
412a1f6d99
stackdriver: wip - return metric descriptors in the format of tablew
2018-10-22 16:03:13 +02:00
Erik Sundell
77e4c4249d
stackdriver: wip - add very basic checkbox for gce auto authentication
2018-10-22 16:03:13 +02:00
Mitsuhiro Tanda
022a45becd
Revert "for development"
...
This reverts commit cf2f110e42bb0ca041be7bb0ebf549bf565c51bc.
2018-10-22 16:03:12 +02:00
Mitsuhiro Tanda
5b53c0497a
for development
2018-10-22 16:03:11 +02:00
Torkel Ödegaard
16a2b207cc
fix: DataPanel isFirstLoad state fix
2018-10-22 09:54:43 +02:00
Michael Huynh
3bb0b0a551
Fix click-based selection of typeahead suggestion
...
In short, the underlying problem appears to be the `onChange()` handler
being triggered after handling the blur event. Since the contents have
not actually changed this forces the typeahead state to reset which
undesirably puts a stop to propagating the selected suggestion back up
to get set.
Related: #13604
2018-10-21 12:51:21 +08:00
Emil Hessman
30baaa48fe
ux: remove duplicate placeholder attribute
2018-10-20 15:08:38 +02:00
Dave Waters
4b524fafa5
initial work to add shortcut to toggle legend - generic
2018-10-19 16:33:23 -04:00
David Kaltschmidt
374fe9dcb4
Explore: reuse table merge from table panel
...
- Extracted table panel's merge logic to combine multiple tables into one
- Put the merge logic into the table model as it merges multiple table
models
- make use of merge in Explore's table query response handler
- copied tests over to table model spec, kept essential tests in
transformer spec
2018-10-19 15:29:58 +02:00