-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Many prometheus metrics are duplicated #11106
Comments
Which ones would we want to remove? We use Equally, we don't use many Though I will bring to your attention that there are a few where we do:
A good first step may be to correct our dashboard JSON in preparation for the change. I also imagine this would want to be communicated as a breaking change. Suggested steps as follows:
|
This is a bit complicated. Let me try and give some history: There is a standard called OpenMetrics, which mandates that the names of counters end in Of course, that broke everything for us (cf prometheus/client_python#317), and we worked around it by writing a custom Sooo... where does that leave us? There's no real reason we have to use the OpenMetrics-compliant names (the prometheus server seems happy either way), but it would still be quite nice to get rid of that custom |
According to https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels, we're not supposed to use colons:
|
New steps:
Timeline
|
Finished up in #14358 ... as far as I'm aware! |
A number of the reported Prometheus metrics are duplicated. This can be a problem for Prometheus instances configured to monitor a large number of Synapse instances.
Examples:
_total
suffixsynapse_util_caches_cache:hits
is duplicated assynapse_util_caches_cache_hits
.The text was updated successfully, but these errors were encountered: