Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions jmx-scraper/src/main/resources/jvm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ rules:
LoadedClassCount:
metric: jvm.classes.loaded
type: gauge
unit: '{class}'
unit: "{class}"
desc: number of loaded classes

- bean: java.lang:type=GarbageCollector,name=*
mapping:
CollectionCount:
metric: jvm.gc.collections.count
type: counter
unit: '{collection}'
unit: "{collection}"
desc: total number of collections that have occurred
metricAttribute:
name: param(name)
Expand Down Expand Up @@ -87,5 +87,5 @@ rules:
mapping:
ThreadCount:
metric: jvm.threads.count
unit: '{thread}'
unit: "{thread}"
desc: number of threads
20 changes: 10 additions & 10 deletions jmx-scraper/src/main/resources/solr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rules:
Value:
metric: solr.document.count
type: updowncounter
unit: '{document}'
unit: "{document}"
desc: The total number of indexed documents.
metricAttribute:
core: param(dom2)
Expand All @@ -29,7 +29,7 @@ rules:
Count:
metric: solr.request.count
type: counter
unit: '{query}'
unit: "{query}"
desc: The number of queries made.
metricAttribute:
core: param(dom2)
Expand All @@ -43,7 +43,7 @@ rules:
Mean:
metric: solr.request.time.average
type: gauge
unit: 'ms'
unit: "ms"
desc: "The average time of a query, based on Solr's histogram configuration."
metricAttribute:
core: param(dom2)
Expand All @@ -57,7 +57,7 @@ rules:
Count:
metric: solr.request.error.count
type: counter
unit: '{query}'
unit: "{query}"
desc: The number of queries resulting in an error.
metricAttribute:
core: param(dom2)
Expand All @@ -71,7 +71,7 @@ rules:
Count:
metric: solr.request.timeout.count
type: counter
unit: '{query}'
unit: "{query}"
desc: The number of queries resulting in a timeout.
metricAttribute:
core: param(dom2)
Expand All @@ -87,24 +87,24 @@ rules:
mapping:
cumulative_evictions:
metric: eviction.count
unit: '{eviction}'
unit: "{eviction}"
desc: The number of evictions from a cache.
cumulative_hits:
metric: hit.count
unit: '{hit}'
unit: "{hit}"
desc: The number of hits for a cache.
cumulative_inserts:
metric: insert.count
unit: '{insert}'
unit: "{insert}"
desc: The number of inserts to a cache.
cumulative_lookups:
metric: lookup.count
unit: '{lookup}'
unit: "{lookup}"
desc: The number of lookups to a cache.
ramBytesUsed:
type: updowncounter
metric: size
unit: 'By'
unit: By
desc: The size of the cache occupied in memory.


Loading