15
15
*/
16
16
17
17
def 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 }" ,
19
19
[" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) }],
20
20
" Value" , otel. &longUpDownCounterCallback)
21
21
22
22
def 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 " ,
24
24
[" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) }],
25
25
" Value" , otel. &longUpDownCounterCallback)
26
26
27
27
def beanSolrCoreRequests = otel. mbeans([" solr:dom1=core,dom2=*,category=QUERY,scope=*,name=requests" ,
28
28
" 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 }" ,
30
30
[" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) },
31
31
" type" : { mbean -> mbean. name(). getKeyProperty(" category" ) },
32
32
" handler" : { mbean -> mbean. name(). getKeyProperty(" scope" ) }],
@@ -44,38 +44,38 @@ otel.instrument(beanSolrCoreRequestTimes, "solr.request.time.average",
44
44
45
45
def beanSolrCoreErrors = otel. mbeans([" solr:dom1=core,dom2=*,category=QUERY,scope=*,name=errors" ,
46
46
" 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 }" ,
48
48
[" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) },
49
49
" type" : { mbean -> mbean. name(). getKeyProperty(" category" ) },
50
50
" handler" : { mbean -> mbean. name(). getKeyProperty(" scope" ) }],
51
51
" Count" , otel. &longCounterCallback)
52
52
53
53
def beanSolrCoreTimeouts = otel. mbeans([" solr:dom1=core,dom2=*,category=QUERY,scope=*,name=timeouts" ,
54
54
" 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 }" ,
56
56
[" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) },
57
57
" type" : { mbean -> mbean. name(). getKeyProperty(" category" ) },
58
58
" handler" : { mbean -> mbean. name(). getKeyProperty(" scope" ) }],
59
59
" Count" , otel. &longCounterCallback)
60
60
61
61
def 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 }" ,
63
63
[" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) },
64
64
" cache" : { mbean -> mbean. name(). getKeyProperty(" scope" ) }],
65
65
" 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 }" ,
67
67
[" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) },
68
68
" cache" : { mbean -> mbean. name(). getKeyProperty(" scope" ) }],
69
69
" 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 }" ,
71
71
[" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) },
72
72
" cache" : { mbean -> mbean. name(). getKeyProperty(" scope" ) }],
73
73
" 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 }" ,
75
75
[" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) },
76
76
" cache" : { mbean -> mbean. name(). getKeyProperty(" scope" ) }],
77
77
" 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 " ,
79
79
[" core" : { mbean -> mbean. name(). getKeyProperty(" dom2" ) },
80
80
" cache" : { mbean -> mbean. name(). getKeyProperty(" scope" ) }],
81
81
" ramBytesUsed" , otel. &longUpDownCounterCallback)
0 commit comments