Aiven-Open / Aiven-Open/tiered-storage-for-apache-kafka

S3 metrics: MetricCollector.publish() never reached, all kafka_tieredstorage_s3_* are 0

Abierto
#822 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
239
Forks
59
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

# What happened?

I am trying to scrape the S3 operations metrics, but they are all appear blank, and just do not tick. Every single S3 attribute is in its initial state - counters at 0, time sensors at NaN (which Kafka's Avg/Max return when count=0, i.e., never had a sample). Even for an idle metric you'd expect to see requests_total = N for some non-zero N if sensor.record() had ever been called. It hasn't, not once, for any operation type.

# What did you expect to happen?

Able to scrape the S3 operations metrics.

# What else do we need to know?

The MBean creation pipeline works (S3 metric names appear in the output). The pattern matching works (_total suffix preserved correctly via the COUNTER type rule we set up). The whitelisting works (all S3 attributes get scraped, even those with NaN).

Strimzi Operator 0.46.1
Kafka 3.9.0

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.