1515 */
1616
1717def beanSolrCoreSearcherNumDocs = otel. mbeans(" solr:dom1=core,dom2=*,category=SEARCHER,scope=searcher,name=numDocs" )
18- otel. instrument(beanSolrCoreSearcherNumDocs, " solr.document.count" , " The total number of indexed documents." , " {documents }" ,
18+ otel. instrument(beanSolrCoreSearcherNumDocs, " solr.document.count" , " The total number of indexed documents." , " {document }" ,
1919 [" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) }],
2020 " Value" , otel. &longUpDownCounterCallback)
2121
2222def beanSolrCoreIndexSize = otel. mbeans(" solr:dom1=core,dom2=*,category=INDEX,name=sizeInBytes" )
23- otel. instrument(beanSolrCoreIndexSize, " solr.index.size" , " The total index size." , " by " ,
23+ otel. instrument(beanSolrCoreIndexSize, " solr.index.size" , " The total index size." , " By " ,
2424 [" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) }],
2525 " Value" , otel. &longUpDownCounterCallback)
2626
2727def beanSolrCoreRequests = otel. mbeans([" solr:dom1=core,dom2=*,category=QUERY,scope=*,name=requests" ,
2828 " solr:dom1=core,dom2=*,category=UPDATE,scope=*,name=requests" ])
29- otel. instrument(beanSolrCoreRequests, " solr.request.count" , " The number of queries made." , " {queries }" ,
29+ otel. instrument(beanSolrCoreRequests, " solr.request.count" , " The number of queries made." , " {query }" ,
3030 [" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) },
3131 " type" : { mbean -> mbean. name(). getKeyProperty(" category" ) },
3232 " handler" : { mbean -> mbean. name(). getKeyProperty(" scope" ) }],
@@ -44,38 +44,38 @@ otel.instrument(beanSolrCoreRequestTimes, "solr.request.time.average",
4444
4545def beanSolrCoreErrors = otel. mbeans([" solr:dom1=core,dom2=*,category=QUERY,scope=*,name=errors" ,
4646 " solr:dom1=core,dom2=*,category=UPDATE,scope=*,name=errors" ])
47- otel. instrument(beanSolrCoreErrors, " solr.request.error.count" , " The number of queries resulting in an error." , " {queries }" ,
47+ otel. instrument(beanSolrCoreErrors, " solr.request.error.count" , " The number of queries resulting in an error." , " {query }" ,
4848 [" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) },
4949 " type" : { mbean -> mbean. name(). getKeyProperty(" category" ) },
5050 " handler" : { mbean -> mbean. name(). getKeyProperty(" scope" ) }],
5151 " Count" , otel. &longCounterCallback)
5252
5353def beanSolrCoreTimeouts = otel. mbeans([" solr:dom1=core,dom2=*,category=QUERY,scope=*,name=timeouts" ,
5454 " solr:dom1=core,dom2=*,category=UPDATE,scope=*,name=timeouts" ])
55- otel. instrument(beanSolrCoreTimeouts, " solr.request.timeout.count" , " The number of queries resulting in a timeout." , " {queries }" ,
55+ otel. instrument(beanSolrCoreTimeouts, " solr.request.timeout.count" , " The number of queries resulting in a timeout." , " {query }" ,
5656 [" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) },
5757 " type" : { mbean -> mbean. name(). getKeyProperty(" category" ) },
5858 " handler" : { mbean -> mbean. name(). getKeyProperty(" scope" ) }],
5959 " Count" , otel. &longCounterCallback)
6060
6161def beanSolrCoreQueryResultsCache = otel. mbeans(" solr:dom1=core,dom2=*,category=CACHE,scope=*,name=queryResultCache" )
62- otel. instrument(beanSolrCoreQueryResultsCache, " solr.cache.eviction.count" , " The number of evictions from a cache." , " {evictions }" ,
62+ otel. instrument(beanSolrCoreQueryResultsCache, " solr.cache.eviction.count" , " The number of evictions from a cache." , " {eviction }" ,
6363 [" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) },
6464 " cache" : { mbean -> mbean. name(). getKeyProperty(" scope" ) }],
6565 " cumulative_evictions" , otel. &longCounterCallback)
66- otel. instrument(beanSolrCoreQueryResultsCache, " solr.cache.hit.count" , " The number of hits for a cache." , " {hits }" ,
66+ otel. instrument(beanSolrCoreQueryResultsCache, " solr.cache.hit.count" , " The number of hits for a cache." , " {hit }" ,
6767 [" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) },
6868 " cache" : { mbean -> mbean. name(). getKeyProperty(" scope" ) }],
6969 " cumulative_hits" , otel. &longCounterCallback)
70- otel. instrument(beanSolrCoreQueryResultsCache, " solr.cache.insert.count" , " The number of inserts to a cache." , " {inserts }" ,
70+ otel. instrument(beanSolrCoreQueryResultsCache, " solr.cache.insert.count" , " The number of inserts to a cache." , " {insert }" ,
7171 [" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) },
7272 " cache" : { mbean -> mbean. name(). getKeyProperty(" scope" ) }],
7373 " cumulative_inserts" , otel. &longCounterCallback)
74- otel. instrument(beanSolrCoreQueryResultsCache, " solr.cache.lookup.count" , " The number of lookups to a cache." , " {lookups }" ,
74+ otel. instrument(beanSolrCoreQueryResultsCache, " solr.cache.lookup.count" , " The number of lookups to a cache." , " {lookup }" ,
7575 [" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) },
7676 " cache" : { mbean -> mbean. name(). getKeyProperty(" scope" ) }],
7777 " cumulative_lookups" , otel. &longCounterCallback)
78- otel. instrument(beanSolrCoreQueryResultsCache, " solr.cache.size" , " The size of the cache occupied in memory." , " by " ,
78+ 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" ) }],
8181 " ramBytesUsed" , otel. &longUpDownCounterCallback)
0 commit comments