Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong metric value for kafka_schema_registry_node_count_node_count #3071

Open
maciej-tatarski opened this issue Apr 10, 2024 · 0 comments
Open

Comments

@maciej-tatarski
Copy link

maciej-tatarski commented Apr 10, 2024

One of the nodes of schema registry exports kafka_schema_registry_node_count_node_count metric as 0, the correct value is 2.

Schema registry version: 7.6.0

Steps to reproduce:

  1. Spawn schema registry with 2 replicas
  2. Export the jmx metrics
  3. Observe kafka_schema_registry_node_count_node_count
~ k get pods
NAME                                 READY   STATUS    RESTARTS      AGE
schema-registry-0                    2/2     Running   2 (15m ago)   16m
schema-registry-1                    2/2     Running   0             15m
schema-registry-kafka-controller-0   1/1     Running   0             16m
➜  ~ curl -s localhost:5555 | grep -i -x "kafka_schema_registry_node_count_node_count [0-9.]*"
kafka_schema_registry_node_count_node_count 0.0
➜  ~ curl -s localhost:5556 | grep -i -x "kafka_schema_registry_node_count_node_count [0-9.]*"
kafka_schema_registry_node_count_node_count 2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant