Skip to content

Commit

Permalink
DBZ-8037 Added kafka.producer metrics since this is not going to be…
Browse files Browse the repository at this point in the history
… used with a `kafka.connect` container
  • Loading branch information
missingcharacter authored and jpechane committed Jul 11, 2024
1 parent 3d76772 commit e62a2a4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions debezium-server-dist/src/main/resources/distro/conf/metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@ ssl: false
lowercaseOutputName: false
lowercaseOutputLabelNames: false
rules:
- pattern: "kafka.producer<type=producer-metrics, client-id=([^>]+)><>([^:]+)"
name: "kafka_producer_metrics_$2"
type: GAUGE
labels:
client: "$1"
- pattern: "kafka.producer<type=producer-node-metrics, client-id=([^>]+), node-id=([^>]+)><>([^:]+)"
name: "kafka_producer_node_metrics_$3"
type: GAUGE
labels:
client: "$1"
node: "$2"
- pattern: "kafka.producer<type=producer-topic-metrics, client-id=([^>]+), topic=([^>]+)><>([^:]+)"
name: "kafka_producer_topic_metrics_$3"
type: GAUGE
labels:
client: "$1"
topic: "$2"
- pattern: "kafka.connect<type=connect-worker-metrics>([^:]+):"
name: "kafka_connect_worker_metrics_$1"
type: GAUGE
Expand Down

0 comments on commit e62a2a4

Please sign in to comment.