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

Allow Prometheus exporter to be used without HTTP server #551

Merged
merged 1 commit into from
Jul 1, 2024
Merged

Allow Prometheus exporter to be used without HTTP server #551

merged 1 commit into from
Jul 1, 2024

Conversation

CallumTodd7
Copy link
Contributor

Currently the only way to use the Prometheus exporter is via PrometheusExporterHttpServer.

PrometheusExporterHttpServer calls PrometheusExporterExtensions.writeMetricsCollection to do the heavy lifting of building the response payload string. Allowing library users access to this function would allow for different/existing HTTP server frameworks to be used.

Copy link

linux-foundation-easycla bot commented Jun 30, 2024

CLA Signed


The committers listed above are authorized under a signed CLA.

@nachoBonafonte nachoBonafonte merged commit 31d22dc into open-telemetry:main Jul 1, 2024
5 checks passed
@nachoBonafonte
Copy link
Member

LGTM, thanks for your contribution.

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

Successfully merging this pull request may close these issues.

3 participants