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

[prometheus-exporter] add server and port env vars #1852

Closed
naseemkullah opened this issue Jan 20, 2021 · 1 comment
Closed

[prometheus-exporter] add server and port env vars #1852

naseemkullah opened this issue Jan 20, 2021 · 1 comment

Comments

@naseemkullah
Copy link
Member

Is your feature request related to a problem? Please describe.

While in production I tend to use the default port across the board, it is nice when testing frameworks can choose a port at random, as such i usually set any server ports to 0 when testing such that they grab any available port.

To avoid 9464 already in use issues during tests I'd like an easy way to set the prometheux exporter's server port.

Describe the solution you'd like

Implement https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/sdk-environment-variables.md#prometheus-exporter

@vmarchaud
Copy link
Member

Done with #1857 so i'm closing this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants