I have enabled OAuth metrics on my strimzi broker cluster and I am exporting these to Prometheus using JMX.
I noticed that the strimzi_oauth_validation_requests_count seems to be incorrectly reported, as when I'm using a Kafka client to request Topic Metadata from the brokers and authenticating with OAuth, the counter metric seems to be incremented as both a success and a failure for each request.
Am I missing something or is this a know issue? I assume this metric is incremented every time there is a client request to Kafka and an error should only be reported if the jwt token is invalid.
I have enabled OAuth metrics on my strimzi broker cluster and I am exporting these to Prometheus using JMX.
I noticed that the
strimzi_oauth_validation_requests_count
seems to be incorrectly reported, as when I'm using a Kafka client to request Topic Metadata from the brokers and authenticating with OAuth, the counter metric seems to be incremented as both a success and a failure for each request.Am I missing something or is this a know issue? I assume this metric is incremented every time there is a client request to Kafka and an error should only be reported if the jwt token is invalid.