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

💡 [REQUEST] - Add OpenTelemetry Exporter plugin #347

Open
1 task done
skinlayers opened this issue Aug 17, 2023 · 1 comment
Open
1 task done

💡 [REQUEST] - Add OpenTelemetry Exporter plugin #347

skinlayers opened this issue Aug 17, 2023 · 1 comment
Labels
question Further information is requested

Comments

@skinlayers
Copy link

Summary

It would be useful to be able to export SLO reports to OpenTelemetry. I've already done some initial work, but ran into a stumbling block when trying to leverage the existing prometheus exporter as a template. The prometheus exporter creates a Gauge to build the time_series. OpenTelemetry says that prometheus gauges must be converted to OTLP Gauges. Unfortunately, at the moment, OpenTelemetry only supports async gauges, while slo-generator's design calls for a synchronous gauge. I'm currently looking at ways to wrap the async gauge to make it synchronous.

Basic Example

In the case of writing to Grafana Mimir, it would provide a future-facing alternative to pushgateway or remote write. Ideally both grpc and http would be supported.

Screenshots

![DESCRIPTION](LINK.png)

Drawbacks

It would add more code to slo-generator that would need to be maintained.

Unresolved questions

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@skinlayers skinlayers added the question Further information is requested label Aug 17, 2023
@lvaylet
Copy link
Collaborator

lvaylet commented Oct 13, 2023

Hi @skinlayers, thanks for suggesting this new exporter. Can you share your existing code, for example in a new Pull Request (PR), so it can be reviewed by external pairs of eyes? Then we can work on the gauges all together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants