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
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/implementations/prometheus.adoc
+21
Original file line number
Diff line number
Diff line change
@@ -154,3 +154,24 @@ The following example shows a Prometheus query to plot the duration of a long ta
154
154
155
155
.Simulated back-to-back long tasks with a fixed alert threshold.
156
156
image::implementations/prometheus-long-task-timer.png[Grafana-rendered Prometheus long task timer]
157
+
158
+
== Limitation on same name with different set of tag keys
159
+
160
+
The `PrometheusMeterRegistry` doesn't allow to create meters having the same name with a different set of tag keys, so you should guarantee that meters having the same name have the same set of tag keys.
161
+
Otherwise, subsequent meters having the same name with a different set of tag keys will not be registered silently by default.
162
+
You can change the default behavior by registering a meter registration failed listener.
163
+
For example, you can register a meter registration failed listener that throws an exception as follows:
0 commit comments