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: docs/kafka/metrics-monitoring-kafka/README.adoc
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,13 +162,16 @@ This procedure follows the https://prometheus.io/docs/prometheus/latest/configur
162
162
163
163
.Prerequisites
164
164
* You have access to a Kafka instance that contains topics in {product-kafka}. For more information about access management in {product-kafka}, see {base-url}{access-mgmt-url-kafka}[_Managing account access in {product-long-kafka}_^].
165
+
* You have the ID and the SASL/OAUTHBEARER token endpoint for the Kafka instance. To relocate the Kafka instance ID and the token endpoint, select your Kafka instance in the {product-kafka} web console, select the options menu (three vertical dots), and click *Connection*.
165
166
* You have the generated credentials for your service account that has access to the Kafka instance. To regenerate and re-copy the credentials, use the *Service Accounts* page in the {product-kafka} web console to find your service account and update the credentials. For more information about service accounts, see {base-url}{getting-started-url-kafka}#proc-creating-service-account_getting-started[_Getting started with {product-long-kafka}_^].
166
167
* You've installed a Prometheus instance in your monitoring environment. For installation instructions, see https://prometheus.io/docs/prometheus/latest/getting_started/[Getting Started] in the Prometheus documentation.
167
168
168
169
.Procedure
169
-
. In your Prometheus configuration file, add the following information. Replace `<kafka_instance_id>` with the ID of the Kafka instance. Replace `<client_id>` and `<client_secret>` with the generated credentials for your service account.
170
+
. In your Prometheus configuration file, add the following information. Replace the variable values with your own Kafka instanceand service account information.
170
171
+
171
172
--
173
+
The `<kafka_instance_id>` is the ID of the Kafka instance. The `<client_id>` and `<client_secret>` are the generated credentials for your service account that you copied previously. The `<token_url>` is the SASL/OAUTHBEARER token endpoint for the Kafka instance.
174
+
172
175
.Required information for Prometheus configuration file
173
176
[source,yaml,subs="+quotes"]
174
177
----
@@ -180,7 +183,7 @@ This procedure follows the https://prometheus.io/docs/prometheus/latest/configur
0 commit comments