Skip to content

Commit

Permalink
Code review suggestions regarding comments in yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
robsunday committed Nov 22, 2024
1 parent db42889 commit 8d46c94
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions jmx-scraper/src/main/resources/hbase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rules:
unit: "{server}"
type: updowncounter
mapping:
# Group of properties to build hbase.master.region_server.count metric
# hbase.master.region_server.count
numDeadRegionServers:
metric: &metric region_server.count
desc: &desc The number of region servers.
Expand Down Expand Up @@ -76,7 +76,7 @@ rules:
unit: ms
desc: Amount of time updates have been blocked so the memstore can be flushed.

# Group of properties to build hbase.region_server.request.count metric
# hbase.region_server.request.count
writeRequestCount:
metric: &metric request.count
unit: &unit "{request}"
Expand All @@ -92,7 +92,7 @@ rules:
state: const(read)
region_server: *hostname

# Group of properties to build hbase.region_server.queue.length metric
# hbase.region_server.queue.length
flushQueueLength:
metric: &metric queue.length
unit: &unit "{handler}"
Expand All @@ -108,7 +108,7 @@ rules:
state: const(compaction)
region_server: *hostname

# Group of properties to build hbase.region_server.block_cache.operation.count metric
# hbase.region_server.block_cache.operation.count
blockCacheMissCount:
metric: &metric block_cache.operation.count
type: &type gauge
Expand All @@ -126,7 +126,7 @@ rules:
state: const(hit)
region_server: *hostname

# Group of properties to build hbase.region_server.operations.slow metric
# hbase.region_server.operations.slow
slowDeleteCount:
metric: &metric operations.slow
unit: &unit "{operation}"
Expand Down Expand Up @@ -289,7 +289,7 @@ rules:
unit: "{handler}"
desc: The number of RPC handlers actively servicing requests.

# Group of properties to build hbase.region_server.queue.request.count metric
# hbase.region_server.queue.request.count
numCallsInReplicationQueue:
metric: &metric queue.request.count
unit: &unit "{request}"
Expand All @@ -312,7 +312,7 @@ rules:
state: const(priority)
region_server: *hostname

# Group of properties to build hbase.region_server.authentication.count metric
# hbase.region_server.authentication.count
authenticationSuccesses:
metric: &metric authentication.count
unit: &unit "{authentication request}"
Expand Down

0 comments on commit 8d46c94

Please sign in to comment.