Torkel Ödegaard
d630f3d59e
Merge branch 'external-user-mng' into v4.4.x
2017-07-31 15:07:01 +02:00
Torkel Ödegaard
73563d087c
feat: more work on #8768
2017-07-31 14:39:33 +02:00
Alexander Zobnin
ef9dd014c7
heatmap: add color scale options, issue #8539
2017-07-31 14:03:03 +03:00
Daniel Lee
22758d5112
Merge branch 'v4.4.x'
2017-07-27 14:40:33 +02:00
Daniel Lee
7b768bca3f
singlestat: change threshold check in flot gauge
...
Fixes #5515 . Flot gauge has its own threshold check that is different
from the threshold check in singlestat. This changes the flot check to
be exclusive (same as the singlestat check). E.g. if the threshold is
10, then the value 10 is over the threshold.
2017-07-27 14:34:29 +02:00
amitkumar912
c4683f1ae8
Opentsdb datasource labeling fix ( #8929 )
...
* Fix Labeling issue when hiding Queries.
Issue #8928
* Fix spacing.
* Replacing tabs with spaces.
* Fix for jshint
2017-07-26 21:27:42 +02:00
Alexander Zobnin
cb8ecb2d5f
Heatmap fixes (adapted for v4.4.x branch) ( #8920 )
...
* heatmap: fix converting error when series contains 0 and log scale is selected, issue #8884
* heatmap: fix app crash when Y min set to 0 with log scale
* heatmap: fix tooltip for 'zero' buckets in log scale
* heatmap: fix tooltip histogram for log scales
* heatmap: fix flicker of the highlighted element
this was caused by too often fired mouseenter/mouseleave events
* heatmap: fix missing X axis option for log scales
* heatmap: fix missing zero bucket in tooltip histogram
2017-07-25 16:28:29 +02:00
Daniel Lee
4a678c2884
influxdb: fix for adding math query part
...
Fixes #8870 . Fixes out of bound exception on adding a math query part
when there is no group by interval (or only one query part).
2017-07-22 01:31:26 +02:00
Kakuya Ando
bbfdfc012f
fix(prometheus) when tag value duplicate, tags not working. ( #8040 )
2017-07-21 09:51:25 +02:00
Alexander Zobnin
af56cc4c28
Panel Alertlist: use dashboard timezone ( #8880 )
...
* panel-alertlist: use dashboard timezone, fixes #8874
* alert state history: use dashboard timezone, issue #8874
* alert state history: minor refactor
2017-07-19 20:45:57 +02:00
Mitsuhiro Tanda
aecc6860e3
set focus on text field when opening panel/query editor ( #8879 )
...
* (prometheus) set focus to top expression when opening editor
* (text panel) set focus to top expression when opening editor
2017-07-19 10:33:04 +02:00
Alexander Zobnin
9bbc942534
table-panel: clickable cell link - draft ( #8738 )
...
* table-panel: clickable cell link - draft
* table-panel: clickable cell link - fix link target option
* table-panel: fix undefined columnStyle.link
* table-panel: option to highlight cell with link
* table-panel: render variables for all cells in row
* table-panel: remove cell highlighting
* table-panel: add help for URL field
* linkPopover directive for link info in table panel
* table-panel: add link info popover to cells
* table-panel: use native popover instead directive
* table-panel: link drop refactor, remove unused code
* table-panel: fix unclickable link when drop is opened
* refactoring: minor refactoring to #8738 , do not think we need a full blown popover for the links, simple tooltip is enough and more efficient, sadly we do not have a modern tooltip framework, still using old bootstrap 2.3 tooltip
* table-panel: add tests for link rendering
2017-07-18 20:59:34 +02:00
Alexander Gängel
4073949af0
add templating for prometheus monitoring other promethues ( #8845 )
2017-07-18 19:52:29 +02:00
Mitsuhiro Tanda
a6920eb2ff
(prometheus) replace each by for ( #8881 )
2017-07-18 19:50:44 +02:00
Mitsuhiro Tanda
32f9a42d5e
Fix performance degradation by always setting fill = 0.001 ( #8868 )
...
* add benchmark
* fix, prevent plotLineArea() call if fill == 0
* remove benchmark
2017-07-17 20:50:58 +02:00
Daniel Koehler
c5f6cf0809
fix for wrong locale and text issues #8840 ( #8854 )
...
fixes https://github.com/grafana/grafana/issues/8840
by setting a default locale. Also uses fromNow(true) to work arround the replace.
2017-07-14 21:58:27 +02:00
Torkel Ödegaard
e4950c2dc1
fix: elasticsearch with template variable with terms agg on IP field, fixes #8662
2017-07-12 07:43:30 +02:00
ajrnz
43974898c1
Interpolate the field property in elastic search term queries ( #8663 )
...
* Interpolate the field property in elastic search term queries
* more defensive interpolation of query.field in ES templates
2017-07-12 07:25:56 +02:00
Alin Sinpalean
5bffdfe9a4
When converting Prometheus results to table, handle the case where the returned series have non-uniform sets of labels. ( #8826 )
2017-07-12 06:52:59 +02:00
Daniel Lee
3a075be7e9
cloudwatch: make dimension text in alias popover clearer
2017-07-07 18:17:05 +02:00
Torkel Ödegaard
cff1c37064
fix: InfluxDB direct access with normal inflxudb credentials was not sent correctly, fixes #8789
2017-07-06 09:46:31 +02:00
Torkel Ödegaard
1994b767d3
fix: InfluxDB direct access with normal inflxudb credentials was not sent correctly, fixes #8789
2017-07-05 22:15:28 +02:00
Alexander Zobnin
934c0fea6f
histogram: improved ticks rendering
2017-07-04 21:49:57 +02:00
Alexander Zobnin
c1c1bcb874
histogram: don't cut negative values, issue #8628
2017-07-04 21:49:09 +02:00
Daniel Lee
1da98f5e1e
Revert "Histogram fix ( #8727 )"
...
This reverts commit 8634c9d457
.
2017-07-04 21:48:39 +02:00
Daniel Lee
fb99ddf295
influxdb: tweak to help text
2017-06-29 13:58:54 +02:00
Alexander Zobnin
97a7081b57
Fix 8706 ( #8734 )
...
* heatmap: fix incorrect time for UTC timezone, fixes #8706
* heatmap: fix tests for time format
2017-06-29 10:40:28 +02:00
Alexander Zobnin
8634c9d457
Histogram fix ( #8727 )
...
* histogram: don't cut negative values, issue #8628
* histogram: add percent/count option
* histogram: add tests for values normalizing
* histogram: improved ticks rendering
* histogram: fix default value in axes editor
2017-06-28 17:12:55 +02:00
Daniel Lee
b674b9dba2
heatmap: small fix for tooltip auto decimals
...
Closes #8717
2017-06-27 22:25:04 +02:00
Alexander Zobnin
83fbace6b9
heatmap: fix tooltip decimals calculation
2017-06-27 22:24:27 +02:00
Alexander Zobnin
12644372c4
heatmap: fix scaledDecimals calculation (use the same method as in flot.js)
2017-06-27 22:24:27 +02:00
Alexander Zobnin
c12a7d7f59
heatmap: adjust tests for fixed decimals calc
2017-06-27 22:24:27 +02:00
Alexander Zobnin
7c840cdf38
heatmap: fix tooltip decimals
2017-06-27 22:24:27 +02:00
Alexander Zobnin
b63d2b3279
heatmap: fix Y axis decimals with log scale
2017-06-27 22:24:27 +02:00
Alexander Zobnin
8e5672aee6
heatmap: fix Y axis value rounding with linear scale
2017-06-27 22:24:27 +02:00
Alexander Zobnin
1deeef9e91
Table panel: add option for preserving text formatting ( #8708 )
...
* table_panel: add option for preserving text formatting
* table_panel: fix undefined style error
* table_panel: fix class adding (add space before 'class')
* table_panel: aligin Type options labels
2017-06-27 06:38:49 -04:00
Denis Doria
e8d01218d8
Fix label showing up when Axes are configured to not be displayed ( #8697 )
...
This should close the issue #8695
2017-06-25 14:23:37 +02:00
Denis Doria
41d300f69d
Fix timeInterval for mysql datasource ( #8651 )
...
* Fix timeInterval for mysql datasource
This changes the > to >= and the < to <=, so the intervals are inclusive.
This should fix the #8635
* Fix validation
2017-06-19 08:58:22 -04:00
Alexander Zobnin
9a7e460865
fix heatmap count values bug introduced by #8632
2017-06-18 21:47:08 +03:00
Alexander Zobnin
8626bdfed8
Merge remote-tracking branch 'upstream/master'
2017-06-18 20:59:05 +03:00
Alexander Zobnin
1f4140057b
heatmap-tooltip: normalize histogram Y axis
2017-06-18 20:58:13 +03:00
Brandon Arp
5d63ad21c1
allow heatmap parsing of scaled datapoints ( #8632 )
2017-06-16 10:45:52 -04:00
Torkel Ödegaard
840099bec0
refactor: metric segment remake
2017-06-15 15:56:24 -04:00
Torkel Ödegaard
380e7e7f04
Merge branch 'master' into metric-segment-remake
2017-06-14 16:17:13 -04:00
Torkel Ödegaard
9ff4ab1236
Merge branch 'master' into query_troubleshooting
2017-06-13 16:47:04 -04:00
Torkel Ödegaard
cdd5ba6198
fix: influxdb test data source error handling now works better, fixes #8577
2017-06-08 21:41:58 +02:00
Torkel Ödegaard
50b09f4f10
Merge branch 'master' of github.com:grafana/grafana
2017-06-08 11:54:11 +02:00
Torkel Ödegaard
2c75593c1a
refactoring: elasticsearch raw doc size limit option PR, #8527
2017-06-08 11:53:12 +02:00
Torkel Ödegaard
3c41d0477a
Merge branch 'master' of https://github.com/mk-dhia/grafana into mk-dhia-master
2017-06-08 11:22:48 +02:00
Daniel Lee
f7c48c5a5f
singlestat: fix ignoring zero value for table data
...
When table data returns a column with the value 0, it should not ignore
it. This change checks for undefined instead of if the value is truthy.
Fixes #8531
2017-06-08 11:06:37 +02:00
Michael Ambrose
f0169656ba
Added test to for Cloudwatch EC2 tag selection
2017-06-07 16:53:49 -04:00
Michael Ambrose
525da95f49
Updated cloudwatch plugin to allow specific tag selection
...
Tags come back from AWS as a key value pair inside an array
This array is now converted to an object
Tags can be selected when using the 'ec2_instance_attribute' query
Example: `ec2_instance_attribute(us-east-1, Tags.Name, { "tag:Grafana": [ "true" ] })`
2017-06-07 16:53:49 -04:00
Daniel Lee
1b79e17970
graph: better generation of y-axis ticks for log-scale
...
If there are too many ticks generated for the y-axis (which can occur
for log scale 2, with a small y-min and a large max), then the ticks
will be regenerated using larger jumps between the ticks.
This also handles the case when y-min is set to 0. Previously, y-min of
0 was ignored as zero is not a valid value for log scale. Now the tick
generator approximates zero by setting min to 0.1.
Ref #8244
Ref #8516
2017-06-05 15:06:22 +02:00
Dhia MOAKHAR
7c1dc2444d
change size in raw_document from text to number
...
update query builder and specs
2017-06-04 13:20:58 +00:00
Dhia MOAKHAR
045f5e11fc
[elasticsearch] Fix bug when switching from "Raw Document" metric type
...
when switch to "raw Document" metric type we do free all "Group by"
however when we switch back to another type we do not reset the default aggregation (date histogram)
Thus all modification will through exception as no "Group by" is defined and panel should be recreated
the fix will reintialize the "Group by" by setting default value
2017-06-03 02:55:26 +00:00
Dhia MOAKHAR
d55cc4e2a3
[elasticsearch] Fix add metric that was not working properly
...
when selecting Raw Documet metric type, the $scope.target.metrics was replaced by [$scope.agg],
however the pointer to this variables is shared with metricAggs.
Instead we free the array and add $scope.agg
2017-06-03 02:50:10 +00:00
Dhia MOAKHAR
966c2912fc
[elasticsearch] Add option for result set size in raw_dcument
...
it allows to specify the result set size in raw_document.
Example: table panel could show more (or less) than 500 line if needed.
Added test to spec
2017-06-02 23:56:48 +00:00
Pranay Kanwar
26ec874fb1
Frontend query changes corresponding #8336 ( #8489 )
2017-05-30 09:53:11 +02:00
Torkel Ödegaard
f16e3e38ee
Merge branch 'v4.3.x'
2017-05-29 12:20:34 +02:00
Daniel Lee
d318c9093f
graph: Handle data with zeroes for log scale
...
fixes #8446 . Data with all values equal to zero, creates a max with the
value of Infinite. The for loop for creating ticks then gets stuck in an
infinite loop. This fix resets min and max and creates some fake ticks
for the y-axis if the min and max are not finite numbers.
2017-05-29 12:18:54 +02:00
Torkel Ödegaard
0d865a83bc
fix: fixed test data fake metric query, fixes #8474
2017-05-29 12:17:51 +02:00
Victor Azevedo
980b9b5ca0
use fielddata_fields in elasticsearch 2.x queries
...
Resolves issue #8467
2017-05-29 12:15:51 +02:00
Torkel Ödegaard
5e0b03928e
Merge branch 'v4.3.x'
2017-05-29 10:49:02 +02:00
Torkel Ödegaard
0d39852ef4
fix: fixed test data fake metric query, fixes #8474
2017-05-29 10:48:38 +02:00
Cédric Reginster
ee0d0155a5
Refactor to component based style
2017-05-26 15:43:09 +02:00
Cédric Reginster
f484b4c347
Make csv export date time format configurable
...
- Move export csv options to modal dialog
2017-05-26 15:43:09 +02:00
Daniel Lee
3292a48381
graph: dashes with linewidth fix. Fixes #8469
...
Adds series override options for dash spaces and dash length.
2017-05-26 15:09:05 +02:00
Victor Azevedo
0a1c2a7024
use fielddata_fields in elasticsearch 2.x queries
...
Resolves issue #8467
2017-05-25 11:43:29 -04:00
Torkel Ödegaard
90871ca12e
Merge branch 'v4.3.x'
2017-05-24 16:48:05 +02:00
Torkel Ödegaard
896f849b84
fix: influxdb query editor did no show alias by input field when in text editor mode, fixes #8459
2017-05-24 16:47:38 +02:00
Torkel Ödegaard
a5318def66
Merge branch 'v4.3.x'
2017-05-24 11:20:35 +02:00
Torkel Ödegaard
634ee0f9fa
fix: graphg panel logarithmic scale goes blow x-axis, fixes #8244
2017-05-24 11:20:07 +02:00
Torkel Ödegaard
3695337980
refactoring: Elasticearch filter label PR #8420
2017-05-23 15:14:23 +02:00
Torkel Ödegaard
648e8a9547
Merge branch 'master' of https://github.com/limefamily/grafana into limefamily-master
2017-05-23 14:48:14 +02:00
Daniel Lee
73cb035231
mysql: annotation support. Fixes #8382
...
Simple query editor - a text area with a Show Help section.
Validation for empty query and if the time_sec column is missing.
2017-05-23 09:53:20 +02:00
Torkel Ödegaard
7c50563f0f
fix: fixed crash when gzip was enabled
2017-05-22 14:09:54 +02:00
Torkel Ödegaard
a64c06d02c
mysql: add user permission notice mysql config view, closes #8359
2017-05-22 13:53:43 +02:00
Torkel Ödegaard
a0b9dcad4d
alert: alerting annotation improvements, fixes #8421
2017-05-22 13:02:49 +02:00
Torkel Ödegaard
499e01d832
feat: metrics tab reworking
2017-05-20 18:21:41 +02:00
Torkel Ödegaard
5fcb966297
feat: query troubleshooter progress
2017-05-19 17:35:36 +02:00
Torkel Ödegaard
9045be5689
fix: Prometheus & hidden queries caused no metric query to be issued, fixes #8413
2017-05-19 10:24:47 +02:00
田子宽
9c35d3f87c
Add kibana like readable label to elasticsearch query builder
2017-05-19 11:38:28 +08:00
Torkel Ödegaard
8918922179
alerting: fixed issue with included alerting error & no data reasons, fixes #8412
2017-05-18 14:10:12 +02:00
Torkel Ödegaard
d261f33c3d
influxdb: influxdb query editor changes
2017-05-17 13:27:56 +02:00
Torkel Ödegaard
972be88569
fix: singlestat gauge sizing issue when panel is very wide, fixes #7773
2017-05-17 11:56:40 +02:00
Torkel Ödegaard
8e03f321eb
fix: Elasticsearch table aggregation and support for many aggregations of same type, now uses field name if more than 1 aggregation of same type, fixes #4709
2017-05-17 11:33:08 +02:00
Torkel Ödegaard
02c79a6389
influxdb: improvements to influxdb query editor, SLIMIT, LIMIT and ORDER BY now added on demand by plus button
2017-05-16 16:28:58 +02:00
Torkel Ödegaard
8b11712f5e
fix: Graphite issue with toggle edit mode in query editor, fixes #8377
2017-05-16 14:29:30 +02:00
Torkel Ödegaard
910e54d75e
Merge branch 'master' of github.com:grafana/grafana
2017-05-11 16:31:31 +02:00
Torkel Ödegaard
2e7ac8f2da
heatmap: fix for unit options width
2017-05-11 15:20:13 +02:00
Mitsuhiro Tanda
5e85558e9e
(prometheus) fix graph link ( #8349 )
2017-05-11 14:24:13 +02:00
Torkel Ödegaard
f976e465c4
mysql: minor improvement for table panel
2017-05-11 11:06:13 +02:00
Torkel Ödegaard
4ce0bf4d16
mysql: improved mysql data source, added test feature when adding data source, fixed cache issue
2017-05-11 10:50:24 +02:00
Torkel Ödegaard
ab6740c685
heatmap: Docs and heatmap fixes
2017-05-11 10:19:47 +02:00
Torkel Ödegaard
30b6c3b54a
build: fixed heatmap test
2017-05-11 08:56:32 +02:00
Suzana Pescador
8c9cc4fae1
[Bug] Coloring Background on siglestat panel #7242 ( #8334 )
...
The bug was happening because the background color was being based on
the rounded value (accounting the user defined decimals). Changed it to
use the pure value (not the rounded) to follow whats being done in the
value color, and also in the table thresholds (they don't consider the
decimals when comparing to thresholds).
2017-05-10 20:02:35 +02:00
Torkel Ödegaard
1d4338ba54
Merge branch 'master' of github.com:grafana/grafana
2017-05-10 17:19:03 +02:00
Torkel Ödegaard
0a68dabb89
heatmap: Fixes & progress on heatmap docs
2017-05-10 17:17:51 +02:00
Suzana Pescador
d6eefcb5ce
Can't remove default avg column in table #4515 ( #8335 )
...
Avg column was being added at every rendering, if the table was empty.
Now the column will be added once as an initialization when selecting a
'timeseries_aggregations' transform.
2017-05-10 15:51:34 +02:00
Torkel Ödegaard
d791f902e9
heatmap: more refactoring
2017-05-10 13:05:26 +02:00
Torkel Ödegaard
acff78d421
Merge branch 'master' into heatmap-refactoring2
2017-05-09 12:41:11 +02:00
Torkel Ödegaard
8bbff2c44e
table: refactoring table options, now column styles are in a seperate tab
2017-05-09 12:35:44 +02:00
Torkel Ödegaard
e218052a90
fix: fixed slow down issue in table panel by removing the fillter null values feature ( #7602 ), not sure the filter null values is a good table option, should be done in metric query, fixes #8234
2017-05-09 12:07:06 +02:00
Torkel Ödegaard
79120a0b1f
Merge branch 'master' of github.com:grafana/grafana
2017-05-09 08:33:43 +02:00
Torkel Ödegaard
8d072de556
elasticsearch: changed default terms min_doc_count to 1 and order by to desc, closes #8231
2017-05-09 08:33:37 +02:00
Anton Yackushev
fdc97010b4
Rename fielddata_fields to docvalue_fields ( #8317 )
...
The parameter fielddata_fields is deprecated and removed in 5.0 https://github.com/elastic/elasticsearch/issues/19027
2017-05-09 07:16:48 +02:00
Torkel Ödegaard
25a267a7ab
fix: segment used influxdb naming for variable in options callback, should be more generic
2017-05-08 16:08:53 +02:00
Torkel Ödegaard
f168c9e53d
table: minor ux options update
2017-05-08 15:57:15 +02:00
Torkel Ödegaard
be284adacc
table: more table options refactoring
2017-05-08 15:26:05 +02:00
Torkel Ödegaard
556829eda9
table: began table options redesign
2017-05-08 11:17:29 +02:00
Dan Cech
e8fbfce59a
remove unneeded import, update docs text
2017-05-05 13:11:44 -04:00
Dan Cech
0f24b45c1a
Merge branch 'master' into table-col-alias
2017-05-05 12:41:35 -04:00
Dan Cech
29653d2bec
refactor and add column alias tests
2017-05-05 12:40:49 -04:00
Torkel Ödegaard
fbf39598b8
heatmp: removed series stats option, lacked tests
2017-05-05 17:33:54 +02:00
Torkel Ödegaard
ece21b2d95
heatmap: more refactoring
2017-05-05 17:28:33 +02:00
Torkel Ödegaard
dd5a426911
heatmap: refactoring heatmap
2017-05-05 16:15:08 +02:00
Torkel Ödegaard
43c6f74904
heatmap: removed fill background, and highlight card options
2017-05-05 12:33:04 +02:00
Torkel Ödegaard
4412e41738
ux: updated heatmap and alertlist icons
2017-05-05 11:43:42 +02:00
Torkel Ödegaard
6ee11f1172
heatmap: minor update
2017-05-05 07:05:11 +02:00
Torkel Ödegaard
f167d459fe
Merge branch 'heatmap-refactor'
2017-05-04 19:56:29 +02:00
Torkel Ödegaard
5acabc6ccb
heatmap: refactoring
2017-05-04 19:56:20 +02:00
Torkel Ödegaard
61b51c0cbf
heatmap: refactoring
2017-05-04 16:03:47 +02:00
柯豪
b7a1ff753a
update name for AWS credentials ( #8287 )
2017-05-04 11:44:36 +02:00
Torkel Ödegaard
0bab1fd088
Merge branch 'templating-docs', closes #8243
2017-05-04 11:17:39 +02:00
Torkel Ödegaard
ed8d284715
docs: updated prometheus docs
2017-05-03 15:50:38 +02:00
Torkel Ödegaard
b042c53980
ux: updated heatmap icon
2017-05-03 08:56:51 +02:00
Torkel Ödegaard
0fd96b951a
wip: heatmap refactor
2017-05-02 09:55:18 +02:00
Dan Cech
2361e2ddd9
fix moment.js deprecation warning when running tests
2017-04-27 15:29:32 -04:00
Dan Cech
b1691f1cd1
add support for column aliases in table panel
2017-04-27 15:23:49 -04:00
Torkel Ödegaard
a0d8afd435
ux: minor change to styles & heatmap option names
2017-04-26 14:18:58 +02:00
Daniel Lee
6707d77af5
graph: dashes option only used in series overrides
...
Removes dashes option from Display tab so that it is only available
for series overrides. Also removes options for dash space and length
in series overrides and just uses the default values of 10 for both of
them.
2017-04-26 13:19:24 +02:00
smalik
1a3bc60e69
feat(dashed lines): Implementing dashed lines
...
Adding support for dashed lines using jquery.flot.dashes.js
2017-04-26 13:19:24 +02:00
Torkel Ödegaard
d2a22e7b23
influxdb: fixed template variable interpolation of multi valued variables when using raw query editor mode, fixes #8165
2017-04-25 17:27:57 +02:00
Torkel Ödegaard
6ff1144abf
refactoring: prometheus PR #6140
2017-04-25 12:57:23 +02:00
Torkel Ödegaard
787fea90b9
heatmap: changed name of heatmap data format option, #8054
2017-04-24 15:17:57 +02:00
sbhenderson
c485fed744
Fix to issue 2524 by limiting number of returned measurements for display. ( #8092 )
2017-04-24 11:44:29 +02:00
Torkel Ödegaard
2b029912aa
mysql: query editor fix
2017-04-24 10:58:53 +02:00
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
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
809467955a
Merge branch 'master' into create-annotations
2017-04-18 17:07:44 +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
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
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
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
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
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
Torkel Ödegaard
0156a94a49
annotations: you can now read annoations via manually created annoation query
2017-04-12 15:46:41 +02:00
Torkel Ödegaard
78f4bd2de9
Merge branch 'create-annotations' of github.com:grafana/grafana into create-annotations
2017-04-12 15:01:31 +02:00
Torkel Ödegaard
752b42798a
annotations: added new options hide toggle, and show option
2017-04-12 15:01:17 +02:00
Alexander Zobnin
232513bb4e
graph(add annotation): refactor
...
pass ctrlKey and metaKey through flot events
2017-04-12 15:26:34 +03:00
Torkel Ödegaard
8eb112d119
plugins: refactoring builtIn data source concept, now means data source plugins that you do not need to add via data sources page, that is automatically added as selectable data source, #8095
2017-04-12 08:23:44 +02:00
Chris Burkhart
d12dc2bfa7
Add alwaysDisplayed option to datasource plugins, this will allow it to show up as an option to select when adding queries to a panel without actually adding it as a datasource.
2017-04-11 13:47:53 -07:00
Torkel Ödegaard
89a7c2c686
influxdb: validate database exist when saving data source, fixes #7864
2017-04-11 15:05:30 +02:00
Torkel Ödegaard
9bdcc4ec5f
influxdb: holt winters edits
2017-04-11 14:40:08 +02:00
Alexander Zobnin
70bca219e3
graph(add annotation): Add keybinding for CTRL key
2017-04-11 10:24:21 +03:00
Alexander Zobnin
362860f687
graph(add annotation): able to select region (start and stop time) #1286
2017-04-10 12:45:08 +03:00
Alexander Zobnin
32d34aed7a
graph: initial Add Annotation flow #1286
2017-04-08 19:44:40 +03:00
Torkel Ödegaard
1cd632cc43
plugins: added state property to plugins
2017-04-07 12:00:03 +02:00
Torkel Ödegaard
26804d630f
Merge branch 'master' into sql-proxy
2017-04-07 10:34:51 +02:00
Torkel Ödegaard
3b47efe70e
graph: minor change to histogram buckets input field
2017-04-07 10:16:57 +02:00
Alexander Zobnin
7e14797b10
graph: initial histogram support #600 ( #8053 )
...
* graph: initial histogram support #600
* graph histogram mode: add Bars number option
* graph histogram mode: fix X axis ticks calculation
* graph histogram mode: change bar style (align and width)
* refactor(graph): move histogram functions into separate module
* graph histogram mode: rename series to "count"
* graph histogram mode: fix errors if no data
* refactor(graph and heatmap): move shared code into app/core
* graph: add tests for histogram mode
2017-04-07 10:07:30 +02:00
Alexander Zobnin
308d46e4ef
Fix 8013 ( #8027 )
...
* Add @ngInject to HeatmapCtrl constructor, issue #8013
* Remove unused loadPluginCss
2017-04-04 11:02:25 +02:00
Torkel Ödegaard
dd800fd14d
fix: table panel could not show annotations due to bug introduced in 4.2, fixes #8023
2017-04-03 22:07:09 +02:00
Alexander Zobnin
ecd404335e
heatmap: fix error with null values in ES converter ( #7999 )
2017-03-31 17:13:26 +02:00
Torkel Ödegaard
f77f8ebfc6
heatmap: changes to color spectrum, inverted some on dark theme
2017-03-31 17:12:50 +02:00
Torkel Ödegaard
39e45004cd
heatmap: inverted the color schemes
2017-03-31 16:09:00 +02:00
Torkel Ödegaard
4445c9ce60
Merge branch 'heatmap-panel' of https://github.com/alexanderzobnin/grafana into alexanderzobnin-heatmap-panel
2017-03-31 14:26:52 +02:00
Torkel Ödegaard
5af81b974e
mysql: graph showing
2017-03-31 13:57:10 +02:00
Alexander Zobnin
b18ed0b98f
heatmap: calculate bucket size automatically for ES histogram
2017-03-31 12:51:43 +03:00
Torkel Ödegaard
d6d2080f11
mysql: minor progress on response processing
2017-03-31 11:45:25 +02:00
Alexander Zobnin
cb136c07b8
heatmap: add function for bucket size calculation
2017-03-31 11:44:44 +03:00
Alexander Zobnin
9ddfeaa9c2
heatmap: initial ES histogram support
2017-03-30 21:36:36 +03:00
Alexander Zobnin
3170f0d84a
heatmap: add ES histogram converter
2017-03-30 20:55:10 +03:00