Commit Graph

6622 Commits

Author SHA1 Message Date
Torkel Ödegaard
21fd9dd056
Loki: Adds line format operation (#47015) 2022-03-30 09:11:36 +02:00
Leon Sorokin
475a027562
Prometheus: make JS heatmap response a single-frame (field-per-bucket) (#46611) 2022-03-29 22:23:08 -06:00
Torkel Ödegaard
feaa4a5c64
Loki: Support binary operations and nested queries in new builder (#47012)
* Binary ops support

* Add support for nested expressions in loki

* Nested queries working

* Fixing tests

* Share more code between loki and prometheus query modellers
2022-03-29 18:50:07 +02:00
Andrej Ocenas
10d8ccc8ff
Loki: Return false from isMetricsQuery if query is empty (#47024) 2022-03-29 18:18:43 +02:00
Torkel Ödegaard
5f9cd7b875
Loki: Add aggregate by label support (#46965)
* Loki: Add aggregate by label support

* Label lookups now work for loki

* Fixed ts issue

* review comment fixed
2022-03-29 17:49:21 +02:00
Piotr Jamróz
bf977ac245
Explore: Fix time interpolation (#46737)
* Ensure TemplateService is updated with new time range on each time range change.

* Fix linting errors

* Fix explorePane.test.ts

* Reuse createDefaultInitialState

* Remove unused imports

* Add a test for left/right split

* Silence console.error in tests

* Silence console.error in tests
2022-03-29 15:10:40 +02:00
myml
23a1dbc264
feat: Bar Gauge Support scrolling (#46819)
* feat: Bar Gauge Support scrolling

* Update public/app/plugins/panel/bargauge/module.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/plugins/panel/bargauge/module.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* docs: Bar gauge add 'min-width' and 'min-height'

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
2022-03-29 11:21:45 +01:00
Fabien Pelletier
51396d5363
enable logs for postgres data source (#39496)
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-03-26 11:08:00 +01:00
Sarah Zinger
d5f40b63bb
Azure Monitor: Add support for multiple template variables in resource picker (#46215) 2022-03-25 14:12:52 -04:00
Andrej Ocenas
20b4112b3b
Prometheus: Report error when parens are used and switching to visual builder (#46899) 2022-03-25 14:03:30 +01:00
Torkel Ödegaard
1c648cb52c
Loki: Adds options to the new query builder (#46783)
* Initial commit for loki builder options

* Loki query options

* Added some basic tests

* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryBuilderOptions.test.tsx

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* Updated options

* All option changes should trigger query

* Fixed ts issue

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-03-25 13:13:55 +01:00
Yaelle Chaudy
c00f488f89
Azure Monitor : Add support for the resource picker to be configurable to only select some entry types (#46735)
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com>
Co-authored-by: Andres Martinez Gotor <andres.mgotor@gmail.com>
Co-authored-by: Isabella Siu <isabella.siu@grafana.com>
Co-authored-by: Sarah Zinger <sarah.zinger@grafana.com>
2022-03-25 12:22:28 +01:00
Andres Martinez Gotor
987afeee38
Chore: Cover CloudMonitoring function utils with tests (#46878) 2022-03-24 09:47:59 +01:00
Ivana Huckova
7839fadf00
Loki: Fix fetching of second label set for the streams selector (#46898)
* Fix fetching of labels

* Add test
2022-03-23 17:59:48 +00:00
matt abrams
562a25ad99
increase label width on TLS info (#46816) 2022-03-23 17:22:08 +00:00
Joey Tawadrous
aabafee90a
InfluxDB: annotations migration to backend (#45635)
* Annotations backend migration

* Response parser checks

* Moved parse to response parser

* Removed unused imports

* Update type

* response_parser test

* response_parser test for text

* Removed from ctx

* Use vars in annotationQuery

* Tags and tests

* Removed import
2022-03-23 16:02:29 +00:00
Sarah Zinger
dd49f9d182
Azure Monitor: Small bug fixes for Resource Picker (#46665)
- fixes issue with checkbox styling
- fixes issue with selecting subscriptions
2022-03-23 09:38:46 -04:00
Torkel Ödegaard
76c9ad2d9b
Loki: Improve operation ordering when adding new operations (#46598) 2022-03-23 07:42:25 +01:00
Kevin Yu
ba62f5ad5d
Chore: clean up console warning from SQL Builder Editor tests (#46779)
* Chore: clean up console warning from SQL Builder Editor tests

* Re-add test for checking dimensions filter
2022-03-22 09:39:51 -07:00
Kevin Yu
54d4a69e91
Chore: clean up console warning from Metrics Query Editor tests (#46747)
* Chore: clean up console warning from Metrics Query Editor tests

* Chore: remove type assertions
2022-03-21 12:21:04 -07:00
Kevin Yu
7480ba0226
Chore: clean up console warning from SQL Group By tests (#46733) 2022-03-21 12:20:48 -07:00
Shirley
499445a5f9
Azure Monitor: Bump core plugin version (#46776)
* Azure Monitor: Bump core plugin version

* Remove updated, update learn more link
2022-03-21 19:01:26 +01:00
jcolladokuri
237ca1660f
AzureMonitor: Add Links to Azure Portal for VM Insights dashboards (#46482) 2022-03-21 12:59:14 +01:00
jcolladokuri
0dc4db0a94
AzureMonitor: Update curated dashboards (#46745) 2022-03-21 12:01:22 +01:00
Andres Martinez Gotor
788fde7ead
AzureMonitor: Update China regions (#46695) 2022-03-21 09:36:26 +01:00
Gábor Farkas
890a7cdd7c
loki: add id-field (#46519)
* loki: add id-field

* fixed test
2022-03-21 09:15:52 +01:00
Adela Almasan
bb8304c838
Heatmap: Color scale improvements (#46751)
* Updated color scale tooltip and added follower

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-18 21:03:06 -05:00
Adela Almasan
576b73ed48
Updated bucket size/offeset settings; Check for negative values in bucket size (#46754) 2022-03-18 18:47:34 -05:00
Pierre Baumard
1dbfbc0e96
GeoMap: support setting view based on map data (#44852) 2022-03-18 11:13:55 -07:00
Ashley Harrison
6eecd021a4
Chore: Fix a couple more console errors in jest tests (#46732)
* Chore: Fix a couple more console errors in jest tests

* remove console.errors

* better spy

* Fix linting
2022-03-18 17:25:59 +01:00
renovate[bot]
644e7e7c19
Update dependency lru-cache to v7.7.1 (#46675)
* Update dependency lru-cache to v7.7.1

* update snapshot

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-03-18 11:30:15 +00:00
Nathan Marrs
7589b83c5b
Icon: Fix default icon color mismatch with default fill color (#46602) 2022-03-17 14:52:32 -07:00
Connor Lindsey
0da40b7f09
Tempo: Separate trace to logs and loki search datasource config (#46655)
* Tempo: Separate trace to logs and loki search datasource config

* Add getLokiSearchDS util and tests
2022-03-17 11:23:15 -06:00
Kevin Yu
fb17b9f545
Chore: clean up console warning from Annotation Query Editor tests (#46660) 2022-03-17 07:00:42 -07:00
Kevin Yu
56b750dc42
Chore: clean up console warning from Cloudwatch Dimensions tests (#46661) 2022-03-17 06:59:55 -07:00
Kevin Yu
7c255f190c
Chore: clean up console warning from Query Header tests (#46663) 2022-03-17 06:57:43 -07:00
Kevin Yu
cffa52d906
Chore: clean up console warning from Metric Stat Editor tests (#46662) 2022-03-17 06:57:23 -07:00
Kevin Yu
50bbbbf376
Chore: clean up console warning from Resource Picker tests (#46664) 2022-03-17 06:55:14 -07:00
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