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

Missing core metrics from remote-storage-manager-metrics #625

Open
zhilingc opened this issue Nov 19, 2024 · 1 comment
Open

Missing core metrics from remote-storage-manager-metrics #625

zhilingc opened this issue Nov 19, 2024 · 1 comment
Assignees

Comments

@zhilingc
Copy link

What happened?

I'm running the current newest build (2024-10-23-1729694047) and configured my jmx exporter to pick up the metrics from the plugin, and I do see the metrics from aiven.kafka.server.tieredstorage.cache , aiven.kafka.server.tieredstorage.s3, and aiven.kafka.server.tieredstorage.thread-pool, but not aiven.kafka.server.tieredstorage (specifically type=remote-storage-manager-metrics)

I've verified this with ./kafka-run-class.sh kafka.tools.JmxTool to ensure that it's not an issue with the jmx exporter configuration.

Side note -- I wanted to run the demo locally to rule out any issues with my setup but the demo image is private, is there any way to make that available publicly?

What did you expect to happen?

I expect to see the core metrics (aiven.kafka.server.tieredstorage:type=remote-storage-manager-metrics)

What else do we need to know?

  • version: 2024-10-23-1729694047
  • kafka version: 2.7.1
  • jmx exporter version: 0.16.1
@zhilingc zhilingc changed the title Missing metrics from remote-storage-manager-metrics Missing core metrics from remote-storage-manager-metrics Nov 19, 2024
@jeqo jeqo self-assigned this Nov 26, 2024
@jeqo
Copy link
Contributor

jeqo commented Nov 27, 2024

@zhilingc thanks for pointing out to this issues!

RSM metrics should be available as soon as tiered-storage starts to be used (i.e. segments start to be uploaded).
This happens as the meters are instantiated dynamically based on topic and partition tags. For the other metric registries that you mentioned, the meters are created when the plugin starts.
Could you double-check if this is the case on your environment?

I have also pushed both, the base image and the latest built, to properly test the demos; and created a PR to fix some tooling issues: #627

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

2 participants