Skip to content

Conversation

@drogus
Copy link
Collaborator

@drogus drogus commented Nov 10, 2025

Description of Changes

There are two purposes for introducing the changes in this commit:

  1. Decrease the cardinality of the metric, as the caller id and connection id cwould result in way too combiations
  2. Add a database_identity label, which is much more useful for the metric

API and ABI breaking changes

I'm honestly not sure if metrics labels change is an API breaking change, I suppose not? For what it's worth, I don't think that anyone was relying on the labels I've removed.

Expected complexity level and risk

1

Testing

  • I've tested the change locally

@drogus drogus force-pushed the drogus/change-errors_metric_labels branch 2 times, most recently from b0e38ba to e38bc42 Compare November 10, 2025 11:25
Copy link
Contributor

@cloutiertyler cloutiertyler left a comment

Choose a reason for hiding this comment

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

I think this makes a lot of sense.

@drogus drogus force-pushed the drogus/change-errors_metric_labels branch from e38bc42 to 0071360 Compare November 10, 2025 14:39
@bfops bfops added the release-any To be landed in any release window label Nov 10, 2025
There are two purpose for introducing the changes in this commit:

1. Decrease the cardinality of the metric, as caller id and connection
   id combination would result in way too many combinations
2. Add a database_identity label, which is much more useful for the
   metric
@drogus drogus added this pull request to the merge queue Nov 20, 2025
Merged via the queue into master with commit 4fc095c Nov 20, 2025
25 checks passed
@joshua-spacetime joshua-spacetime linked an issue Nov 20, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-any To be landed in any release window

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add error rate + panic rate metrics to prometheus

4 participants