Closed aslafy-z closed 1 month ago
This PR has been automatically marked as stale because it has not had any activity in the past 30 days.
The next time this stale check runs, the stale label will be removed if there is new activity. The issue will be closed in 7 days if there is no new activity.
Thank you for your contributions!
This PR has been automatically marked as stale because it has not had any activity in the past 30 days.
The next time this stale check runs, the stale label will be removed if there is new activity. The issue will be closed in 7 days if there is no new activity.
Thank you for your contributions!
I will resolve conflicts asap
@povilasv Can you please give a look? Thank you
When querying a child prometheus that uses federation to gather his metrics, an additional label is added to the metrics (eg:
prometheus_replica
). When a rollout is done on the parent prometheuses, there could be two metrics for the same time frame. This causes thescalar(
function to returnNaN
as stated in the documentation, https://prometheus.io/docs/prometheus/latest/querying/functions/#scalar. Usingscalar(max(
instead ofscalar(
fixes the issue.replaces https://github.com/kubernetes-monitoring/kubernetes-mixin/pull/855