Hi Anil,
You need to update instana-agent configmap as below :
apiVersion: v1
data:
cluster_name: NOIOCP
configuration-disable-kubernetes-sensor.yaml: |
com.instana.plugin.kubernetes:
enabled: false
configuration.yaml: |
com.instana.plugin.kafka:
#jmxUsername: ''
#jmxPassword: ''
#jmxPort: '' # default jmx port is 1099
topicsRegex: '.*'
brokerPropertiesFilePath: '/var/lib/kafka/data/server.properties'
collectLagData: '' # true or false. The default value is true
#sslTrustStore: '/path/to/truststore.jks'
#sslTrustStorePassword: 'kafkaTsPassword'
#sslKeyStore: '/path/to/sslKeyStoreFile.jks'
#sslKeyStorePassword: 'kafkaKsPassword'
# Manual a-priori configuration. Configuration will be only used when the sensor
---------------------truncated
Thanks & Regards
Gurpreet
------------------------------
Gurpreet Kaur
------------------------------
Original Message:
Sent: Fri July 26, 2024 07:25 AM
From: Anil venkatesh
Subject: Monitoring Kafka
Hi Team,
I have a query regarding Monitoring Kafka Consumer Lag in Instana. We have already deployed instana host agent in OpenShift cluster by following the doc
Installing by using the OpenShift command line. The business use case is that they have kafka running in cluster and they want to see the Consumer Lags in the instana dashboard for that we have gone through the doc called
Monitoring Kafka. In this doc we have seen that to observe the consumer Lag in instana dashboard we need to do some configuration in the deployment yaml file. In this yaml file where we need to input the required below params
- com.instana.plugin.kafka:
- ...
- topicsRegex: '<OPTIONAL_REGEX_HERE>'
- brokerPropertiesFilePath: '/path/to/server.properties'
- collectLagData: '' # true or false. The default value is true
that is mentioned in the Monitoring Kafka doc. Anyone can please help us in order to achieve the use case. Thanks for your time.
------------------------------
Anil venkatesh
------------------------------