Commit Graph

6584 Commits

Author SHA1 Message Date
Piotr Jamróz
ed155e47c4
Graphite: Fallback to hardcoded list of functions when no functions are returned (#46681) 2022-03-17 14:26:08 +01:00
Torkel Ödegaard
60af3af92c
Prometheus/Loki: Allow custom value in operation selects (#46679)
* Prometheus/Loki: Allow custom value in operation selects

* Add missing operator
2022-03-17 12:55:47 +01:00
Andrej Ocenas
22a4c5f086
Prometheus: Add optional param tooltip for visual builder (#46644) 2022-03-17 10:51:42 +01:00
Andrej Ocenas
ee87ed3b51
Prometheus: Parsing for vector matching and UI changes (#46668) 2022-03-17 10:50:49 +01:00
Joao Silva
00c93fff8c
Grafana-UI: Fix use of Fragments as children of InlineField (#46326) 2022-03-15 17:50:29 +00:00
Andrej Ocenas
ecdbcd4941
Prometheus: Fix support of AdHoc filters for specific queries (#46547)
* Use parser to deal with ad hoc filters

* Add comment

* Fix variable naming

* Fix tests
2022-03-15 17:37:20 +01:00
Andrej Ocenas
a2cec62fa2
Prometheus: Fix parsing of binary operations (#46549) 2022-03-15 17:00:29 +01:00
Nathan Marrs
11aa6a3e8f
Value mapping/add icon support (#44503)
Co-authored-by: Ryan McKinley <ryantxu@users.noreply.github.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-15 08:51:12 -07:00
Alexander Kubyshkin
5cf0906622
Add unpack to Loki Log Browser (#44623). (#46573) 2022-03-15 14:17:36 +01:00
Dominik Prokop
f452e068f0
TimeSeries: Add migration for Graph panel's transform series override (#46577) 2022-03-15 14:29:15 +02:00
Sarah Zinger
275f33cf37
Azure Monitor: Add feature gating for new MetricsQueryEditor with resource picker (#46124)
* Azure Monitor: Use feature toggle for dev of new UI for Metrics Queries.

* Fixes after CR
2022-03-14 15:07:45 -04:00
Andrej Ocenas
04409799fb
Prometheus: Allow boolean params on operations and add bool modifier parsing (#46448)
* Allow boolean params on operations and add bool modifier parsing

* Allow float number literals
2022-03-14 17:36:25 +01:00
Andrej Ocenas
b3f8079f4f
Prometheus: Add title to metrics in the metric select with metric help text (#46406)
* Add title to metrics in the select

* Add some comments

* Fix tests
2022-03-10 16:58:25 +01:00
Torkel Ödegaard
c952c9c90a
Loki: Adds more options to make line filter UX better (#46324)
* Loki: Adds more options to make line filter UX better

* Sync wording

* Tweak width

* More tweaks

* Added descriptions as well
2022-03-10 10:12:54 +01:00
Torkel Ödegaard
806b0e3b23
Prometheus/Loki: Improve operations header UX (#46346)
* Prometheus/Loki: Improve operations header UX

* More tweaks

* Rename file to match compponent
2022-03-10 09:38:53 +01:00
jcolladokuri
ce543037f1
Azure Monitor: Add 2 more Curated Dashboards for VM Insights (#45187)
Some fixes to the App Insights Curated Dashboard for Azure Monitor as well.
2022-03-09 09:02:59 -05:00
Torkel Ödegaard
79e5e5c024
DataSource: Default data source is no longer a persisted state but just the default data source for new panels (#45132)
* PanelEdit: Change the meaning of default data source to be just that the default for new panels

* Added migration, and also migration for annotation datasource prop to data source refs

* fix

* Fixing tests

* Fixes to annotation

* Fixing unit test
2022-03-08 08:56:12 +01:00
Leon Sorokin
a9ee446de4
HeatmapNG: fix Prometheus frame-per-bucket heatmap response rendering (#46309) 2022-03-07 20:51:11 -06:00
Leon Sorokin
0ee552dd65
LegacyBrowser: fix Safari 13.1 (lacks logical nullish assignent) (#46260) 2022-03-07 09:21:28 -06:00
Andrej Ocenas
1604e09549
Prometheus: Add text to Add operation button (#46249) 2022-03-04 15:59:11 +01:00
Andrej Ocenas
5aa1713941
Prometheus: Support more binary operations in visual builder (#46241)
* Add definitions and code to parse more binary ops

* Add alternativesKey

* Add signs to nested query

* Change label
2022-03-04 15:04:09 +01:00
Jack Westbrook
9b5a42845d
Chore: Remove prettier-plugin from ESLint (#45910)
* chore(eslint): remove prettier-plugin

* chore(eslint): test changes by using grafana/eslint 3.0.0-alpha

* chore(prettier): add js,ts,tsx when checking / writing

* chore(prettier): dont check js files

* chore(linting): align prettier and eslint ignore files

* style: run prettier:write on FE codebase

* chore(eslint): use grafana/eslint-config@3.0.0
2022-03-04 10:49:50 +01:00
matt abrams
52629fbc4e
Postgres: Return tables with hyphenated schemes (#45754)
* add basic test for buildSchemaConstraint function

* wrap table schema in quote_ident function

* fix type error in meta_query.test

* swap test for inline comment

* make comment more readable
2022-03-04 09:56:55 +01:00
Gábor Farkas
c4404982dc
loki: backend-mode: add nanosecond-timestamps (#45963) 2022-03-04 09:42:18 +01:00
Leon Sorokin
3e3a657343
BarChart: fix hovered series highlight in tooltip (#44882) 2022-03-03 10:57:54 -06:00
Ashley Harrison
b1125c0ba3
TextPanel: Sanitize after markdown has been rendered to html (#46166)
* Sanitize after markdown has been rendered to html

* Update e2e test
2022-03-03 16:50:09 +00:00
Andres Martinez Gotor
cfbf58fb92
AzureMonitor: Move rest of deprecated code (#46109) 2022-03-03 17:16:10 +01:00
Connor Lindsey
cb1649e9b8
NodeGraph: Include frames with name edges or nodes in node graph (#46047)
* Include frames with name edges or nodes in node graph
2022-03-03 06:42:08 -07:00
Torkel Ödegaard
3b487c2661
Loki: Initial loki builder tests (#46076) 2022-03-03 14:30:17 +01:00
Andrej Ocenas
6dea7275a6
Prometheus: Improved the function selector with search (#46084)
* Change to cascader with search

* Don't change to select on backspace

* Fix error on group select

* Simplify getOperationDef

* Set cascader wrapper to fixed width

* Add placeholder

* Fix tests and type errors

* Fix props for backward compatibility

* Add comments
2022-03-03 10:24:33 +01:00
renovate[bot]
52568c7af1
Update dependency ol to v6.13.0 (#45949)
* Update dependency ol to v6.13.0

* fix types

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-03 09:45:33 +01:00
matt abrams
c863676b65
Postgres: Fix aggregate dropdown when TimescaleDB is enabled (#45993)
* add timescaleDB checker function

* use existing fn findAggregateIndex

* build options from empty list

* refactor fn and handle state for existing elem

* remove newline
2022-03-03 09:29:37 +01:00
Leon Sorokin
89140c8353
Graph (old): fix null interval insertion, again (follow-up to #46069) (#46139) 2022-03-03 00:02:18 -08:00
Leon Sorokin
854f872b40
StateTimeline: insert trailing null value at +interval (#45997) 2022-03-02 18:21:12 -06:00
renovate[bot]
1f332a846b
Update dependency lezer-promql to v0.22.0 (#45838)
* Update dependency lezer-promql to v0.22.0

* Add missing peerdep + fixes in code

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-03-02 19:45:08 +01:00
Ryan McKinley
855979aac5
Heatmap: add scale display to legend (#45571)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2022-03-02 09:04:19 -08:00
Torkel Ödegaard
5c05a3deb9
Prometheus: Save query editor mode default (#46074) 2022-03-02 16:16:19 +01:00
Andres Martinez Gotor
d4b05f9421
AzureMonitor: Remove deprecated configuration parameters (#45860) 2022-03-02 15:42:30 +01:00
Marco Dalalba
e738896316
Jaeger: Add support for traceID field to accept variables. (#45559) 2022-03-02 07:35:36 -07:00
Isabella Siu
590ea19c3f
Cloudwatch: use CheckHealth for testing datasource (#45974)
Co-authored-by: Shirley Leu <4163034+fridgepoet@users.noreply.github.com>
2022-03-02 08:48:51 -05:00
Torkel Ödegaard
a53f169350
Loki: Update syntax highlighting to colorize strings (#45962)
* Loki: Update syntax highlighting to colorize strings

* Updated patterns
2022-03-02 13:43:56 +01:00
Erik Sundell
8e08128f83
CloudWatch: List all metrics properly in SQL autocomplete (#45898)
* make sure right value is passed for metric

* add unit test
2022-03-02 10:46:17 +01:00
Leon Sorokin
fa99143eee
Graph (old): use timeField.config.interval to apply null insertion logic (#46069) 2022-03-01 23:23:48 -06:00
Ryan McKinley
796bc27f75
Loki: support live streaming (#42804) 2022-03-01 14:46:52 -08:00
Torkel Ödegaard
9bd6290968
Prometheus: Query builder operation docs popover improvements (#46006) 2022-03-01 13:12:14 +01:00
Torkel Ödegaard
16b99cc0f5
Prometheus: Query builder ux tweaks (#46017) 2022-03-01 13:11:47 +01:00
Stephanie Closson
251d6ed0e0
Chore: Add function documentation for new functions (Prometheus visual query editor) (#45745)
* add missing function documentation

* added trigonometric functions
2022-03-01 07:42:32 -04:00
Leon Sorokin
b491d6b4dc
Histogram: auto-skip x tick labels to avoid overlap (#45996) 2022-03-01 01:55:53 -06:00
Leon Sorokin
1c4b20b268
BarChart: fix single group rendering (#45953) 2022-02-28 15:21:09 -06:00
Leon Sorokin
5aab0063c7
StateTimeline: fix duration in tooltip (#45955)
- Fixes duration in StateTimeline appearing incorrectly when "merge consecutive values" is enabled.
2022-02-28 14:16:30 -06:00