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
There is yet another metric pattern combinatino. When micrometer metrics are received through OTEL bridge then prometheus suffixes might not be added. Adding this option to jvm/process lib
Copy file name to clipboardExpand all lines: jvm-observ-lib/README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,8 @@ Supports the following sources:
7
7
-`prometheus` (https://prometheus.github.io/client_java/instrumentation/jvm/#jvm-memory-metrics). This also works for jmx_exporter (javaagent mode) starting from 1.0.1 release.
-`java_micrometer` (springboot) (https://github.com/micrometer-metrics/micrometer/blob/main/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/jvm/JvmMemoryMetrics.java). Can be seen when Micrometer to OTEL bridge is used.
11
+
-`java_micrometer_with_suffixes` (springboot) same, but with prometheus suffixes
11
12
-`prometheus_old` client_java instrumentation prior to 1.0.0 release: (https://github.com/prometheus/client_java/releases/tag/v1.0.0-alpha-4). This also works for jmx_exporter (javaagent mode) prior to 1.0.1 release.
12
13
-`jmx_exporter`. Works with jmx_exporter (both http and javaagent modes) and the folllowing snippet:
13
14
@@ -45,7 +46,7 @@ local jvm =
45
46
uid: 'jvm-sample',
46
47
dashboardNamePrefix: 'JVM',
47
48
dashboardTags: ['java', 'jvm'],
48
-
metricsSource: 'java_micrometer', // or java_otel, prometheus,
49
+
metricsSource: 'java_micrometer_with_suffixes', // or java_otel, prometheus,
0 commit comments