-
Notifications
You must be signed in to change notification settings - Fork 732
Document that Prometheus exporter does not work with multiprocessing #4711
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
base: main
Are you sure you want to change the base?
Conversation
Thank you for this PR! Could the warning also be added to the docs-level rst?: https://github.com/open-telemetry/opentelemetry-python/blob/cf31a6967aac76663b4cca023b5d760fd6eb5355/docs/exporter/prometheus/prometheus.rst |
Sure, added it in both places now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for that, I think this is good. The maintainers will be the next to look at this.
@@ -47,6 +47,11 @@ The following environment variables are supported: | |||
* ``OTEL_EXPORTER_PROMETHEUS_HOST`` (default: "localhost"): The host to bind to | |||
* ``OTEL_EXPORTER_PROMETHEUS_PORT`` (default: 9464): The port to bind to | |||
|
|||
Limitations | |||
----------------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't these underlines be as long as the text?
Description
This PR adds a note to the documentation of the Prometheus exporter to make it clear that the exporter does not work when using multiprocessing.
Applies to #3747
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
No tests - documentation update.
Does This PR Require a Contrib Repo Change?
Checklist: