Carl Bergquist
5d6ed6c45f
prom: add support for default step param ( #9866 )
...
Alerting for prometheus have been depending on the step parameter from each query.
In https://github.com/grafana/grafana/pull/9226 we changed the behavior for step in the
frontend which caused problems for alerting. This commit fixes that by introducing a default
min interval value so alerting always have something to depend on.
closes #9777
2017-11-15 11:22:00 +01:00
Sven Klemm
108f582ec4
sync documentation, add remark about to_timestamp and redshift ( #9841 )
2017-11-14 11:33:55 +01:00
Alexander Zobnin
e7f3480803
heatmap: fix tooltip in "Time series bucket" mode, #9332 ( #9867 )
2017-11-13 15:20:12 +01:00
Marcus Efraimsson
ecbe7d06a6
fix: Table panel now renders annotations correctly. Fixes #9842 ( #9868 )
2017-11-13 15:18:39 +01:00
Torkel Ödegaard
685ee393af
graph: the stack & legend sort sync was not working correctly, the z-index sorting that happened in after the legend sort order was applied and messed with the order even though the sort function returned zero for all entries, combined the sort function to one sort function, fixes #9789 ( #9797 )
2017-11-13 12:09:26 +01:00
Mitsuhiro Tanda
ae4bcdd54b
fix query inspector for cloudwatch
2017-11-12 00:41:14 +09:00
Dan Cech
5b38c230db
use SHOW RETENTIONS to test influxdb connection ( #9824 )
2017-11-08 20:33:15 +01:00
Alexander Zobnin
f5c5c4b88b
graph: don't change original series name in histogram mode, #8886 ( #9782 )
2017-11-04 08:09:41 +01:00
Torkel Ödegaard
f18de7e6a0
Merge branch 'alertList-no-alerts'
2017-11-03 10:17:07 +01:00
Torkel Ödegaard
cd95f5bcc2
refactor: alert list panel fixes and no alerts message, rewrite of PR #9721
2017-11-03 10:16:25 +01:00
Patrick O'Carroll
a433698ddf
changed class name for no-alerts
2017-11-02 08:44:09 +01:00
Carl Bergquist
c783bdac39
Merge pull request #9753 from mtanda/cw_period
...
(cloudwatch) add period alias
2017-11-01 14:02:41 +01:00
Mitsuhiro Tanda
ebcb8be19a
add period alias
2017-11-01 18:47:21 +09:00
Torkel Ödegaard
c3bd07f9b4
testdata: added manual entry mode to test data
2017-11-01 09:59:24 +01:00
Patrick O'Carroll
5a26fc252e
new design for no alerts in alert-list, fixes #9721
2017-11-01 09:44:51 +01:00
Torkel Ödegaard
9aa6a6b4c4
Merge branch 'linkSrv-js-to-ts'
2017-10-31 14:29:42 +01:00
Alexander Zobnin
948a5259a2
fix: color picker bug at series overrides page, #9715 ( #9738 )
2017-10-31 13:53:45 +01:00
Sven Klemm
b6fafb13f5
always quote template variables for mysql when multi-value is allowed ( #9712 )
...
* always quote template variables for mysql when multi-value is allowed
* handle include all option similar to multi value
* declare type
* adjust tests to quoting change
* dont specify type but let it be inferred
* fix test for variable with includeAll
2017-10-31 12:23:50 +01:00
Sven Klemm
caa8b6100e
always quote template variables for postgres when multi-value or include ( #9714 )
...
all is allowed
2017-10-31 12:23:21 +01:00
Carl Bergquist
1a3373e049
Merge pull request #9699 from it-teaching-abo-akademi/master
...
Alertlist: Inform when no alerts in current time range
2017-10-30 11:12:11 +01:00
Mitsuhiro Tanda
e9645045a0
ace editor for text panel
2017-10-30 11:05:09 +09:00
Daniel Lee
e541e60bc3
sql: remove title from annotation help
...
Fixes #9710
2017-10-29 20:03:23 +01:00
pkarmaka
cdd17f4871
[Bug Fix] Opentsdb Alias issue ( #9613 )
2017-10-28 13:10:18 +02:00
Tomas Strand
357d394c66
Alertlist: Inform when no alerts in current time range
...
Shows info that no alerts are found for the currently selected interval in Alertlist.
Fixes #9624
2017-10-27 17:20:07 +03:00
Sven Klemm
34da0711ab
add __timeGroup macro for mysql ( #9596 )
...
* add __timeGroup macro for mysql
* put example __timeGroup query in frontend help
* do __timeGroup interval parsing in go similar to mysql
* ignore whitespace around interval
2017-10-27 11:26:25 +02:00
Patrick O'Carroll
e654f80e4b
fixed link issues
2017-10-26 14:25:43 +02:00
Torkel Ödegaard
bf680acae5
ux: updated singlestat default colors
2017-10-26 11:57:48 +02:00
Torkel Ödegaard
74fcb2494a
prometheus: fixed unsaved changes warning when changing time range due to step option on query model was changed in datasource.query code, fixes #9675
2017-10-26 11:46:33 +02:00
Sven Klemm
56e53b8343
dont quote variables for mysql and postgres datasource ( #9611 )
2017-10-24 14:05:41 +02:00
bergquist
beb203209b
prom: adds pre built grafana dashboard
2017-10-24 11:01:08 +02:00
Patrick O'Carroll
a8285d0eb4
shore: migrating config/settings.js to typescript
2017-10-24 10:45:46 +02:00
utkarshcmu
a4a10f2b03
Fixed #9636
2017-10-24 00:49:03 -07:00
Alexander Zobnin
396eadc5ac
Use d3 from node_modules ( #9625 )
...
* tech: annotations refactor, add tests for regions processing
* tech: move d3 to npm and webpack, #9480
* tech: move color scale functions to separate module
* fix opacity legend rendering
2017-10-23 20:30:43 +02:00
bergquist
d25d689efa
tests: removes commented tests
2017-10-23 11:32:34 +02:00
bergquist
fcd5d581a8
graph: invert order when sorting by legend
...
sort order have now been inverted. Biggest values should
be at bottom of the graph.
ref #9538
2017-10-23 11:32:09 +02:00
Torkel Ödegaard
b986f744e4
fix: escape series name in graph legend, added aliasEscaped to time series model to reuse escape, fixes #9615
2017-10-23 10:15:58 +02:00
Torkel Ödegaard
4632b8daa5
build: another build fix
2017-10-22 18:10:22 +02:00
Torkel Ödegaard
7a277c69ac
tests: migrated two more tests to jest
2017-10-22 17:36:50 +02:00
Torkel Ödegaard
4aa227dd84
[Tech]: Start migrating to Jest for tests ( #9610 )
...
* tech: investigating karma + jest mix
* tech: migrating tests to jest
* tech: moved anoter test file to jest
* test: migrated two more test files to jest
* test: updated readme and made test fail to verify that it causes CI build failure
* tech: added code coverage for jest tests
* tech: testing codecov coverage
* tech: migrated more tests
* tech: migrated template srv to typescript and the tests to jest
* tech: minor build fix
* tech: build fixes
* build: another attempt at fixing go test with coverage
2017-10-22 07:03:26 +02:00
Carl Bergquist
1d7a0db54b
Sort series in the same order as legend in graph panel ( #9563 )
...
* graph: sort series in the same order as legend
closes #9538
* style: use function arrows
* graph: remove sort by legend option
sort series based on legend by default is sort order
is set and stack is enabled
* graph: remove useless sort
* graph: make code simpler
2017-10-19 13:04:02 +02:00
Carl Bergquist
e8141b48d2
Merge pull request #9555 from mtanda/prometheus_46_improve_minor_fix
...
(prometheus) minor fix of auto complete
2017-10-19 10:42:34 +02:00
Sven Klemm
b2d880c6de
modify $__timeGroup macro so it can be used in select clause ( #9527 )
...
* modify $__timeGroup macro so it can be used in select clause
* fix $__interval_ms for postgres datasource
* use $__timeGroup macro in documentation
* fix annotation template query
remove title since its no longer used and add tags instead
* change __timeFilter macro to work on postgresql < 8.1 and redshift
2017-10-18 18:10:01 +02:00
Alexander Zobnin
92c67e8c83
Fix heatmap Y axis rendering ( #9580 )
...
* heatmap: fix Y axis rendering, #9576
* heatmap: fix color legend rendering
2017-10-18 15:19:20 +02:00
bergquist
c2c5f529f3
prometheus: add builtin template variable as range vectors
...
add $__interval and $__interval_ms as range vectors to
prometheus editor
2017-10-18 14:03:23 +02:00
Carl Bergquist
e8da084baf
Merge pull request #9561 from mtanda/prometheus_46_fix_range
...
(prometheus) fix to show vector range popup
2017-10-18 13:39:57 +02:00
Torkel Ödegaard
8d68bd6bb9
fix: fixed prometheus step issue that caused browser crash, fixes #9575
2017-10-18 13:28:18 +02:00
Torkel Ödegaard
039fc2964a
fix: getting started panel and mark adding data source as done, fixes #9568
2017-10-18 12:02:57 +02:00
Mitsuhiro Tanda
8a43d4e25c
fix vector range
2017-10-17 21:27:04 +09:00
Carl Bergquist
5910453e8a
Merge pull request #9560 from mtanda/prometheus_46_metric_name_matching
...
(prometheus) allow ":" character for metric name
2017-10-17 13:34:25 +02:00
Mitsuhiro Tanda
ebebbddb2d
allow ":" character for metric name
2017-10-17 19:44:59 +09:00