Skip to content

Commit 2aea042

Browse files
authored
Merge pull request #18 from osodevops/debezium-metrics
Adding debezium metrics to prometheus exporter
2 parents a6837f5 + dd4a75e commit 2aea042

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

charts/kafka-connect/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.3.0
18+
version: 0.3.1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/kafka-connect/templates/connect-metrics.yaml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,36 @@ data:
182182
name: kafka_connect_coordinator_$1
183183
help: "Kafka Connect JMX metric assignment information"
184184
type: GAUGE
185-
{{- end }}
185+
186+
- pattern: "debezium.([^:]+)<type=connector-metrics, context=([^,]+), server=([^,]+), key=([^>]+)><>RowsScanned"
187+
name: "debezium_metrics_RowsScanned"
188+
labels:
189+
plugin: "$1"
190+
name: "$3"
191+
context: "$2"
192+
table: "$4"
193+
194+
- pattern: "debezium.([^:]+)<type=connector-metrics, server=([^,]+), task=([^,]+), context=([^,]+), database=([^>]+)>([^:]+)"
195+
name: "debezium_metrics_$6"
196+
labels:
197+
plugin: "$1"
198+
name: "$2"
199+
task: "$3"
200+
context: "$4"
201+
database: "$5"
202+
203+
- pattern: "debezium.([^:]+)<type=connector-metrics, server=([^,]+), task=([^,]+), context=([^>]+)>([^:]+)"
204+
name: "debezium_metrics_$5"
205+
labels:
206+
plugin: "$1"
207+
name: "$2"
208+
task: "$3"
209+
context: "$4"
210+
211+
- pattern: "debezium.([^:]+)<type=connector-metrics, context=([^,]+), server=([^>]+)>([^:]+)"
212+
name: "debezium_metrics_$4"
213+
labels:
214+
plugin: "$1"
215+
name: "$3"
216+
context: "$2"
217+
{{- end }}

0 commit comments

Comments
 (0)