From afaff2f5bcc6578ad0b93022101735498db94395 Mon Sep 17 00:00:00 2001 From: Saxon D'Aubin Date: Fri, 30 Dec 2022 14:54:52 -0800 Subject: [PATCH] Metric names should not start with a forwar slash --- .../jcache-1.0.0/src/main/java/javax/cache/Cache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/jcache-1.0.0/src/main/java/javax/cache/Cache.java b/instrumentation/jcache-1.0.0/src/main/java/javax/cache/Cache.java index c64967ca31..4fabbfc5b6 100644 --- a/instrumentation/jcache-1.0.0/src/main/java/javax/cache/Cache.java +++ b/instrumentation/jcache-1.0.0/src/main/java/javax/cache/Cache.java @@ -31,7 +31,7 @@ public abstract class Cache { private static final String GET_AND_REPLACE = "getAndReplace"; @NewField - private static final String METRIC_NAME = "/Java/JCACHE"; + private static final String METRIC_NAME = "Java/JCACHE"; @Trace(excludeFromTransactionTrace = true, metricName = METRIC_NAME + "/" + GET, leaf = true) public abstract V get(K key);