4 Commits

Author SHA1 Message Date
c8d2c32002 feat: Introduce special header that tells Loki not to modify query results (#12327) 2024-03-25 12:50:36 -06:00
782b938334 test: split unit and integrations suites to parallelize (#12039) 2024-02-22 14:34:00 -07:00
bdcb69540f Bloom gateway: Add metrics for store operations and chunk ref counts (#11677)
For better observability of the bloom gateway, this PR adds two
additional metrics that expose the amount of chunk refs pre and post
filtering. This can be used to calculate the filter ratio of the
gateways.

The PR also adds a metric that observes the latency of the actual
processing time of bloom filters within the worker.

---------

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
2024-01-17 08:28:46 +01:00
65e3148bc9 Update delete integration test (#6192)
* Add wait until processed

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>

* Add query lines

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>

* Remove Cortex reference

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>

* Add deleted lines metric and check in test

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>

* Set negative cancel period so default 1 minute delay is compensated for

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>

* Reduce timeout

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>

* Add helper function

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>

* Comment out assertions that only work with flush

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>

* Remove unused metric type param

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>

* Check counter in unit test

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>

* Rename ClientOption to Option as per the linter

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>

* Remove redundant check

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>

* fill in MsgAndArgs field of test assertion

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
2022-06-07 09:03:47 -04:00