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

remove high cardinality labels server_route_id and server_gateway_id #192

Merged
merged 3 commits into from
Mar 8, 2024

Conversation

caleblloyd
Copy link
Contributor

Resolves #191

Signed-off-by: Caleb Lloyd <caleb@synadia.com>
@@ -112,132 +111,6 @@ and no additional NATS metrics when there is no connectivity to the NATS system.
allows users to differentiate between a problem with the exporter itself connectivity with
the NATS system.

### Scrape Output
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This section is wildly out of date, so just removing it

@caleblloyd
Copy link
Contributor Author

Since there can be multiple connections per route as of nats 2.10.x, removing the route ID is likely causing an issue

@caleblloyd
Copy link
Contributor Author

Added a commit to remap Route/Gateway IDs to indexes, which will reduce cardinality coming from config reloads where routes/gateways always get new IDs

Signed-off-by: Caleb Lloyd <caleb@synadia.com>
Signed-off-by: Caleb Lloyd <caleb@synadia.com>
@caleblloyd caleblloyd merged commit 4dcf040 into main Mar 8, 2024
2 checks passed
@caleblloyd caleblloyd deleted the high-cardinality-fix branch March 8, 2024 14:15
caleblloyd pushed a commit that referenced this pull request May 31, 2024
@caleblloyd caleblloyd mentioned this pull request May 31, 2024
caleblloyd pushed a commit that referenced this pull request May 31, 2024
…eway_id (#192)"

This reverts commit 4dcf040.

Signed-off-by: Caleb Lloyd <caleb@synadia.com>
caleblloyd pushed a commit that referenced this pull request May 31, 2024
…eway_id (#192)"

This reverts commit 4dcf040.

Signed-off-by: Caleb Lloyd <caleb@synadia.com>
caleblloyd pushed a commit that referenced this pull request May 31, 2024
…eway_id (#192)"

This reverts commit 4dcf040.

Signed-off-by: Caleb Lloyd <caleb@synadia.com>
caleblloyd pushed a commit that referenced this pull request May 31, 2024
Signed-off-by: Caleb Lloyd <caleb@synadia.com>
caleblloyd added a commit that referenced this pull request Jun 3, 2024
Signed-off-by: Caleb Lloyd <caleb@synadia.com>
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.

Remove high cardinality labels
2 participants