Skip to content

Commit

Permalink
[yugabyte/yugabyte-db#16905] Fix metrics regex (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhav-yb authored Apr 25, 2023
1 parent a4e4f99 commit 1eecc00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,14 @@ rules:
context: "$2"
table: "$4"

- pattern: "debezium.([^:]+)<type=connector-metrics, server=([^,]+), task=([^,]+), context=([^,]+), tablet=([^>]+)>([^:]+)"
- pattern: "debezium.([^:]+)<type=connector-metrics, server=([^,]+), task=([^,]+), context=([^,]+), partition=([^>]+)>([^:]+)"
name: "debezium_metrics_$6"
labels:
plugin: "$1"
name: "$2"
context: "$4"
task: "$3"
tablet: "$5"
partition: "$5"

- pattern: "debezium.([^:]+)<type=connector-metrics, server=([^,]+), task=([^,]+), context=([^>]+)>([^:]+)"
name: "debezium_metrics_$5"
Expand Down

0 comments on commit 1eecc00

Please sign in to comment.