Skip to content

Fix missing data_consistency label in Sidekiq metrics

Matthias Käppler requested to merge 330610-fix-missing-data-consistency into master

What does this MR do?

We recently introduced database load balancing capabilities for Sidekiq jobs. As part of this we started emitting new metrics into Prometheus to track e.g. how often replicas or the primary are being picked. We were also emitting the job's data_consistency setting, but it was never actually written to the job hash, so it came out empty in Prometheus.

This MR fixes that.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #330610 (closed)

Edited by Matthias Käppler

Merge request reports