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

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

Offen
#822 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
239
Forks
59
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

# 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.