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

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

Ouverte
#822 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
239
Forks
59
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

# 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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.