Skip to content

Conversation

@adleong
Copy link
Member

@adleong adleong commented Nov 4, 2025

The destination controller has a gauge metric called workload_subscribers which tracks the number of subscribers to an endpoint profile. However, since we have dropped all labels from this metric due to high cardinality, we are now re-using the same gauge for all ip:port publishers. This means that each time we set the gauge value, it overrides the previous value and only tracks the number of subscribers to the most recently subscribed ip:port combination.

We move this logic up so that the workload_subscribers gauge instead tracks the total number of subscribers across all ip:port publishers.

@adleong adleong marked this pull request as ready for review November 4, 2025 23:00
@adleong adleong requested a review from a team as a code owner November 4, 2025 23:00
@olix0r olix0r merged commit c694ebd into main Nov 6, 2025
66 of 68 checks passed
@olix0r olix0r deleted the alex/subscribers-gauge-fix branch November 6, 2025 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants