You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/assemblies/metrics/assembly-metrics-config-files.adoc
+20-14Lines changed: 20 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,14 +42,18 @@ metrics
42
42
├── strimzi-metrics-reporter
43
43
| ├── grafana-dashboards <10>
44
44
| | ├── strimzi-kafka.json
45
+
| | ├── strimzi-kafka-connect.json
46
+
| | ├── strimzi-kafka-mirror-maker-2.json
45
47
| | ├── strimzi-kraft.json
46
-
| └── kafka-metrics.yaml <11>
47
-
├── kafka-bridge-metrics.yaml <12>
48
-
├── kafka-connect-metrics.yaml <13>
49
-
├── kafka-cruise-control-metrics.yaml <14>
50
-
├── kafka-metrics.yaml <15>
51
-
├── kafka-mirror-maker-2-metrics.yaml <16>
52
-
└── oauth-metrics.yaml <17>
48
+
│ ├── kafka-connect-metrics.yaml <11>
49
+
│ ├── kafka-metrics.yaml <12>
50
+
| └── kafka-mirror-maker-2-metrics.yaml <13>
51
+
├── kafka-bridge-metrics.yaml <14>
52
+
├── kafka-connect-metrics.yaml <15>
53
+
├── kafka-cruise-control-metrics.yaml <16>
54
+
├── kafka-metrics.yaml <17>
55
+
├── kafka-mirror-maker-2-metrics.yaml <18>
56
+
└── oauth-metrics.yaml <19>
53
57
54
58
--
55
59
<1> Grafana dashboards for components using the JMX Exporter.
@@ -62,13 +66,15 @@ metrics
62
66
<8> Installation resource file for the Prometheus image.
63
67
<9> PodMonitor definitions translated by the Prometheus Operator into jobs for the Prometheus server to be able to scrape metrics data directly from pods.
64
68
<10> Grafana dashboards for components using the Strimzi Metrics Reporter.
65
-
<11> Resource for deploying and configuring Strimzi Metrics Reporter based Kafka.
66
-
<12> Kafka Bridge resource with metrics enabled.
67
-
<13> Metrics configuration that defines Prometheus JMX Exporter relabeling rules for Kafka Connect.
68
-
<14> Metrics configuration that defines Prometheus JMX Exporter relabeling rules for Cruise Control.
69
-
<15> Metrics configuration that defines Prometheus JMX Exporter relabeling rules for Kafka.
70
-
<16> Metrics configuration that defines Prometheus JMX Exporter relabeling rules for MirrorMaker 2.
71
-
<17> Metrics configuration that defines Prometheus JMX Exporter relabeling rules for OAuth 2.0.
69
+
<11> `KafkaConnect` resource for deploying Kafka Connect with Strimzi Metrics Reporter.
70
+
<12> `KafkaMirrorMaker2` resource for deploying MirrorMaker 2 with Strimzi Metrics Reporter.
71
+
<13> `Kafka` resource for deploying Kafka with Strimzi Metrics Reporter.
72
+
<14> Kafka Bridge resource with metrics enabled.
73
+
<15> Metrics configuration that defines Prometheus JMX Exporter relabeling rules for Kafka Connect.
74
+
<16> Metrics configuration that defines Prometheus JMX Exporter relabeling rules for Cruise Control.
75
+
<17> Metrics configuration that defines Prometheus JMX Exporter relabeling rules for Kafka.
76
+
<18> Metrics configuration that defines Prometheus JMX Exporter relabeling rules for MirrorMaker 2.
77
+
<19> Metrics configuration that defines Prometheus JMX Exporter relabeling rules for OAuth 2.0.
72
78
73
79
NOTE: The Prometheus JMX Exporter collects Java Management Extensions (JMX) from Kafka components and converts them into Prometheus metrics.
74
80
You do not require `jmxOptions` configuration in the custom resource of the component for the Prometheus JMX Exporter to function.
Copy file name to clipboardExpand all lines: documentation/modules/metrics/proc-strimzi-metrics-reporter-kafka-deploy-options.adoc
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,15 +11,19 @@ To enable and expose metrics in Strimzi for Prometheus, configure the appropriat
11
11
Use `metricsConfig` configuration to expose metrics for these components:
12
12
13
13
* Kafka
14
+
* Kafka Connect
15
+
* Kafka MirrorMaker 2
14
16
15
17
This enables the {StrimziMetricsReporter}, which exposes metrics on port 9404 through an HTTP endpoint.
16
18
Prometheus scrapes this endpoint to collect Kafka metrics.
17
19
18
20
You can create your own Prometheus configuration or use the xref:assembly-metrics-config-files-{context}[example custom resource file] provided with Strimzi:
19
21
20
22
* `kafka-metrics.yaml`
23
+
* `kafka-connect-metrics.yaml`
24
+
* `kafka-mirror-maker-2-metrics.yaml`
21
25
22
-
This file contains the necessary configuration, and is a good starting point for trying Prometheus with Strimzi.
26
+
These files contain the necessary configuration, and are a good starting point for trying Prometheus with Strimzi.
23
27
24
28
This procedure shows how to deploy example Prometheus metrics configuration to the `Kafka` resource.
0 commit comments