Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using ingester id instead of address on the distributor metrics. #6078

Merged
merged 4 commits into from
Jul 11, 2024

Conversation

alanprot
Copy link
Member

@alanprot alanprot commented Jul 10, 2024

What this PR does:

Change the metrics cortex_distributor_ingester_appends_total, cortex_distributor_ingester_append_failures_total, cortex_distributor_ingester_queries_total, and cortex_distributor_ingester_query_failures_total to use the ingester ID instead of the IP as the label value.

Previously, we used the IP as the label value, which made it challenging to correlate IP addresses with specific ingesters and resulted in unclear dashboard graphs.

With this change, the ingester ID will be used instead of the IP.

Before:
Screenshot 2024-07-10 at 5 01 13 PM

After:
Screenshot 2024-07-10 at 5 02 27 PM

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • [NA] Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@alanprot alanprot force-pushed the use-ingester-if-dist-metric branch from 92a3374 to 8cbbd8e Compare July 10, 2024 23:35
Signed-off-by: alanprot <[email protected]>
@alanprot alanprot force-pushed the use-ingester-if-dist-metric branch from 8cbbd8e to 49d3d3f Compare July 10, 2024 23:40
alanprot added 2 commits July 10, 2024 17:23
Signed-off-by: alanprot <[email protected]>
@alanprot alanprot marked this pull request as ready for review July 11, 2024 00:32
@alanprot alanprot requested review from yeya24 and danielblando July 11, 2024 00:32
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@alanprot alanprot merged commit 505cdc2 into cortexproject:master Jul 11, 2024
16 checks passed
@alanprot alanprot deleted the use-ingester-if-dist-metric branch July 11, 2024 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants