grafana-delivery-bot[bot]
701c851be7
[v10.4.x] Google Cloud Monitor: Fix res being accessed after it becomes nil in promql_query.go ( #85959 )
...
Google Cloud Monitor: Fix `res` being accessed after it becomes `nil` in `promql_query.go` (#84223 )
Fix res being accessed after it becomes nil in promql_query.go
(cherry picked from commit c2b94429e4 )
Co-authored-by: Adam Yeats <16296989+adamyeats@users.noreply.github.com >
2024-04-11 15:53:41 +01:00
grafana-delivery-bot[bot]
b560729873
[v10.4.x] SQLEngine: Use debug method instead of custom implementation ( #85154 )
...
SQLEngine: Use `debug` method instead of custom implementation (#85118 )
Use debug method instead of custom implementation
(cherry picked from commit 19159a89a2 )
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-03-26 13:45:20 +02:00
grafana-delivery-bot[bot]
3328ac8206
[v10.4.x] Prometheus: Prevent duplicate registration of custom header middleware ( #85120 )
...
Prometheus: Prevent duplicate registration of custom header middleware (#84860 )
* remove dupe middleware
* fix test
(cherry picked from commit c8c372c327 )
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2024-03-25 22:39:30 +02:00
Will Browne
e1fc1e9a13
[v10.4.x] Chore: Update grafana-plugin-sdk ( #85087 )
...
* Chore: Update grafana-plugin-sdk (#84289 )
(cherry picked from commit 265200799d )
* Re-generate openapi
---------
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
Co-authored-by: Giuseppe Guerra <giuseppe@guerra.in >
2024-03-25 21:27:55 +02:00
grafana-delivery-bot[bot]
d486fa87ab
[v10.4.x] Elasticsearch: Fix legend for alerting, expressions and previously frontend queries ( #84685 )
...
* Elasticsearch: Fix legend for alerting, expressions and previously frontend queries (#84485 )
* Elasticsearch: Fix legend for alerting, expressions and previously frontend queries
* Add comment
* Update comment
(cherry picked from commit 494d169980 )
* Pass correct param to NewClient (this is not needed on main)
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
Co-authored-by: Ivana Huckova <ivana.huckova@gmail.com >
2024-03-20 15:03:06 +01:00
grafana-delivery-bot[bot]
f4a9aa1171
[v10.4.x] Loki: Fix null pointer exception in case request returned an error ( #84401 )
...
Loki: Fix null pointer exception in case request returned an error (#84398 )
Loki: Fix nullpointer in case query returned an error
(cherry picked from commit 34f9bff9e0 )
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2024-03-13 19:31:12 +02:00
Sven Grossmann
7f7ab32444
Elasticsearch: Add error source to logs ( #82901 )
2024-02-16 16:28:46 +01:00
ismail simsek
94f544c9f6
InfluxDB: Fix tag interpolation when varable used within a regex pattern ( #82785 )
...
* fix tag interpolation
* remove redundant variables
2024-02-16 10:20:09 +01:00
ismail simsek
916a7bbb08
Prometheus: Move converter in prometheus package ( #82269 )
...
* use jsoniter from sdk
* move converter into the prometheus
* remove jsonitere
* unit test
* remove redundant ownership
2024-02-15 15:09:30 +01:00
Gábor Farkas
c6d91e9065
sql: remove unused code ( #82527 )
2024-02-15 12:25:35 +01:00
Gábor Farkas
1bab82ab36
mssql: socks proxy: use plugin-sdk ( #82407 )
2024-02-15 12:01:18 +01:00
Gábor Farkas
2938f891dd
mysql: socks proxy: use plugin-sdk ( #82375 )
2024-02-14 13:05:47 +01:00
Gábor Farkas
4c221966e4
postgres: socks proxy: use plugin-sdk ( #82376 )
2024-02-14 13:05:31 +01:00
ismail simsek
3f940f4da1
Chore: Use jsoniter in influxdb from grafana-plugin-sdk-go ( #82360 )
...
use jsoniter from grafana-plugin-sdk-go
2024-02-13 17:47:00 +01:00
Ivana Huckova
082f020b7d
Elasticsearch: Fix resource calls for paths that include : ( #82327 )
...
* Elasticsearch: Fix resource calls for paths that include :
* Add tests
* Add test case and comment
* Remove redundant comment
2024-02-13 13:44:08 +01:00
ismail simsek
34fddfce10
Chore: Use jsoniter in cloud-monitoring from grafana-plugin-sdk-go ( #82358 )
...
use jsoniter from grafana-plugin-sdk-go
2024-02-13 12:23:37 +01:00
Ryan McKinley
0c6e409350
Chore: Update arrow and prometheus dependencies ( #82215 )
...
* update arrow and prometheus
* keep codeowner
* use compare
* use grafana-plugin-sdk-go v0.210.0
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-02-13 01:50:25 +01:00
Gábor Farkas
67f006a91d
sql: remove setting-import from sqleng ( #82088 )
2024-02-12 12:37:23 +01:00
Alyssa Bull
77111a0714
Cloud Monitoring: Fix naming and warnings ( #82271 )
2024-02-09 11:22:44 -07:00
Dan Cech
790e1feb93
Chore: Update test database initialization ( #81673 )
...
* streamline initialization of test databases, support on-disk sqlite test db
* clean up test databases
* introduce testsuite helper
* use testsuite everywhere we use a test db
* update documentation
* improve error handling
* disable entity integration test until we can figure out locking error
2024-02-09 09:35:39 -05:00
ismail simsek
b0dfeb1911
Chore: Clean up intervalv2 functions ( #82074 )
...
* clean up intervalv2 functions
* use roundInterval from grafana-plugin-sdk-go
* use from grafana-plugin-sdk-go
* have intervalv2 in publicdashboards and remove tsdb/intervalv2
* legacydata cleanup
* remove unused variables
* Update pkg/tsdb/legacydata/interval/interval.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
---------
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
2024-02-09 11:39:21 +01:00
Sergey Kostrukov
cc33f0bd10
Prometheus: Azure scopes from Grafana Azure SDK ( #82023 )
...
* Prometheus: Azure scopes from Grafana Azure SDK
* Refactor and add tests
* Cosmetic fix
* Cosmetic change 2
2024-02-08 23:47:09 +01:00
Gábor Farkas
2250e358c7
postgres: updated snapshot test with better floating point values ( #82168 )
2024-02-08 15:52:20 +01:00
Sergey Kostrukov
9bfb7e1f0b
Azure Monitor: Azure routes from Grafana Azure SDK ( #82043 )
...
Prometheus: Azure routes from Grafana Azure SDK
2024-02-08 10:42:20 +00:00
ismail simsek
b25ffe2b15
Prometheus: Remove all intervalv2 imports and use gtime functions wherever it's possible ( #82064 )
...
* Remove all intervalv2 imports and use gtime functions where ever it's possible
* Add a comment line
* use roundInterval from grafana-plugin-sdk-go
2024-02-07 22:32:57 +02:00
Nathan Vērzemnieks
b5f26560c2
Cloudwatch: Remove core imports from infra/log ( #81543 )
...
* Cloudwatch: use logging from plugin-sdk-go instead of infra/log
* Add a link to the TODO issue for moving `instrumentContext`
2024-02-07 13:53:05 +01:00
Andres Martinez Gotor
9c0501a167
Chore: Fix rootDir path when compiling core ds ( #82068 )
2024-02-07 13:00:13 +01:00
Gábor Farkas
420a23c064
sql: simplify time-conversion code ( #81499 )
...
sql: simplify code
2024-02-07 12:42:22 +01:00
ismail simsek
2679599968
Prometheus: Remove grafana/pkg/setting imports ( #81813 )
...
* upgrade grafana-azure-sdk-go v1.12.0
* add AzureAuthEnabled to config
* remove grafana/pkg/setting imports
* remove grafana/pkg/setting imports
* remove comment
* add better error message
* Fix the unit test
* fix lint
2024-02-07 11:01:09 +01:00
Gábor Farkas
8616f2e80a
sql: removed unnecessary error-check ( #81808 )
...
* sql: removed unnecessary error-check
* updated tests
2024-02-07 08:41:49 +01:00
Gábor Farkas
7b8c7b623c
sql: remove the usage of "errutil" ( #81888 )
2024-02-07 08:39:24 +01:00
Isabella Siu
3b852bb582
CloudWatch: Remove references to pkg/infra/metrics ( #81744 )
...
CloudWatch: remove references to pkg/infra/metrics
2024-02-06 21:21:55 +02:00
DugeraProve
6697da6176
Cloudwatch: Add AWS/EMRServerless and AWS/KafkaConnect Metrics ( #79532 )
2024-02-06 17:21:49 +01:00
ismail simsek
994aedaac3
Chore: Update InfluxDB response parser test files ( #81899 )
...
* add show diagnostics tests
* update test files
2024-02-06 11:31:55 +01:00
Gábor Farkas
33f80f7a16
mysql: remove dev-mode log ( #81894 )
2024-02-06 09:29:50 +01:00
Sven Grossmann
bd48c06f95
Elasticsearch: Set middlewares from Grafana's httpClientProvider ( #81814 )
...
Elasticsearch: Set middlewares from httpClientProvider
2024-02-06 07:11:54 +01:00
Isabella Siu
81da3ff753
CloudWatch: Remove dependencies on grafana/pkg/setting ( #81208 )
2024-02-05 13:59:32 -05:00
Gábor Farkas
ddf124de9d
intervalv2: use duration-formatting logic from plugin-sdk-go ( #81690 )
2024-02-05 11:00:41 +01:00
Gábor Farkas
8175b31e16
sql: make sure queries do not have fill-params ( #81576 )
2024-02-05 08:08:35 +01:00
lean.dev
f23b993014
CloudWatch: Only override contextDialer when using PDC ( #80992 )
2024-02-02 15:45:57 -03:00
Andrej Ocenas
de4171862c
Tempo: Add custom headers middleware for grpc client ( #81693 )
2024-02-02 16:49:51 +01:00
Gábor Farkas
c92d3b002b
sql: use interval-formatting from the sdk ( #81764 )
2024-02-02 13:18:22 +01:00
Ivana Huckova
f2936d6695
Elasticsearch: Fix creating of legend so it is backward compatible with frontend produced frames ( #81708 )
...
* Elasticsearch: Fix creating of legend so it is backward compatible with frontend produced frames
* Update tests
2024-02-02 12:47:45 +01:00
Mikel Vuka
65e9990a87
Elasticsearch: Implement CheckHealth method in the backend ( #81671 )
...
* Elasticsearch: Implement CheckHealth method
* improve logger output
* remove frontend healthcheck
* Revert "remove frontend healthcheck"
This reverts commit 676265f39e .
* adapt test
---------
Co-authored-by: Sven Grossmann <svennergr@gmail.com >
2024-02-02 11:08:52 +01:00
ismail simsek
372cf797d1
Chore: Update tests and import orders in prometheus backend ( #81732 )
...
* use fmt instead of grafana-cli/log
* reorder imports
* reorder imports
2024-02-01 20:16:21 +01:00
ismail simsek
8fea101931
Chore: Use maputil functions from grafana-azure-sdk-go ( #81734 )
...
use maputil functions from grafana-azure-sdk-go
2024-02-01 20:16:07 +01:00
ismail simsek
8fc8b03d1d
Prometheus: Remove featuremgmt imports ( #81586 )
...
* remove featuremgmt imports
* pass down feature flags instead of reading them for every query execution
2024-02-01 18:07:32 +01:00
Bruno
2332bfb007
Set DatasourceName and DatasourceType in proxy.Options ( #80923 )
...
* Set DatasourceName and DatasourceType in proxy.Options
* upgrade github.com/grafana/grafana-plugin-sdk-go to v0.206.0 and fix merge conflicts
2024-02-01 11:09:58 -03:00
ismail simsek
536153c336
InfluxDB: Run queries in parallel behind influxdbRunQueriesInParallel feature toggle ( #81209 )
...
* create the feature flag
* bring the concurrency in to the play
* Update feature flag
* Use concurrency number from settings
* update influxdb dependency
* use ConcurrentQueryCount from plugin-sdk-go
* use helper method for concurrent query count
* log the error
* add value guard
* add unit tests
* handle concurrency error
2024-02-01 11:58:24 +01:00
ismail simsek
4561863fca
Chore: Remove unused header params in prometheus request ( #81684 )
...
Remove unused header params
2024-02-01 11:17:38 +01:00