Skip to content

Commit 2f4b01b

Browse files
SvenssonWebfstab
authored andcommitted
Fix conditional for jvm_memory_bytes_committed
Signed-off-by: Fredrik Svensson <SvenssonWeb@users.noreply.github.com>
1 parent 95872fc commit 2f4b01b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simpleclient_hotspot/src/main/java/io/prometheus/client/hotspot/MemoryPoolsExports.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void addMemoryAreaMetrics(List<MetricFamilySamples> sampleFamilies, Predicate<St
8989
sampleFamilies.add(used);
9090
}
9191

92-
if (nameFilter.test(JVM_MEMORY_POOL_BYTES_COMMITTED)) {
92+
if (nameFilter.test(JVM_MEMORY_BYTES_COMMITTED)) {
9393
GaugeMetricFamily committed = new GaugeMetricFamily(
9494
JVM_MEMORY_BYTES_COMMITTED,
9595
"Committed (bytes) of a given JVM memory area.",

0 commit comments

Comments
 (0)