You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
**Experimental: this option may be removed or have its behaviour
50
+
changed at any time, with no notice.**
51
+
52
+
Set to `true` to publish both legacy and non-legacy Prometheus metric names,
53
+
or to `false` to only publish non-legacy Prometheus metric names.
54
+
Defaults to `true`. Has no effect if `enable_metrics` is `false`.
55
+
56
+
Legacy metric names include:
57
+
- metrics containing colons in the name, such as `synapse_util_caches_response_cache:hits`, because colons are supposed to be reserved for user-defined recording rules;
58
+
- counters that don't end with the `_total` suffix, such as `synapse_federation_client_sent_edus`, therefore not adhering to the OpenMetrics standard.
59
+
60
+
These legacy metric names are unconventional and not compliant with OpenMetrics standards.
61
+
They are included for backwards compatibility.
62
+
63
+
Example configuration:
64
+
```yaml
65
+
enable_legacy_metrics: false
66
+
```
67
+
68
+
See https://github.com/matrix-org/synapse/issues/11106 for context.
0 commit comments