Skip to content

Commit d55d9e4

Browse files
authored
Updates Solr cache size metric to point to new attribute to measure byte size (#225)
1 parent 49729b3 commit d55d9e4

File tree

1 file changed

+1
-1
lines changed
  • jmx-metrics/src/main/resources/target-systems

1 file changed

+1
-1
lines changed

jmx-metrics/src/main/resources/target-systems/solr.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ otel.instrument(beanSolrCoreQueryResultsCache, "solr.cache.lookup.count", "The n
7878
otel.instrument(beanSolrCoreQueryResultsCache, "solr.cache.size", "The size of the cache occupied in memory.", "by",
7979
["core" : { mbean -> mbean.name().getKeyProperty("dom2") },
8080
"cache" : { mbean -> mbean.name().getKeyProperty("scope") }],
81-
"size", otel.&longUpDownCounterCallback)
81+
"ramBytesUsed", otel.&longUpDownCounterCallback)

0 commit comments

Comments
 (0)