Torkel Ödegaard
8f17a84f31
mysql: added basic templating support
2017-04-23 14:22:47 +02:00
Torkel Ödegaard
6ea99540ec
Merge branch 'master' of github.com:grafana/grafana
2017-04-21 17:30:37 +02:00
Daniel Lee
6160978019
singlestat: with table data, support string values
...
If the selected table column is string then show that in the singlestat
2017-04-21 16:54:56 +02:00
Daniel Lee
a49ef90a1d
singlestat: value mapping for table data
...
Adds support for value mapping for table data in the single stat panel.
2017-04-21 16:43:14 +02:00
Torkel Ödegaard
b22b3e5bb9
mysql: added default query template
2017-04-21 16:28:01 +02:00
Daniel Lee
8874be4c66
singlestat: add support for table data
...
If data is of type Table, then will return the first row of data. The
user can select which column should be shown in the SingleStat.
2017-04-21 16:17:31 +02:00
Daniel Lee
2c51f11440
singlestat: fix variable spelling
2017-04-21 16:17:31 +02:00
Torkel Ödegaard
ea53e7221e
mysql: added query help
2017-04-21 15:52:42 +02:00
Torkel Ödegaard
97e2d75f51
mysql: added support for tables in mysql queries
2017-04-21 15:07:43 +02:00
Torkel Ödegaard
c78c460f79
mysql: worked on mysql data soruce
2017-04-20 17:10:23 +02:00
Torkel Ödegaard
fc878bc8ad
build: fixed order
2017-04-20 11:59:11 +02:00
Torkel Ödegaard
4368c5a896
build: moved copy node modules ahead of tslint
2017-04-20 11:26:30 +02:00
Torkel Ödegaard
f1276774a0
typescript: updated tslint and fixed new warnings
2017-04-20 11:16:37 +02:00
Torkel Ödegaard
e164eba677
mysql: began work on backend macro engine
2017-04-19 10:10:08 +02:00
Mitsuhiro Tanda
62d11c147b
(cloudwatch) fix dimension value find query ( #8159 )
2017-04-19 07:12:59 +02:00
Torkel Ödegaard
456b07b766
annotations: removing wip stuff so I can merge to master
2017-04-18 17:28:39 +02:00
Torkel Ödegaard
73718afb79
annotations: mini fix to event manager
2017-04-18 17:09:06 +02:00
Torkel Ödegaard
809467955a
Merge branch 'master' into create-annotations
2017-04-18 17:07:44 +02:00
Torkel Ödegaard
db36639ffc
fix : #8111
2017-04-18 16:58:34 +02:00
Torkel Ödegaard
3ee886d0fb
Merge branch 'query-references'
2017-04-18 16:30:28 +02:00
Torkel Ödegaard
85baa50194
recfactor: added unit test for the new scenario, #8143
2017-04-18 16:30:20 +02:00
Dan Cech
a64e000f1a
process this.target separately to fix issues with tests
2017-04-17 11:10:55 -04:00
Dan Cech
715453204e
make sure graphite queries containing references are properly updated
2017-04-17 10:47:25 -04:00
Alexander Zobnin
5df82be290
create-annotations: fix missing lodash import
2017-04-17 11:37:23 +03:00
Thomas Szymanski
f2dffeb543
Influxdb datasource: fix language in stacking helpful info section ( #8134 )
2017-04-16 11:56:29 +02:00
Torkel Ödegaard
fa2a7db657
ux: create annotations
2017-04-14 23:10:56 +02:00
Torkel Ödegaard
03ef1fd758
refactoring: event / annotation handling in graph panel broken out
2017-04-14 22:56:01 +02:00
Torkel Ödegaard
60ef7d8768
Merge branch 'master' into create-annotations
2017-04-14 22:36:34 +02:00
Torkel Ödegaard
aa47b9bf5c
refactoring: simplified backend_srv and subUrl handling, #8122
2017-04-14 19:01:08 +02:00
Torkel Ödegaard
b77991f69b
refactoring: minor changes to #8122
2017-04-14 16:00:52 +02:00
Dan Cech
f490c5f12c
use X-Grafana-Org-Id header to ensure backend uses correct org ( #8122 )
2017-04-14 15:47:39 +02:00
Ivan Babrou
fb163450a5
Change prometheus semantics from step to min step ( #8073 )
...
Previously `Step` parameter would set a hard value for any zoom level.
Now it's renamed to `Min step` and sets the minimal value of `step` parameter
to Prometheus query. User would usually want to set it to the scraping interval
of the target metric to avoid having shap cliffs on graphs and extra load
on Prometheus. Actual `step` value is calculated as the minimum of automatically
selected step (based on zoom level) and user provided minimal step. If user
did not provide the step, then automatic value is used as is.
Example bahavior for `60s` scrape intervals:
* `5s` automatic interval, no user specified min step:
* Before: `step=5`
* After: `step=5`
* `5s` automatic interval, `1m` user specified min step:
* Before: `step=5`
* After: `step=60`
* `5m` automatic interval, `1m` user specified min step:
* Before: `step=60` (not really visible, too dense)
* After: `step=300` (automatic value is picked)
See:
* https://github.com/grafana/grafana/issues/8065
* https://github.com/prometheus/prometheus/issues/2564
2017-04-14 14:51:22 +02:00
Torkel Ödegaard
a151de1d37
progess on adding annotations
2017-04-14 14:43:06 +02:00
Torkel Ödegaard
0335c1f368
ux: updated styles a bit
2017-04-14 13:08:03 +02:00
Torkel Ödegaard
ea92ddccb3
create annotations progress
2017-04-14 12:46:02 +02:00
Torkel Ödegaard
ff426ae9a3
more work on annotations
2017-04-14 12:23:32 +02:00
Torkel Ödegaard
dbe5480edc
create annotations work
2017-04-14 11:41:02 +02:00
Torkel Ödegaard
2fce88ee62
ux: popover forms
2017-04-14 10:18:49 +02:00
Torkel Ödegaard
c68fffcd6d
ux: popover forms
2017-04-13 20:28:13 +02:00
Torkel Ödegaard
2f61fc6afe
ux: made progress on popover forms
2017-04-13 18:39:49 +02:00
Torkel Ödegaard
dbeeb32ab6
Merge branch 'master' into popover-forms
2017-04-13 16:22:08 +02:00
Torkel Ödegaard
dd3e594dd7
fix: scroll issue and positioning of info-popover
2017-04-12 21:20:47 +02:00
Alexander Zobnin
2142323da9
graph(create annotation): refactor, AddAnnotationModalCtrl
2017-04-12 21:07:39 +03:00
Alexander Zobnin
17d3970673
graph(create annotation): push one annotation with time from and time to
2017-04-12 21:04:18 +03:00
Alexander Zobnin
ef99ff0ad7
graph(create annotation): use single description for range
2017-04-12 20:37:33 +03:00
Alexander Zobnin
8a1c35e1c2
graph(create annotation): refactor, fix two modal after range selection
...
bind create annotation handler directly to plotclick event, not to global graph-click
2017-04-12 20:27:32 +03:00
Torkel Ödegaard
de21be30d2
ux: working on how to show form in popover
2017-04-12 17:28:32 +02:00
Alexander Zobnin
eeb998d712
Merge remote-tracking branch 'upstream/create-annotations' into create-annotations
2017-04-12 17:36:40 +03:00
Torkel Ödegaard
b867921b3b
annotation: cleanup
2017-04-12 15:49:59 +02:00
Torkel Ödegaard
0156a94a49
annotations: you can now read annoations via manually created annoation query
2017-04-12 15:46:41 +02:00