Andrej Ocenas
|
d20afa2a39
|
Prometheus: Use contextual middleware for req headers and simplify client creation (#51061)
* Use contextual middleware and simplify client creation
* Fix tests
* Add test for the header propagation
* Fix tests and lint
* Update pkg/tsdb/prometheus/prometheus.go
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
|
2022-06-23 14:48:16 +02:00 |
|
Andrej Ocenas
|
d2fefec306
|
Prometheus: Fix aligning of labels of exemplars after backend migration (#49924)
* Fix normalization of labels
* Move sorting so it actually has an effect
* fix lint error
Co-authored-by: Todd Treece <todd.treece@grafana.com>
|
2022-06-01 11:13:57 +02:00 |
|
Jimmie Han
|
0a509b97ef
|
Prometheus: Fix inconsistent labels in exemplars resulting in marshal json error. (#46135)
like "frame has different field lengths, field 0 is len 5 but field 14 is len 2"
Signed-off-by: Jimmie Han <hanjinming@outlook.com>
|
2022-05-23 15:05:57 +02:00 |
|
Todd Treece
|
e1a9ce4cc4
|
Prometheus: Move existing query logic to new buffered package (#48668)
|
2022-05-12 05:34:09 -04:00 |
|