grafana/pkg/tsdb
Andreas Christou df2bb6be0a
Graphite: Backend tag values autocomplete endpoint (#110773)
* Add lint rules

* Backend decoupling

- Add standalone files
- Add graphite query type
- Add logger to Service
- Create logger in the ProvideService method
- Use a pointer for the HTTP client provider
- Update logger usage everywhere
- Update tracer type
- Replace simplejson with json
- Add dummy CallResource and CheckHealth methods
- Update tests

* Update ConfigEditor imports

* Update types imports

* Update datasource

- Switch to using semver package
- Update imports

* Update store imports

* Update helper imports and notification creation

* Update context import

* Update version numbers and logic

* Copy array_move from core

* Test updates

* Add required files and update plugin.json

* Update core references and packages

* Remove commented code

* Update wire

* Lint

* Fix import

* Copy null type

* More lint

* Update snapshot

* Refactor backend

- Split query logic into separate file
- Move utils to separate file

* Add health-check logic

- Support backend healthcheck if the FF is enabled

* Remove query import support as unneeded

* Add test

* Add util function for decoding responses

* Add events types

* Add resource handler

* Add events handler and generic resource req handler

* Tests

* Update frontend

- Add types
- Update events function to support backend requests

* Lint and typing

* Lint

* Add metrics find endpoint

- Add types
- Add generic response parser
- Add endpoint
- Tests

* Update FE functoin to use backend endpoint

* Lint

* Simplify request

* Update test

* Metrics expand type

* Extract shared logic and add metric expand endpoint

* Update tests

* Call metric expand from backend

* Rename type for clarity

* Add get resource req handler

* Refactor doGraphiteRequest, parseResponse

Update tests

* Migrate functions endpoint to backend

* Support tags autocomplete in backend

- Add tests
- Add types
- Remove unneeded comments

* Support tag values autocomplete

- Remove unused frontend endpoints
- Add types
- Update tests

* Add tests

* Review

* Review

* Fix packages

* Format

* Fix merge issues

* Review

* Fix undefined values

* Extract request creation

- Add method for create requests generically with tests
- Replace usage in query method
- Update usages in resource handlers
- Update tests
- Update types

* Lint
2025-09-15 11:35:29 +01:00
..
azuremonitor AzureMonitorDatasource: Add bounds check to fix panics (#110879) 2025-09-11 12:31:11 +02:00
cloud-monitoring Chore: update golang.org/x/exp (#110980) 2025-09-11 22:13:07 +03:00
cloudwatch CloudWatch: Fix handling region for legacy alerts (#109217) 2025-08-06 15:40:20 -04:00
elasticsearch ElasticSearch: Fix inline casting bug when validating the index (#108951) 2025-08-01 11:01:25 -05:00
grafana-postgresql-datasource PostgreSQL: Fix error source in PGX (#110752) 2025-09-08 16:21:05 +02:00
grafana-pyroscope-datasource Pyroscope: Fix incorrect rate calculation from flamegraph totals (#110470) 2025-09-03 08:15:06 +01:00
grafana-testdata-datasource TestData: Adds Frame Type to "Predictable" Scenarios to enable SQL expressions (#106177) 2025-05-29 07:22:51 -04:00
grafanads UnifiedSearch: Use ResourceIndex from dashboards apiserver (v0alpha1 only) (#96939) 2024-11-27 07:57:53 +02:00
graphite Graphite: Backend tag values autocomplete endpoint (#110773) 2025-09-15 11:35:29 +01:00
influxdb InfluxDB: Update feature toggle retrieval (#110941) 2025-09-11 19:19:10 +01:00
jaeger Fix: Preserve Jaeger base path when constructing search request (#109045) 2025-08-01 13:56:31 +01:00
loki Loki: Remove `lokiStructuredMetadata` feature toggle (#107292) 2025-06-30 16:09:44 +02:00
mssql CI: Bump golangci-lint to 2.0.2 (#103572) 2025-04-10 14:42:23 +02:00
mysql Replace remaining calls to testing.Short where possible. (#110765) 2025-09-09 08:16:12 +00:00
opentsdb [OpenTSDB]: Support queries with different time ranges (#110818) 2025-09-10 08:04:04 -06:00
parca Profiles: Stop passing response headers for Grafana-Pyroscope and parca datasources (#106577) 2025-06-11 18:34:21 +01:00
prometheus Plugins: Replace references of plugin SDK `backend.Logger` with Grafana logger (#95235) 2024-10-24 12:00:40 +01:00
tempo Tempo: Migrates tags and tag values to datasource backend CallResource requests (#110511) 2025-09-09 17:31:32 +01:00
zipkin Zipkin: Decouple backend (#107312) 2025-07-01 08:58:00 +00:00
Magefile.go Chore: Fix rootDir path when compiling core ds (#82068) 2024-02-07 13:00:13 +01:00