Gábor Farkas
7230ec88a1
postgres: test: remove unused code ( #81330 )
2024-01-26 10:45:17 +02:00
Gábor Farkas
b1d1aa667a
postgres: refactor code that is called by tests ( #81279 )
...
* postgres: refactor code that is called by tests too
* removed debug log
2024-01-26 09:11:25 +01:00
ismail simsek
7d0017f3f2
InfluxDB: Use grafana timeout value for flux queries ( #81252 )
...
* use grafana timeout for flux queries
* get timeout from settings
* fix test
2024-01-25 17:05:08 +01:00
Isabella Siu
5772662cee
CloudWatch: decouple from ngalert/models and query packages ( #81210 )
2024-01-25 09:40:55 -05:00
Ida Štambuk
9b4c78dbc9
Cloudwatch: Import httpClient from grafana-plugin-sdk-go instead of grafana/infra ( #81187 )
2024-01-25 13:33:31 +01:00
ismail simsek
14e55fefbb
InfluxDB: Check the value type before casting it to the string ( #80986 )
...
* Check the value type before casting it to the string
* set visualization as table by default
* append all values for show diagnostics
* golangci-lint
* append metadata only to first frame
2024-01-25 11:28:25 +01:00
Andres Martinez Gotor
a06197188f
Chore: Fix plugins magefile ( #81146 )
2024-01-24 14:01:15 +01:00
Andres Martinez Gotor
1c02220916
Chore: Fix plugins magefile for Azure ( #81138 )
2024-01-24 14:18:18 +02:00
Gábor Farkas
fd73b75ef7
SQL datasources: Consistent interval handling ( #78517 )
...
sql: apply the received interval-value
2024-01-24 08:47:07 +01:00
Andrej Ocenas
59595c7318
Table: Keep expanded rows persistent when data changes if it has unique ID ( #80031 )
2024-01-23 14:14:57 +01:00
Sven Grossmann
3d033839d7
Elasticsearch: Fix URL creation and allowlist for /_mapping requests ( #80970 )
...
* Elasticsearch: Fix URL creation for mapping requests
* remove leading slash by default
* add comment for es route
* hardcode `_mapping`
* update doc
2024-01-23 12:41:13 +01:00
Sven Grossmann
b315c5e54d
Loki: Also log statusSource in error case ( #81040 )
2024-01-23 11:16:29 +01:00
Brendan O'Handley and Isabel
3409e0ea5a
Prometheus: Invest in tests and docs for min interval or min step explanation ( #80165 )
...
* add clearer comment for function def
* update test to reflect change in range for 1w step
* clarify docs
* add more clarity
* add explanation to query options min interval and link to min step
* Update docs/sources/panels-visualizations/query-transform-data/_index.md
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com >
---------
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com >
2024-01-22 08:44:46 -06:00
Gábor Farkas
e6f8176674
postgres: test: switch to numbers that are represented well in floating point ( #80722 )
2024-01-22 14:14:40 +01:00
ismail simsek
777b9bdc49
Prometheus: minStep value is affecting $__interval value ( #80904 )
...
* minStep value is affecting $__interval value
* rename
2024-01-19 21:55:27 +01:00
Will Browne
3f30cbf91c
DataSources: Add datasource fetching + querying interface ( #80749 )
...
* first pass
* separate oss + enterprise
* tidy things up
* add ctx
* fix tests
* use standalone svcs
* mv plugin context provide
* fix wire
* fix import
2024-01-19 15:56:52 +01:00
Ivana Huckova
759c088ac5
Elasticsearch: Fix showing of logs when __source is log message field ( #80804 )
...
Elasticsearch: Fix showing of logs whe __source is log message field
2024-01-19 10:28:08 +01:00
Kyle Brandt and ismail simsek
02e2e1c64e
Prometheus: Set Status(Code) on backend response ( #80806 )
...
Sets that status code on backend data responses in prometheus to match the status code returned by prometheus. If the failure is below HTTP/Application Layer, Bad Gateway is returned (502).
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-01-18 13:23:31 -05:00
Gábor Farkas
2cb2845ec4
sql: use plugin-sdk code for value-to-float64 conversion ( #80621 )
...
sql: use plugin-sdk code
2024-01-17 13:42:32 +01:00
Gábor Farkas
58b13fed5a
postgres: tests: adjusted the timestamps to be in UTC ( #80704 )
2024-01-17 11:27:43 +01:00
Gábor Farkas
4291bf4d69
postgres: tests: improve float64-conversion tests ( #80627 )
...
postgres: more tests
2024-01-17 10:31:15 +01:00
Gábor Farkas
2bf56b12cf
postgres: simplify proxy code ( #80121 )
2024-01-17 09:20:27 +01:00
Joey
6796e66fb8
Pyroscope: Add standalone build ( #80222 )
...
* Pyroscope standalone build
* Fix for tests
* Add missing packages
* Remove import
* Update trace to profiles
* Update test
2024-01-16 12:46:15 +00:00
Fabrizio
522519f671
Tempo: Decouple Tempo from Grafana core ( #79888 )
2024-01-16 11:36:40 +01:00
Ida Štambuk
d3a89a28fa
Cloudwatch Metrics: Adjust error handling ( #79911 )
2024-01-15 17:19:26 +01:00
Gábor Farkas
6a36525d61
postgres: better error handling ( #80375 )
2024-01-15 12:50:01 +01:00
Gábor Farkas
cfddc67a25
sql: support the no-tls option in the socks proxy ( #80376 )
...
postgres: support the no-tls option in the socks proxy
2024-01-15 09:57:43 +01:00
Gábor Farkas
6b5805dd1b
postgres: vendor in the file-exists helper ( #80446 )
2024-01-15 08:53:43 +01:00
Sven Grossmann
e1aa8a95d9
Loki: Fix bug duplicating parsed labels across multiple log lines ( #80292 )
2024-01-11 15:09:13 +01:00
Ryan McKinley
6be6724433
K8s/Testdata: Expose testdata in standalone apiserver ( #80248 )
2024-01-10 17:45:23 +02:00
Ryan McKinley
1caaa56de0
FeatureFlags: Use interface rather than manager ( #80000 )
2024-01-09 10:38:06 -08:00
Gábor Farkas and Zoltán Bedi
ecc667c9a5
postgres: add snapshot tests ( #79794 )
...
* postgres: add snapshot tests
* fixed wrong comment
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
---------
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
2024-01-09 16:54:21 +02:00
Ivana Huckova
3dc7cfdc18
Loki: Implement error source ( #80143 )
2024-01-08 18:32:16 +01:00
Joey
81f8c022a0
Pyroscope: Decouple backend from infra imports ( #80018 )
...
Decouple backend from infra imports
2024-01-08 13:11:46 +00:00
Gábor Farkas
bfb85f27b1
sql: improve sqleng-api, leave sql.DB creation to the plugins ( #79672 )
2024-01-05 08:37:15 +01:00
Gábor Farkas
8923cc27ce
sql: do not import stacktrace-generator code from core grafana ( #79507 )
...
sql: do not import from core grafana
2024-01-05 08:33:46 +01:00
Bryan Huhta
e64cb8541f
Pyroscope: Send start/end with profile types query ( #77523 )
2024-01-04 16:35:47 +01:00
Andreas Christou
dd77ff6bcd
Plugins: Externalise Azure Monitor data source ( #79545 )
...
* Set up frontend linting for Azure
- Fix final frontend import
- Fix other lint issues
* Add Azure Monitor to backend linting
* Remove featuremgmt dependency
* Add intervalv2 to list of disallowed imports
* Remove config dependency
- Replace with function from azure-sdk
* Remove util dependency
* Duplicate interval functionality from core
* Add required backend wrappers
* Update frontend
* Add testing helper
* Add missing package
* Bump minimum grafana dependency
* Fix dependency
* Regen cue
* Fix lint
* Update expected response file
* Update import and dependency
2024-01-03 19:20:22 +00:00
Joey
00bc13e37c
Pyroscope: Remove unnecessary import and logic ( #79568 )
...
* Remove unecessary import and logic
* Update test
2024-01-03 11:25:38 +00:00
Fabrizio
7746250367
Parca: Add standalone building configuration ( #79896 )
...
* Parca: Decouple frontend
* Parca: decouple backend
* Parca: add standalone build process
* Regenerate cue files
* Fix import
* Trigger CI
* Fix test
* Trigger CI
* Trigger CI
2024-01-02 16:36:57 +01:00
Fabrizio
5a21a6d938
Parca: Decouple backend ( #79873 )
...
Parca: decouple backend
2023-12-28 18:44:02 +01:00
ismail simsek
2edcf0edbd
InfluxDB: Use database input for SQL configuration instead of metadata ( #79579 )
...
* introduce constants file
* update frontend to use database field
* use dbName field instead of metadata
* use secureGrpc
* betterer
2023-12-15 18:41:32 +01:00
Gábor Farkas
53863c52ca
sql: use logging functionality from plugin-sdk ( #79294 )
2023-12-14 09:42:06 +01:00
ismail simsek
03da1a3f3f
InfluxDB: Update SQL language url specification ( #79408 )
...
* accept urls with or without port
* remove redundant comment
* remove redundant function
2023-12-13 16:01:01 +01:00
Joey
e00e4d9ec6
Pyroscope: Switch to sdk httpclient from infra httpclient ( #79373 )
...
Decouple httpclient
2023-12-12 11:14:26 +00:00
Gábor Farkas
5b4da3a7dc
mssql: prepare logs-handling for decouple-datasource changes ( #79214 )
...
mssql: refactor logs-handling
2023-12-11 09:14:06 +01:00
siddhikhapare
1833539c32
Cloudwatch: Update error code metrics for ES/OpenSearch ( #78990 )
...
Update error code metrics
2023-12-08 17:16:30 +02:00
Aleksandar Petrov
1c53561521
Pyroscope: Improve label suggestions in query editor ( #78861 )
...
* Send sanitized selectors to the Pyroscope backend for LabelNames and LabelValues
* Clean LabelNames response to remove already used labels
* Improve performance after major changes
* Fix import order
* Further improve rendering performance
* Fix frontend tests
* Fix fake pyroscope client signature
* Bump pyroscope/api dependency to include start/end in LabelNames/LabelValues
* Fix issue with old queries running when using the run button
* Add generated file
* Make code more readable, add a few comments
* Format with prettier
* Fix error when assigning data
* Revert "Add generated file"
This reverts commit c4f33727b8 .
* Remove leftover code
* Simplify query editor internal state objects
* Move label selector validation up, improve label filtering
* Simplify query editor state, switch to debounce to reduce rerenders
* Revert cosmetic change
2023-12-07 18:11:30 +01:00
Gábor Farkas
92044a9009
postgres: refactor logs-handling ( #79147 )
...
* postgres: refactor logs-handling
* fixed unit test
2023-12-07 13:18:49 +01:00
Gábor Farkas
9e71dc801d
mysql: refactor logs handling ( #79148 )
...
* mysql: refactor logs handling
* fixed unit test
2023-12-07 12:17:41 +01:00