Skip to content

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

Merged
merged 7 commits into from
Aug 22, 2025

Conversation

bastbu
Copy link
Contributor

@bastbu bastbu commented Aug 5, 2025

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.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

No tests - documentation update.

Does This PR Require a Contrib Repo Change?

  • Yes.
  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@bastbu bastbu marked this pull request as ready for review August 5, 2025 13:02
@bastbu bastbu requested a review from a team as a code owner August 5, 2025 13:02
@tammy-baylis-swi
Copy link
Contributor

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

@bastbu
Copy link
Contributor Author

bastbu commented Aug 7, 2025

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.

Copy link
Contributor

@tammy-baylis-swi tammy-baylis-swi left a 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.

@xrmx xrmx added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Aug 18, 2025
@xrmx xrmx self-requested a review August 22, 2025 14:22
@xrmx xrmx enabled auto-merge (squash) August 22, 2025 14:23
@xrmx xrmx merged commit 7e45772 into open-telemetry:main Aug 22, 2025
371 checks passed
@bastbu bastbu deleted the patch-1 branch August 23, 2025 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants