Daniel Lee
8a8a1b8e11
Fix: Prometheus regex ad-hoc filters w/ wildcards ( #16234 )
...
Fixes #14615 .
Removes extra escaping for regex filter values when using ad hoc
filters for Prometheus. The extra escaping causes queries with
regex characters to be invalid.
2019-03-27 11:43:17 +01:00
Ryan McKinley
77b3da3e8b
refactor(data models): Renamed TableData to SeriesData ( #16185 )
2019-03-25 14:46:16 +01:00
Torkel Ödegaard
d5a56b0bed
Minor refactoring of #16127
2019-03-22 12:51:12 +01:00
Torkel Ödegaard
c7c0ba5a5a
Merge branch 'prometheus_annotation_deduplication' of https://github.com/mtanda/grafana into mtanda-prometheus_annotation_deduplication
2019-03-22 12:45:46 +01:00
David
9008fcc790
fix(prometheus): Change aligment of range queries ( #16110 )
...
- future alignment cause issues with rate charts and the display of last
values
- this change modifies the alignment to use the last available aligned
end date and no longer possibly requests data from the future
2019-03-21 10:25:20 +01:00
Mitsuhiro Tanda
38457fabc1
fix, assign by event.time
2019-03-21 16:39:37 +09:00
Mitsuhiro Tanda
e868475c5b
simplify
2019-03-21 15:48:22 +09:00
Mitsuhiro Tanda
e1a2b258af
deduplicate same value annotation
2019-03-21 10:26:46 +09:00
ryan
a9cc8a8992
update table data model
2019-03-20 09:45:19 -07:00
Johannes Schill
d6a74a5c90
fix: describe() should not be async
2019-03-14 08:26:01 +01:00
Alexander Zobnin
4e22918010
heatmap: fix prometheus buckets sorting, closes #15637
2019-03-12 10:26:20 +03:00
Johannes Schill
e7297fef06
fix: Add class for input fields with help icon to avoid icon hiding the text #15771
2019-03-06 14:45:13 +01:00
ryan
909d425008
cleanup plugin versions
2019-03-05 23:40:03 -08:00
Daniel Lee
fe1c204d4a
Merge pull request #15290 from mtanda/prometheus_label_names_query
...
(prometheus) support /api/v1/labels
2019-03-05 15:45:14 +01:00
David Kaltschmidt
539333bb01
Explore: Enable click on name label
...
- click on the name label in a prometheus table was disabled
- it was disabled because every query used to have a metric which is no
longer true
- this change enables it
2019-02-26 14:21:46 -08:00
Johannes Schill
5054e841ba
Merge pull request #15551 from grafana/15281-dashboard2explore
...
fix: Filter out values not supported by Explore yet #15281
2019-02-21 16:38:32 +01:00
Johannes Schill
6f9edf4a22
fix: Filter out values not supported by Explore yet #15281
2019-02-19 16:43:39 +01:00
Dominik Prokop
88a46e6dd4
Bump Prettier version ( #15532 )
...
* Fix prettier version to 1.16.4
2019-02-19 15:41:35 +01:00
Torkel Ödegaard
cfea8bdcae
Prettier had not been running as a precommit hook for some time so had to run in on all files again
2019-02-13 11:14:53 +01:00
Mitsuhiro Tanda
d46bf75293
support /api/v1/labels
2019-02-07 13:59:42 +09:00
Torkel Ödegaard
44cef757e5
Merge branch 'hugoh/explore-refactor-initial-modified-queries'
2019-02-05 09:33:28 +01:00
Hugo Häggmark
2c255fd85a
Renamed initialQueries to queries
2019-02-05 06:19:40 +01:00
Johannes Schill
9ab5eeb7f3
fix: Explore: Query wrapping on long queries #15222
2019-02-04 17:26:20 +01:00
Hugo Häggmark
5e2b9e40a2
Added more typings
2019-02-04 11:25:07 +01:00
Hugo Häggmark
2d0fd96621
More types and some refactoring
2019-02-04 07:50:17 +01:00
Hugo Häggmark
acea1d7f00
Alignment of interfaces and components
2019-02-04 07:50:17 +01:00
Torkel Ödegaard
0ac0588583
Merge pull request #15107 from grafana/explore-query-styles
...
Updated Explore query styles to align them to other query editors
2019-01-29 15:38:06 +01:00
Torkel Ödegaard
8b70a8dd50
Fixed explore query editor styling issues
2019-01-29 14:36:09 +01:00
Dominik Prokop
27948b1308
Make language provider cancelable in Loki and Prometheus QueryField, to avoid setting state on unmounted component
2019-01-29 12:11:48 +01:00
Torkel Ödegaard
6dad4cce07
Updated Explore query styles to align them to other query editor to make them fit in better
2019-01-29 08:14:07 +01:00
Torkel Ödegaard
40b73a1fcd
Removed unused props & state in PromQueryField
2019-01-22 09:57:27 +01:00
Torkel Ödegaard
98fabfae3e
wip: typings
2019-01-18 17:23:00 +01:00
Torkel Ödegaard
205e2acdd8
Added data source type to explore state
2019-01-17 19:17:29 +01:00
Torkel Ödegaard
febb9e7168
Moved data source and data query types
2019-01-17 17:59:47 +01:00
Daniel Lee
3bdd4a5c33
changelog: adds note for #14795
2019-01-15 17:14:58 +01:00
David Kaltschmidt
ce3117507a
Prometheus: Fix annotation step calculation
...
- since e731c248d7 step calculation for
annotation queries was broken
- this change puts the interval in the correct parameter so it gets
considered in `createQuery`
- added tests
2019-01-14 17:40:47 +01:00
Torkel Ödegaard
705cbb4095
Minor cleanup now that angular panel edit is no longer
2018-12-17 21:29:25 +01:00
Torkel Ödegaard
8497c854f6
Adding mixed query
2018-12-12 08:54:12 +01:00
Torkel Ödegaard
eb6d0e9f51
Merge branch 'master' into develop
2018-12-07 14:59:38 +01:00
David Kaltschmidt
c0c06e4dd8
Prometheus: Make result transformer more robust for empty responses
...
- some prometheus-compatible backends may return `null` instead of empty lists
- test for lists before iterating
- added tests for empty responses
2018-12-07 11:22:55 +01:00
Torkel Ödegaard
180ca021b5
Merge branch 'master' into develop
2018-12-05 10:17:22 +01:00
Torkel Ödegaard
401b470ebb
added max-widths to explore start pages boxes
2018-12-04 15:06:30 +01:00
Torkel Ödegaard
1fddb6144d
fixed promql and loggging syntax so all punctuation chars are treated the same, remove hover move
2018-12-04 14:57:01 +01:00
Torkel Ödegaard
47523f80dd
fixed logging start page
2018-12-04 12:59:24 +01:00
Torkel Ödegaard
1283a3292d
fixed grabage in markup
2018-12-04 10:16:51 +01:00
Torkel Ödegaard
44414c4346
Misc styling fixes to explore: start page, slate code editor colors, text highlight in auto completeter suggestion
2018-12-03 17:20:02 +01:00
Erik Sundell
d9236c1081
add table support flag for prometheus
2018-11-29 10:39:24 +01:00
David Kaltschmidt
c3b67f3a13
Explore: Logging label filtering
...
- adds a custom label renderer to Logs viewer in Explore
- labels are no longer treated as strings, they are passed as parsed objects to the log row
- label renderer supports onClick handler for an action
- renamed Explore's `onClickTableCell` to `onClickLabel` and wired up log label renderers
- reuse Prometheus `addLabelToSelector` to modify Logging queries via click on label
- added tests to `addLabelToSelector`, changed to include the surrounding `{}`
- use label render also for common labels in the controls panel
- logging meta data section has now a custom renderer that can render numbers, strings, and labels
- style adjustments
2018-11-28 14:20:10 +01:00
David Kaltschmidt
91ea8dccf5
Explore: Fix JS error when switching between 2 prometheus datasources
...
- since the DataQuery rewrite, Explore starts by submitting its queries (Explore cant know if the queries are emtpty)
- The datasource intercepts an empty query and returns an empty list of time series, and also no table for the table query.
- The query hinter then received no series to analyse and was not guarding against this.
- This PR adds this guard.
2018-11-26 13:43:22 +01:00
Torkel Ödegaard
efcbb92b3f
Merge pull request #14170 from grafana/davkal/explore-prometheus-range-sort
...
Sort Prometheus range suggestions by length
2018-11-23 19:22:24 +01:00