Michael Huynh
61843b58db
Add tests to cover aggregation context cases
...
This should cover use cases involving multi-line queries and range
vector syntax inside aggregation contexts.
Related: #12890
2018-10-27 17:02:03 +08:00
Michael Huynh
2a4a19388f
Fix label suggestions for multi-line aggregation queries
...
No label suggestions were being returned for multi-line aggregation
contexts because the parsed selector string does not see the full
context before a `by` or `without` clause.
This solution stitches together all text nodes that comprise the query
editor to ensure the selector has sufficient context to generate
suggestions.
Also, an additional workaround has been included to ensure range vector
syntax does not disrupt label suggestions in aggregation contexts.
Related: #12890
2018-10-27 16:54:12 +08:00
Carlos Mondragon
35688b223a
Update snapshots.
2018-10-26 10:20:03 -07:00
Carlos Mondragon
bb227d5c3a
Use jest.fn instead of string.
2018-10-26 10:12:27 -07:00
David Kaltschmidt
bf1af66292
Explore: error handling and time fixes
...
- use global range types
- add ErrorBoundary around individual Explore components
- fix table merge on empty results
- fix TimePicker date parsing on ISO dates
- fix TimePicker range string after relative move
2018-10-26 18:16:00 +02:00
Leonard Gram
58a567173e
build: builds grafana docker for enterprise at release.
2018-10-26 15:19:53 +02:00
Jon Ferreira
07cb622729
Add code to flot that plots any datapoints which to not have neighbors
...
as 0.5 radius points
- fixes https://github.com/grafana/grafana/issues/13605
2018-10-26 09:10:07 -04:00
Peter Holmberg
ccbff592d2
adding default value and update actions
2018-10-26 14:51:33 +02:00
Leonard Gram
a80e2e1acd
build: ge build fix.
2018-10-26 14:37:51 +02:00
Leonard Gram
e2f74b55d2
build: grafana enterprise docker. ( #13839 )
2018-10-26 14:23:30 +02:00
Peter Holmberg
affb04a3ce
moved state to redux, renamed entities
2018-10-26 14:15:37 +02:00
David
239dfbc9ae
Merge pull request #13824 from grafana/davkal/explore-plugins
...
Explore: move suggestions logic to datasource language provider
2018-10-26 11:40:52 +02:00
Marcus Efraimsson
361864bec6
changelog: add notes about closing #13769
...
[skip ci]
2018-10-26 09:06:32 +02:00
Marcus Efraimsson
6052257515
Merge pull request #13820 from grafana/13769_mysql_time_filter
...
mysql: fix timeFilter macro should respect local time zone
2018-10-26 09:02:59 +02:00
Torkel Ödegaard
b3c7a41e13
Merge pull request #13819 from mtanda/cw_desc_region
...
use default region to call DescribeRegions
2018-10-26 08:35:17 +02:00
Mitsuhiro Tanda
220c4f4ab4
add test
2018-10-26 03:13:02 +09:00
Mitsuhiro Tanda
3447b8b299
cache region result
2018-10-26 01:23:44 +09:00
Mitsuhiro Tanda
c40baa1a23
use default region to call DescribeRegions
2018-10-26 01:23:44 +09:00
Torkel Ödegaard
e7f6cdc625
Merge branch '13739/alert-to-react'
2018-10-25 17:44:23 +02:00
Torkel Ödegaard
4112591042
Merge pull request #13818 from mtanda/cw_stat_template
...
support template variable in stat field
2018-10-25 17:08:09 +02:00
Torkel Ödegaard
2b1ab9843d
Merge pull request #13828 from bergquist/docs_es_provisioning
...
docs: improve ES provisioning examples
2018-10-25 17:06:47 +02:00
Torkel Ödegaard
f1660aa21a
fix: updated backend srv to use appEvents and removed parts of alertsSrv
2018-10-25 17:05:17 +02:00
Peter Holmberg
a98f7e548f
simple select
2018-10-25 16:56:49 +02:00
Leonard Gram
30cb28df55
build: correctly adds enterprise to the filename. ( #13831 )
2018-10-25 16:55:27 +02:00
Torkel Ödegaard
d505d83ee1
Merge pull request #13679 from mjtrangoni/fix-megacheck-issues
...
Fix megacheck issues
2018-10-25 16:31:53 +02:00
bergquist
d9cd20e43e
docs: improve ES provisioning examples
...
closes #12281
2018-10-25 14:36:31 +02:00
bergquist
946ca5477b
changelog: adds note about closing #13723
...
[skip ci]
2018-10-25 14:31:43 +02:00
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
Alexander Zobnin
1dad52eaad
graph legend: fix table padding
2018-10-25 13:28:05 +03:00
David Kaltschmidt
6f2315d5c5
Moved prom language features to datasource language provider
2018-10-25 12:24:24 +02:00
Alexander Zobnin
9e15d47e13
graph legend: fix phantomjs rendering when legend is on the right
2018-10-25 13:21:28 +03: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
Alexander Zobnin
533f35853b
Merge remote-tracking branch 'upstream/master' into graph-legend-to-react
2018-10-25 11:56:02 +03:00
Torkel Ödegaard
df7915f3b4
Merge pull request #13822 from grafana/fix-solo-panel-size
...
fix panel solo size
2018-10-25 10:48:39 +02:00
Torkel Ödegaard
defccb5ab3
fix panel solo size
2018-10-25 10:32:23 +02:00
Marcus Efraimsson
97b22aa5a9
mysql: fix timeFilter macro should respect local time zone
2018-10-25 10:29:40 +02:00
Peter Holmberg
1f8b61f9a6
load preferences
2018-10-25 07:45:22 +02:00
Mitsuhiro Tanda
08631ea23f
support template variable in stat field
2018-10-25 13:03:20 +09:00
Sven Klemm
9bb2b70a95
only look in current database in findMetricTable
2018-10-24 19:21:26 +02:00
Marcus Efraimsson
4ee79faff4
Merge pull request #13811 from Yukinoshita-Yukino/patch-1
...
Fix doc error for DingDIng alert
2018-10-24 16:45:26 +02:00
Alexander Zobnin
e4b3f31f82
graph legend: fix table alignment
2018-10-24 17:38:10 +03:00
Yuan Liu
eb255520cb
fix dingding doc error
2018-10-24 22:28:59 +08:00
Peter Holmberg
596a83407e
fixed routes and page
2018-10-24 16:17:25 +02:00
Alexander Zobnin
f5a0b0044a
graph legend: minor refactor
2018-10-24 16:57:44 +03:00
Torkel Ödegaard
5a70327dcf
Merge pull request #13805 from grafana/13804-fix-template-variable-check
...
Update the regex-matching in templateSrv to work with the new variabl…
2018-10-24 14:58:13 +02:00
Carl Bergquist
0d41904ee5
Merge pull request #13755 from Yukinoshita-Yukino/master
...
Fix cannot receive dingding alert when alert message is empty
2018-10-24 14:56:08 +02:00
David Kaltschmidt
54a3e2d1d1
Added types to query rows
2018-10-24 14:55:56 +02:00
Peter Holmberg
8c742a9530
Merge branch 'master' into data-source-settings-to-react
2018-10-24 14:50:33 +02:00
Marcus Efraimsson
259c243723
update latest.json to latest stable version
...
[skip ci]
2018-10-24 14:37:28 +02:00
Marcus Efraimsson
63c13198e3
changelog: update
...
[skip ci]
2018-10-24 14:36:26 +02:00