grafana/pkg/tsdb/loki
ismail simsek 3fb6319d1b
Prometheus: Introduce prometheus backend library (#83952)
* Move files to prometheus-library

* refactor core prometheus to use prometheus-library

* modify client transport options

* mock

* have a type

* import aliases

* rename

* call the right method

* remove unrelated test from the library

* update codeowners

* go work sync

* update go.work.sum

* make swagger-clean && make openapi3-gen

* add promlib to makefile

* remove clilogger

* Export the function

* update unit test

* add prometheus_test.go

* fix mock type

* use mapUtil from grafana-plugin-sdk-go
2024-03-11 17:22:33 +01:00
..
instrumentation Loki: Add instrumentation for grafana_loki_plugin_parse_response_duration_seconds_bucket (#75570) 2023-09-28 17:25:09 +02:00
kinds/dataquery Infinite scrolling: Add X-Query-Tag header (#81089) 2024-01-29 11:24:05 +01:00
testdata Loki: Fix bug duplicating parsed labels across multiple log lines (#80292) 2024-01-11 15:09:13 +01:00
testdata_dataplane Loki: Fix bug duplicating parsed labels across multiple log lines (#80292) 2024-01-11 15:09:13 +01:00
testdata_logs_dataplane Loki: Fix bug duplicating parsed labels across multiple log lines (#80292) 2024-01-11 15:09:13 +01:00
testdata_metric_dataplane Loki: Fix bug duplicating parsed labels across multiple log lines (#80292) 2024-01-11 15:09:13 +01:00
api_mock.go Loki: Add backend functionality to parse structured metadata from Loki (#77361) 2023-11-16 17:06:14 +01:00
api_test.go Infinite scrolling: Add X-Query-Tag header (#81089) 2024-01-29 11:24:05 +01:00
api.go Prometheus: Introduce prometheus backend library (#83952) 2024-03-11 17:22:33 +01:00
frame_test.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
frame.go Loki: Add backend functionality to parse structured metadata from Loki (#77361) 2023-11-16 17:06:14 +01:00
framing_test.go Loki: Fix bug duplicating parsed labels across multiple log lines (#80292) 2024-01-11 15:09:13 +01:00
healthcheck_test.go Tracing: Use tracing.InitializeTracerForTest (#75479) 2023-09-27 09:51:57 +02:00
healthcheck.go Loki: Add backend healthcheck (#74330) 2023-09-05 08:59:13 +02:00
loki_bench_test.go Loki: Add backend functionality to parse structured metadata from Loki (#77361) 2023-11-16 17:06:14 +01:00
loki.go Loki: Implement error source (#80143) 2024-01-08 18:32:16 +01:00
parse_query_test.go Loki: Introduce $__auto range variable for metric queries (#72690) 2023-08-03 16:27:23 +02:00
parse_query.go Chore: Clean up intervalv2 functions (#82074) 2024-02-09 11:39:21 +01:00
step_test.go Loki: Implement step editor (#69648) 2023-06-16 19:08:29 +03:00
step.go Chore: Clean up intervalv2 functions (#82074) 2024-02-09 11:39:21 +01:00
streaming.go Chore: capitalise logs in other backend packages (#74344) 2023-09-04 22:25:43 +02:00
types.go Infinite scrolling: Add X-Query-Tag header (#81089) 2024-01-29 11:24:05 +01:00