Skip to content

Commit 7e45772

Browse files
bastbuxrmx
andauthored
Document that Prometheus exporter does not work with multiprocessing (#4711)
* Document multiprocessing environments are not supported * Rephrase as limitation by design * Move documentation to Promtheus documentation folder * Add documentation in source code README as well * Link tracking issue. * Make underscores same length as title --------- Co-authored-by: Riccardo Magliocchetti <[email protected]>
1 parent b06cf80 commit 7e45772

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/exporter/prometheus/prometheus.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ The following environment variables are supported:
4747
* ``OTEL_EXPORTER_PROMETHEUS_HOST`` (default: "localhost"): The host to bind to
4848
* ``OTEL_EXPORTER_PROMETHEUS_PORT`` (default: 9464): The port to bind to
4949

50+
Limitations
51+
-----------
52+
53+
* No multiprocessing support: The Prometheus exporter is not designed to operate in multiprocessing environments (see `#3747 <https://github.com/open-telemetry/opentelemetry-python/issues/3747>`_).
54+
5055
References
5156
----------
5257

exporter/opentelemetry-exporter-prometheus/README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ Installation
1515

1616
pip install opentelemetry-exporter-prometheus
1717

18+
Limitations
19+
-----------
20+
21+
* No multiprocessing support: The Prometheus exporter is not designed to operate in multiprocessing environments (see `#3747 <https://github.com/open-telemetry/opentelemetry-python/issues/3747>`_).
22+
1823
References
1924
----------
2025

0 commit comments

Comments
 (0)