Skip to content
Merged
Changes from all commits
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
14 changes: 6 additions & 8 deletions core/src/main/resources/jmx/rules/broker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ rules:
type: const(fetch)
mapping:
Count:
metric: kafka.request.count
metric: kafka.topic.request.count
type: counter
desc: The number of requests received by the broker
unit: "{requests}"
Expand All @@ -51,7 +51,7 @@ rules:
type: const(produce)
mapping:
Count:
metric: kafka.request.count
metric: kafka.topic.request.count
type: counter
desc: The number of requests received by the broker
unit: "{requests}"
Expand All @@ -62,7 +62,7 @@ rules:
type: const(fetch)
mapping:
Count:
metric: kafka.request.failed
metric: kafka.topic.request.failed
type: counter
desc: The number of requests to the broker resulting in a failure
unit: "{requests}"
Expand All @@ -73,24 +73,22 @@ rules:
type: const(produce)
mapping:
Count:
metric: kafka.request.failed
metric: kafka.topic.request.failed
type: counter
desc: The number of requests to the broker resulting in a failure
unit: "{requests}"

# Request Metrics
- beans:
- kafka.network:type=RequestMetrics,name=RequestsPerSec,request=Produce
- kafka.network:type=RequestMetrics,name=RequestsPerSec,request=Fetch
- kafka.network:type=RequestMetrics,name=RequestsPerSec,request=AlterPartitionReassignments
- kafka.network:type=RequestMetrics,name=RequestsPerSec,request=*,version=*
metricAttribute:
type: param(request)
unit: ms
mapping:
Count:
metric: kafka.request.count
type: counter
desc: The total number of requests received by the broker
unit: "{requests}"

- beans:
- kafka.network:type=RequestMetrics,name=TotalTimeMs,request=Produce
Expand Down