Skip to content

Commit

Permalink
Add remote write rules for Debezium connector metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
ani-sha committed Nov 7, 2022
1 parent 5b7e257 commit 288ff50
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions observability/resources/prometheus/remote-write.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,62 @@ writeRelabelConfigs:
- __name__
targetLabel: __tmp_keep

- action: replace
regex: debezium_metrics_.*$
replacement: 'true'
sourceLabels:
- __name__
targetLabel: __tmp_keep

- action: replace
regex: kafka_connect_connector_task_status$
replacement: 'true'
sourceLabels:
- __name__
targetLabel: __tmp_keep

- action: replace
regex: kafka_connect_connector_status$
replacement: 'true'
sourceLabels:
- __name__
targetLabel: __tmp_keep

- action: replace
regex: kafka_connect_outgoing_byte_total$
replacement: 'true'
sourceLabels:
- __name__
targetLabel: __tmp_keep

- action: replace
regex: kafka_producer_requests_in_flight$
replacement: 'true'
sourceLabels:
- __name__
targetLabel: __tmp_keep

- action: replace
regex: process_cpu_seconds_total$
replacement: 'true'
sourceLabels:
- __name__
targetLabel: __tmp_keep

- action: replace
regex: jvm_memory_bytes_max$
replacement: 'true'
sourceLabels:
- __name__
targetLabel: __tmp_keep

- action: replace
regex: jvm_memory_bytes_used$
replacement: 'true'
sourceLabels:
- __name__
targetLabel: __tmp_keep

# LEAVE THIS AT BOTTOM OF FILE
- action: keep
regex: true$
Expand Down

0 comments on commit 288ff50

Please sign in to comment.