sarama icon indicating copy to clipboard operation
sarama copied to clipboard

Support for other metrics providers (rcrowley/go-metrics is no longer maintained)

Open villevaltonen opened this issue 8 months ago • 6 comments

Description

Sarama relies on rcrowley/go-metrics for producing metrics and this library has been archived. Are there any plans for adding first-hand support for other common observability frameworks like OpenTelemetry or Prometheus?

Additional context

villevaltonen avatar Apr 02 '25 11:04 villevaltonen

Thank you for taking the time to raise this issue. However, it has not had any activity on it in the past 90 days and will be closed in 30 days if no updates occur. Please check if the main branch has already resolved the issue since it was raised. If you believe the issue is still valid and you would like input from the maintainers then please comment to ask for it to be reviewed.

github-actions[bot] avatar Jul 01 '25 12:07 github-actions[bot]

Please review.

vitaliyf avatar Jul 01 '25 12:07 vitaliyf

@burke @bai @wvanbergen @dnwe @eapache

sorry to bother you, but can anyone have a look at this? our SBOM tools flag this as an issue.

go-metrics is unmaintained and archived, the author recommends the OpenTelemetry Go SDK as a replacement.

this was mentioned once before: https://github.com/IBM/sarama/issues/2832

trever-atr avatar Sep 01 '25 14:09 trever-atr

It’s a tricky one because it’s not something we can easily do in a v1 release. We’d have to jump to /v2 to make the breaking change and we’ve had requests for both minimal native Prometheus client metrics and fuller Opentelemetry metrics so there isn’t an obvious best option right now

dnwe avatar Sep 01 '25 14:09 dnwe

Thank you for taking the time to raise this issue. However, it has not had any activity on it in the past 90 days and will be closed in 30 days if no updates occur. Please check if the main branch has already resolved the issue since it was raised. If you believe the issue is still valid and you would like input from the maintainers then please comment to ask for it to be reviewed.

github-actions[bot] avatar Nov 30 '25 16:11 github-actions[bot]

Not stale.

vitaliyf avatar Nov 30 '25 16:11 vitaliyf