Replies: 1 comment 6 replies
-
I think this is because your metrics YAML file is invalid (at least for Kafka). Check this diff from the Strimzi example: @@ -82,15 +82,15 @@ data:
name: kafka_server_$1_$2
type: GAUGE
labels:
- clientId: "$3"
- topic: "$4"
- partition: "$5"
+ clientId: "$3"
+ topic: "$4"
+ partition: "$5"
- pattern: kafka.server<type=(.+), name=(.+), clientId=(.+), brokerHost=(.+), brokerPort=(.+)><>Value
name: kafka_server_$1_$2
type: GAUGE
labels:
- clientId: "$3"
- broker: "$4:$5"
+ clientId: "$3"
+ broker: "$4:$5"
- pattern: kafka.server<type=(.+), cipher=(.+), protocol=(.+), listener=(.+), networkProcessor=(.+)><>connections
name: kafka_server_$1_connections_tls_info
type: GAUGE
@@ -111,14 +111,14 @@ data:
name: kafka_server_$1_$4
type: GAUGE
labels:
- listener: "$2"
- networkProcessor: "$3"
+ listener: "$2"
+ networkProcessor: "$3"
- pattern: kafka.server<type=(.+), listener=(.+), networkProcessor=(.+)><>(.+)
name: kafka_server_$1_$4
type: GAUGE
labels:
- listener: "$2"
- networkProcessor: "$3"
+ listener: "$2"
+ networkProcessor: "$3"
# Some percent metrics use MeanRate attribute
# Ex) kafka.server<type=(KafkaRequestHandlerPool), name=(RequestHandlerAvgIdlePercent)><>MeanRate
- pattern: kafka.(\w+)<type=(.+), name=(.+)Percent\w*><>MeanRate Some of the |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am just getting started with
strimzi
and was attempting to create a Kafka cluster using the Strimzikafka
CRD. After applying the CRD the Kafka pods are givingException
and I am not able to figure out the exact issue.The Kafka CRD is as follows:
The Exception is:
I am not able to figure out that which map is it referring to
Cannot invoke "java.util.Map.size()" because "map" is null
.Any help will be appreciated. Thanks
Beta Was this translation helpful? Give feedback.
All reactions