From 6687c5407a95e39ddec072573a3ebbb6079e67ea Mon Sep 17 00:00:00 2001 From: Bastian Burger <22341213+bastbu@users.noreply.github.com> Date: Tue, 5 Aug 2025 14:55:26 +0200 Subject: [PATCH 1/5] Document multiprocessing environments are not supported --- exporter/opentelemetry-exporter-prometheus/README.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/exporter/opentelemetry-exporter-prometheus/README.rst b/exporter/opentelemetry-exporter-prometheus/README.rst index a3eb9200005..bb61accb4f6 100644 --- a/exporter/opentelemetry-exporter-prometheus/README.rst +++ b/exporter/opentelemetry-exporter-prometheus/README.rst @@ -15,6 +15,11 @@ Installation pip install opentelemetry-exporter-prometheus +Known Limitations +----------------- + +* No multiprocessing support: The Prometheus exporter is not designed to operate in multiprocessing environments. + References ---------- From 5b43655f4788c2f30bc9aa41d64f25efdf9c53de Mon Sep 17 00:00:00 2001 From: Bastian Burger <22341213+bastbu@users.noreply.github.com> Date: Tue, 5 Aug 2025 15:00:35 +0200 Subject: [PATCH 2/5] Rephrase as limitation by design --- exporter/opentelemetry-exporter-prometheus/README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporter/opentelemetry-exporter-prometheus/README.rst b/exporter/opentelemetry-exporter-prometheus/README.rst index bb61accb4f6..bad8afd9f49 100644 --- a/exporter/opentelemetry-exporter-prometheus/README.rst +++ b/exporter/opentelemetry-exporter-prometheus/README.rst @@ -15,7 +15,7 @@ Installation pip install opentelemetry-exporter-prometheus -Known Limitations +Limitations ----------------- * No multiprocessing support: The Prometheus exporter is not designed to operate in multiprocessing environments. From 26c95aa8e41f7c3e9b7a64d6fa7922fe0eaa7bd3 Mon Sep 17 00:00:00 2001 From: Bastian Burger Date: Thu, 7 Aug 2025 21:15:00 +0200 Subject: [PATCH 3/5] Move documentation to Promtheus documentation folder --- docs/exporter/prometheus/prometheus.rst | 5 +++++ exporter/opentelemetry-exporter-prometheus/README.rst | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/exporter/prometheus/prometheus.rst b/docs/exporter/prometheus/prometheus.rst index 27584da490c..b8ce0188add 100644 --- a/docs/exporter/prometheus/prometheus.rst +++ b/docs/exporter/prometheus/prometheus.rst @@ -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 +----------------- + +* No multiprocessing support: The Prometheus exporter is not designed to operate in multiprocessing environments. + References ---------- diff --git a/exporter/opentelemetry-exporter-prometheus/README.rst b/exporter/opentelemetry-exporter-prometheus/README.rst index bad8afd9f49..a3eb9200005 100644 --- a/exporter/opentelemetry-exporter-prometheus/README.rst +++ b/exporter/opentelemetry-exporter-prometheus/README.rst @@ -15,11 +15,6 @@ Installation pip install opentelemetry-exporter-prometheus -Limitations ------------------ - -* No multiprocessing support: The Prometheus exporter is not designed to operate in multiprocessing environments. - References ---------- From a9eab12fc866848ccfd0eee90ee49175a0771a9a Mon Sep 17 00:00:00 2001 From: Bastian Burger Date: Thu, 7 Aug 2025 21:17:04 +0200 Subject: [PATCH 4/5] Add documentation in source code README as well --- exporter/opentelemetry-exporter-prometheus/README.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/exporter/opentelemetry-exporter-prometheus/README.rst b/exporter/opentelemetry-exporter-prometheus/README.rst index a3eb9200005..bad8afd9f49 100644 --- a/exporter/opentelemetry-exporter-prometheus/README.rst +++ b/exporter/opentelemetry-exporter-prometheus/README.rst @@ -15,6 +15,11 @@ Installation pip install opentelemetry-exporter-prometheus +Limitations +----------------- + +* No multiprocessing support: The Prometheus exporter is not designed to operate in multiprocessing environments. + References ---------- From b1e15e80fc5ab643643e97740416216cbbd68aee Mon Sep 17 00:00:00 2001 From: Bastian Burger Date: Mon, 11 Aug 2025 20:21:20 +0200 Subject: [PATCH 5/5] Link tracking issue. --- docs/exporter/prometheus/prometheus.rst | 2 +- exporter/opentelemetry-exporter-prometheus/README.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/exporter/prometheus/prometheus.rst b/docs/exporter/prometheus/prometheus.rst index b8ce0188add..ca024f277a0 100644 --- a/docs/exporter/prometheus/prometheus.rst +++ b/docs/exporter/prometheus/prometheus.rst @@ -50,7 +50,7 @@ The following environment variables are supported: Limitations ----------------- -* No multiprocessing support: The Prometheus exporter is not designed to operate in multiprocessing environments. +* No multiprocessing support: The Prometheus exporter is not designed to operate in multiprocessing environments (see `#3747 `_). References ---------- diff --git a/exporter/opentelemetry-exporter-prometheus/README.rst b/exporter/opentelemetry-exporter-prometheus/README.rst index bad8afd9f49..0b4de165328 100644 --- a/exporter/opentelemetry-exporter-prometheus/README.rst +++ b/exporter/opentelemetry-exporter-prometheus/README.rst @@ -18,7 +18,7 @@ Installation Limitations ----------------- -* No multiprocessing support: The Prometheus exporter is not designed to operate in multiprocessing environments. +* No multiprocessing support: The Prometheus exporter is not designed to operate in multiprocessing environments (see `#3747 `_). References ----------