Skip to content

Commit 31f79b3

Browse files
lesnik512claude
andauthored
feat(otel): OTLP HTTP exporter for free-threaded OTLP export (#156)
* docs(planning): spec OTLP HTTP exporter for free-threaded OTLP export Add an opentelemetry_exporter_protocol config (grpc|http, default grpc) and an otl-http extra (opentelemetry-exporter-otlp-proto-http, no grpcio) so OTLP trace export works on free-threaded Python; repoint otl to the grpc exporter package. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * feat(otel): select OTLP exporter protocol (grpc|http); add otl-http extra Add opentelemetry_exporter_protocol (default grpc, unchanged behavior) and a grpcio-free otl-http extra (opentelemetry-exporter-otlp-proto-http) so OTLP trace export works on free-threaded Python. bootstrap() picks the aliased exporter by protocol and warns naming the right extra when it is absent; the insecure warning is gRPC-only. otl now pulls the grpc exporter package directly. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * ci: prove OTLP-http export on the free-threaded legs Install otl-http on both ft legs and have ft_smoke.py bootstrap a protocol=http OpenTelemetryInstrument (grpc/grpcio stays absent). Verified on real 3.13t and 3.14t interpreters. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * docs: promote OTLP-http exporter (matrix, guard, release note) Add otl-http to the free-threading matrix, document the api/sdk/exporter guards plus protocol selection in instruments.md, clear the OTLP-http deferral, and note it in 1.3.0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent dca8303 commit 31f79b3

13 files changed

Lines changed: 314 additions & 40 deletions

File tree

‎.github/workflows/_checks.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ jobs:
5454
matrix:
5555
include:
5656
- python-version: "3.13t"
57-
extras: "logging,sentry,fastapi,faststream,fastapi-metrics,faststream-metrics"
57+
extras: "logging,sentry,fastapi,faststream,fastapi-metrics,faststream-metrics,otl-http"
5858
- python-version: "3.14t"
59-
extras: "logging,sentry,fastapi,litestar,faststream,fastmcp,fastapi-metrics,litestar-metrics,faststream-metrics,fastmcp-metrics"
59+
extras: "logging,sentry,fastapi,litestar,faststream,fastmcp,fastapi-metrics,litestar-metrics,faststream-metrics,fastmcp-metrics,otl-http"
6060
steps:
6161
- uses: actions/checkout@v6
6262
- uses: astral-sh/setup-uv@v8.2.0
@@ -65,7 +65,7 @@ jobs:
6565
cache-dependency-glob: "**/pyproject.toml"
6666
- run: uv python install ${{ matrix.python-version }}
6767
- run: uv venv --python ${{ matrix.python-version }}
68-
- name: Install core + ft-ready extras (orjson/otl/pyroscope excluded; litestar/fastmcp 3.14t-only)
68+
- name: Install core + ft-ready extras (orjson/otl-grpc/pyroscope excluded; otl-http included; litestar/fastmcp 3.14t-only)
6969
run: uv pip install ".[${{ matrix.extras }}]"
7070
- name: Free-threaded smoke test
7171
run: .venv/bin/python scripts/ft_smoke.py

‎architecture/free-threading.md‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,17 @@ its extra, not `lite-bootstrap` itself.
1414
| `litestar` (+ `litestar-metrics`) | ❌ | ✅ | `msgspec` gates `Py_GIL_DISABLED` to Python 3.14+ — its `_core.c` contains `#error "Py_GIL_DISABLED is only supported in Python 3.14+"` (v0.21.1), so the source build fails on 3.13t. See [`planning/deferred.md`](../planning/deferred.md) |
1515
| `fastmcp` (+ `fastmcp-metrics`) | ❌ | ✅ | 3.13t: `cffi` (via `fastmcp`→`cryptography`) refuses to build free-threaded. 3.14t: works (on the leg) since the opentelemetry api/sdk split. See [`planning/deferred.md`](../planning/deferred.md) |
1616
| `orjson` (opt-in speedup) | ❌ | ❌ | no ft wheels, build refuses ft ([ijl/orjson#530](https://github.com/ijl/orjson/issues/530)). Omit it on ft; the serializer falls back to stdlib json |
17-
| `otl` (gRPC exporter) | ❌ | ❌ | needs `grpcio`, no ft wheels ([grpc/grpc#38762](https://github.com/grpc/grpc/issues/38762)). An HTTP-exporter path is deferred (`planning/deferred.md`) |
17+
| `otl` (gRPC exporter) | ❌ | ❌ | needs `grpcio`, no ft wheels ([grpc/grpc#38762](https://github.com/grpc/grpc/issues/38762)) |
18+
| `otl-http` (HTTP exporter) | ✅ | ✅ | `opentelemetry-exporter-otlp-proto-http` (requests + protobuf, no grpcio); set `opentelemetry_exporter_protocol="http"` |
1819
| `pyroscope` | ❌ | ❌ | `pyroscope-io` is abi3-only, unmaintained, no ft wheels ([`planning/deferred.md`](../planning/deferred.md)) |
1920

2021
The CI matrix (`.github/workflows/_checks.yml`, `free-threaded` job) installs
2122
per Python version to match this table exactly: the 3.13t leg's extras stop at
22-
`logging,sentry,fastapi,faststream,fastapi-metrics,faststream-metrics`; the
23-
3.14t leg adds `litestar,litestar-metrics,fastmcp,fastmcp-metrics`. `orjson`,
24-
`otl`, and `pyroscope` are excluded from both legs; `fastmcp` runs on 3.14t only
25-
(3.13t is `cffi`-blocked).
23+
`logging,sentry,fastapi,faststream,fastapi-metrics,faststream-metrics,otl-http`;
24+
the 3.14t leg adds `litestar,litestar-metrics,fastmcp,fastmcp-metrics`. `orjson`
25+
and `pyroscope` are excluded from both legs, and `otl` (the gRPC exporter) is
26+
excluded in favor of `otl-http`, which is included on both legs; `fastmcp` runs
27+
on 3.14t only (3.13t is `cffi`-blocked).
2628

2729
## The `orjson` fallback
2830

‎architecture/instruments.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,20 @@ separate PyPI distributions — a real environment can have any subset. Three
8686
`InstrumentDependencyMissingWarning` ("…spans will not be exported. Install
8787
lite-bootstrap[otl].") rather than silently omitting the span processor — the
8888
standard configured-but-missing signal.
89+
- **`is_otlp_http_exporter_installed`**
90+
(`_safe_find_spec("opentelemetry.exporter.otlp.proto.http.trace_exporter")`) —
91+
the HTTP OTLP exporter (`opentelemetry-exporter-otlp-proto-http`, no `grpcio`,
92+
so it installs on free-threaded builds; see `architecture/free-threading.md`).
93+
Same guarded-import/guarded-use shape as the gRPC flag above; the missing-package
94+
warning names `lite-bootstrap[otl-http]` instead.
95+
96+
`OpenTelemetryConfig.opentelemetry_exporter_protocol` (`"grpc"` default | `"http"`)
97+
selects which exporter `bootstrap()` builds when `opentelemetry_endpoint` is set:
98+
`"grpc"` passes `endpoint`/`insecure` to `OTLPGrpcSpanExporter`; `"http"` passes
99+
only `endpoint` (a full URL) to `OTLPHttpSpanExporter` — the HTTP exporter has no
100+
`insecure` parameter, since that's carried by the URL scheme. Each branch checks
101+
its own installed-flag and warns independently if the corresponding exporter
102+
package is missing.
89103

90104
## Why instruments are not frozen
91105

‎docs/introduction/configuration.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,10 @@ Additional parameters:
7272

7373
- `opentelemetry_service_name` - if provided, will be passed to the `Resource` instead of `service_name`.
7474
- `opentelemetry_container_name` - will be passed to the `Resource`.
75-
- `opentelemetry_endpoint` - will be passed to `OTLPSpanExporter` as endpoint.
75+
- `opentelemetry_endpoint` - will be passed to `OTLPSpanExporter` as endpoint. Under `opentelemetry_exporter_protocol="http"` this is a full URL (e.g. `http://collector:4318/v1/traces`).
7676
- `opentelemetry_namespace` - will be passed to the `Resource`.
77-
- `opentelemetry_insecure` - is opentelemetry connection secure.
77+
- `opentelemetry_exporter_protocol` - OTLP exporter transport: `"grpc"` (default, needs the `otl` extra) or `"http"` (needs the `otl-http` extra, no `grpcio` - installable on free-threaded Python).
78+
- `opentelemetry_insecure` - whether the gRPC OTLP connection is insecure (gRPC only; for `http` the endpoint URL scheme carries security).
7879
- `opentelemetry_instrumentors` - a list of extra instrumentors.
7980
- `opentelemetry_log_traces` - traces will be logged to stdout.
8081
- `opentelemetry_generate_health_check_spans` - generate spans for health check handlers if `True`.

‎lite_bootstrap/import_checker.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def _safe_find_spec(module_name: str) -> bool:
3434
is_opentelemetry_installed and is_litestar_installed and _safe_find_spec("opentelemetry.instrumentation.asgi")
3535
)
3636
is_otlp_grpc_exporter_installed = _safe_find_spec("opentelemetry.exporter.otlp.proto.grpc.trace_exporter")
37+
is_otlp_http_exporter_installed = _safe_find_spec("opentelemetry.exporter.otlp.proto.http.trace_exporter")
3738
is_pyroscope_installed = find_spec("pyroscope") is not None
3839
is_fastmcp_installed = find_spec("fastmcp") is not None
3940
is_orjson_installed = find_spec("orjson") is not None

‎lite_bootstrap/instruments/opentelemetry_instrument.py‎

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
# opentelemetry-api can be present without the grpc otlp exporter package (e.g.
2525
# lite-bootstrap[fastmcp] pulls bare opentelemetry-api transitively); this must
2626
# stay a separate guard from is_opentelemetry_installed above.
27-
from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import OTLPSpanExporter
27+
from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import OTLPSpanExporter as OTLPGrpcSpanExporter
28+
29+
if import_checker.is_otlp_http_exporter_installed:
30+
from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter as OTLPHttpSpanExporter
2831

2932
if import_checker.is_pyroscope_installed:
3033
import pyroscope
@@ -56,6 +59,7 @@ class OpenTelemetryConfig(OpenTelemetryServiceFieldsConfig):
5659
)
5760
opentelemetry_endpoint: str | None = None
5861
opentelemetry_insecure: bool = True
62+
opentelemetry_exporter_protocol: typing.Literal["grpc", "http"] = "grpc"
5963
opentelemetry_instrumentors: list[typing.Union[InstrumentorWithParams, "BaseInstrumentor"]] = dataclasses.field(
6064
default_factory=list
6165
)
@@ -75,6 +79,8 @@ def __post_init__(self) -> None:
7579

7680
def _parse_remote_insecure_host(self) -> str | None:
7781
"""Return the host name if the endpoint is insecure AND non-local; else None."""
82+
if self.opentelemetry_exporter_protocol != "grpc":
83+
return None
7884
if not self.opentelemetry_endpoint or not self.opentelemetry_insecure:
7985
return None
8086
if self.opentelemetry_endpoint.startswith("unix://"):
@@ -184,19 +190,33 @@ def bootstrap(self) -> None:
184190
if self.bootstrap_config.opentelemetry_log_traces:
185191
tracer_provider.add_span_processor(SimpleSpanProcessor(ConsoleSpanExporter(formatter=_format_span)))
186192
if self.bootstrap_config.opentelemetry_endpoint:
187-
if import_checker.is_otlp_grpc_exporter_installed:
188-
tracer_provider.add_span_processor( # pragma: no cover
189-
BatchSpanProcessor(
190-
OTLPSpanExporter(
191-
endpoint=self.bootstrap_config.opentelemetry_endpoint,
192-
insecure=self.bootstrap_config.opentelemetry_insecure,
193+
if self.bootstrap_config.opentelemetry_exporter_protocol == "grpc":
194+
if import_checker.is_otlp_grpc_exporter_installed:
195+
tracer_provider.add_span_processor(
196+
BatchSpanProcessor(
197+
OTLPGrpcSpanExporter(
198+
endpoint=self.bootstrap_config.opentelemetry_endpoint,
199+
insecure=self.bootstrap_config.opentelemetry_insecure,
200+
),
193201
),
202+
)
203+
else:
204+
warnings.warn(
205+
"opentelemetry_endpoint is set but the gRPC OTLP exporter is not installed; "
206+
"spans will not be exported. Install lite-bootstrap[otl].",
207+
category=InstrumentDependencyMissingWarning,
208+
stacklevel=2,
209+
)
210+
elif import_checker.is_otlp_http_exporter_installed:
211+
tracer_provider.add_span_processor(
212+
BatchSpanProcessor(
213+
OTLPHttpSpanExporter(endpoint=self.bootstrap_config.opentelemetry_endpoint),
194214
),
195215
)
196216
else:
197217
warnings.warn(
198-
"opentelemetry_endpoint is set but the gRPC OTLP exporter is not installed; "
199-
"spans will not be exported. Install lite-bootstrap[otl].",
218+
"opentelemetry_endpoint is set but the HTTP OTLP exporter is not installed; "
219+
"spans will not be exported. Install lite-bootstrap[otl-http].",
200220
category=InstrumentDependencyMissingWarning,
201221
stacklevel=2,
202222
)
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
---
2+
summary: Add an `opentelemetry_exporter_protocol` config (grpc|http, default grpc) and an `otl-http` extra (opentelemetry-exporter-otlp-proto-http, no grpcio) so OTLP trace export works on free-threaded Python; repoint `otl` to the grpc exporter package.
3+
---
4+
5+
# Design: OTLP HTTP exporter option (free-threaded OTLP export)
6+
7+
## Summary
8+
9+
The `otl` extra is the last observability surface with no free-threaded story:
10+
its OTLP exporter goes over gRPC, which needs `grpcio`, which ships no
11+
free-threaded wheels. OpenTelemetry also offers an **HTTP/protobuf** exporter
12+
(`requests` + `protobuf`, no grpcio) that talks to the same collectors. Add an
13+
`opentelemetry_exporter_protocol` config knob (default `"grpc"`, unchanged
14+
behavior) and an `otl-http` extra so a free-threaded service can export traces.
15+
16+
## Motivation
17+
18+
`otl` installs `opentelemetry-exporter-otlp` (a meta package pulling **both** the
19+
grpc exporter → `grpcio` and the http exporter), so `pip install
20+
lite-bootstrap[otl]` cannot resolve on a free-threaded interpreter
21+
([grpc/grpc#38762](https://github.com/grpc/grpc/issues/38762)). The instrument
22+
hardwired the gRPC exporter. The HTTP exporter
23+
(`opentelemetry-exporter-otlp-proto-http`) has no `grpcio` dependency (verified:
24+
`requests`, `opentelemetry-proto`, `googleapis-common-protos`), so it installs
25+
on ft. This was deferred from the 2026-07-14 free-threading work; picking it up.
26+
27+
## Design
28+
29+
### 1. Config: exporter protocol
30+
31+
```python
32+
# OpenTelemetryConfig
33+
opentelemetry_exporter_protocol: typing.Literal["grpc", "http"] = "grpc"
34+
```
35+
36+
Default `"grpc"` preserves current behavior exactly. `opentelemetry_insecure`
37+
applies to gRPC only; for HTTP the endpoint is a full URL
38+
(`http://collector:4318/v1/traces`) whose scheme carries security — documented,
39+
not warned (see `decisions/2026-07-19-otlp-http-exporter-shape.md`).
40+
41+
### 2. Two guarded, aliased exporter imports
42+
43+
`import_checker.py`: add
44+
`is_otlp_http_exporter_installed = _safe_find_spec("opentelemetry.exporter.otlp.proto.http.trace_exporter")`
45+
alongside the existing `is_otlp_grpc_exporter_installed`.
46+
47+
`opentelemetry_instrument.py`: import each under its own guard, aliased to avoid
48+
the shared `OTLPSpanExporter` name:
49+
50+
```python
51+
if import_checker.is_otlp_grpc_exporter_installed:
52+
from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import OTLPSpanExporter as OTLPGrpcSpanExporter
53+
if import_checker.is_otlp_http_exporter_installed:
54+
from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter as OTLPHttpSpanExporter
55+
```
56+
57+
### 3. Protocol-selecting `bootstrap()`
58+
59+
```python
60+
if self.bootstrap_config.opentelemetry_endpoint:
61+
if self.bootstrap_config.opentelemetry_exporter_protocol == "grpc":
62+
if import_checker.is_otlp_grpc_exporter_installed:
63+
tracer_provider.add_span_processor( # pragma: no cover (live collector)
64+
BatchSpanProcessor(OTLPGrpcSpanExporter(endpoint=..., insecure=...)))
65+
else:
66+
warnings.warn("… gRPC OTLP exporter is not installed … install lite-bootstrap[otl].", …)
67+
elif import_checker.is_otlp_http_exporter_installed:
68+
tracer_provider.add_span_processor( # pragma: no cover (live collector)
69+
BatchSpanProcessor(OTLPHttpSpanExporter(endpoint=self.bootstrap_config.opentelemetry_endpoint)))
70+
else:
71+
warnings.warn("… HTTP OTLP exporter is not installed … install lite-bootstrap[otl-http].", …)
72+
```
73+
74+
The exporter-construction lines keep `# pragma: no cover` (need a live
75+
collector); both missing-exporter warn branches are covered by tests.
76+
77+
### 4. Extras
78+
79+
`pyproject.toml`: repoint `otl` from the meta package to the grpc exporter, and
80+
add `otl-http`:
81+
82+
```toml
83+
otl = ["opentelemetry-api", "opentelemetry-sdk", "opentelemetry-exporter-otlp-proto-grpc", "opentelemetry-instrumentation"]
84+
otl-http = ["opentelemetry-api", "opentelemetry-sdk", "opentelemetry-exporter-otlp-proto-http", "opentelemetry-instrumentation"]
85+
```
86+
87+
`otl` users are unaffected functionally (it already defaulted to gRPC and never
88+
used the http exporter). No framework `*-otl-http` variants — a free-threaded
89+
framework service composes `[fastapi, otl-http]` and adds its instrumentation
90+
package if it wants auto-instrumentation.
91+
92+
### 5. CI + proof
93+
94+
Add `otl-http` to both ft legs' extras in `_checks.yml` (proves it resolves on
95+
3.13t/3.14t). Extend `scripts/ft_smoke.py` to bootstrap an
96+
`OpenTelemetryInstrument` with `opentelemetry_exporter_protocol="http"` and an
97+
endpoint, then tear down — proving the http export path constructs on ft with no
98+
live collector needed.
99+
100+
## Non-goals
101+
102+
- **Framework `*-otl-http` extras.** Avoided to keep the extras matrix small.
103+
- **Changing the default protocol.** Stays `grpc` for backward compatibility.
104+
- **An `insecure`-style flag or http:// warning for HTTP.** The URL scheme
105+
carries security; documented, per the decision file.
106+
107+
## Testing
108+
109+
- Unit (TDD): with `opentelemetry_exporter_protocol="http"` + an endpoint,
110+
`bootstrap()` constructs the **http** exporter (patch `OTLPHttpSpanExporter`,
111+
assert called with the endpoint); `"grpc"` still constructs the grpc exporter;
112+
the http-absent and grpc-absent branches each emit
113+
`InstrumentDependencyMissingWarning` naming the right extra.
114+
- ft CI leg installs `otl-http` and `scripts/ft_smoke.py` bootstraps a
115+
protocol=http instrument on 3.13t/3.14t.
116+
- `just test` 100% coverage; `just lint-ci` clean.
117+
118+
## Risk
119+
120+
- **`otl` dependency-set change (low × low).** From the `opentelemetry-exporter-otlp`
121+
meta to `opentelemetry-exporter-otlp-proto-grpc`. Same grpc exporter, minus the
122+
unused http package; grpc behavior unchanged. Noted in the release note.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
status: accepted
3+
summary: otl repoints to the grpc exporter package and a new otl-http adds the http exporter (no framework variants); the insecure warning stays gRPC-only (http security is the endpoint URL scheme).
4+
supersedes: null
5+
superseded_by: null
6+
---
7+
8+
# OTLP HTTP exporter: extras shape and http security signal
9+
10+
**Decision:** `otl` → `opentelemetry-exporter-otlp-proto-grpc`; new `otl-http` →
11+
`opentelemetry-exporter-otlp-proto-http` (no grpcio); no framework `*-otl-http`
12+
variants. The `__post_init__` insecure warning stays tied to the gRPC `insecure`
13+
flag; for HTTP, the endpoint URL scheme (`http://` vs `https://`) carries
14+
security and is documented, not warned.
15+
16+
## Context
17+
18+
`otl` bundled `opentelemetry-exporter-otlp` (a meta package pulling grpc→grpcio
19+
and http). To make OTLP export work on free-threaded Python (no grpcio wheels),
20+
the exporter must be selectable and the http path must be installable without
21+
grpcio. Two shape questions arose.
22+
23+
## Decision & rationale
24+
25+
**Extras — `otl`=grpc, `otl-http`=http, base only.** Repointing `otl` to the
26+
grpc exporter package is functionally identical for existing users (it already
27+
defaulted to gRPC and never used the http exporter) and drops only the unused,
28+
transitively-bundled http package. `otl-http` carries the grpcio-free http
29+
exporter for ft. Rejected: keeping `otl` as the meta and layering `otl-http`
30+
on top — leaves `otl` grpcio-bound and redundant (already ships http). Rejected:
31+
framework `*-otl-http` variants (`fastapi-otl-http`, …) — the same combinatorial
32+
extras sprawl avoided in the free-threading work; a ft framework service composes
33+
`[fastapi, otl-http]` and adds its instrumentation package directly.
34+
35+
**HTTP security signal — no warning.** The gRPC exporter has an `insecure` bool
36+
that the config warns about for non-local endpoints. The HTTP exporter has no
37+
such flag; its endpoint is a full URL whose scheme is the security signal.
38+
Re-deriving an "insecure" state by parsing `http://` vs `https://` would add
39+
scheme-parsing to `__post_init__` for a signal the user already controls
40+
explicitly in the URL. Documented instead. Rejected: an http:// non-local
41+
warning — more code for a weaker nudge than the URL itself already gives.
42+
43+
## Revisit trigger
44+
45+
A user asks for a framework-specific ft OTLP-http convenience extra, or for the
46+
http endpoint to accept a bare `host:port` (auto-building the URL) — either would
47+
reopen the extras/URL-handling shape.

‎planning/deferred.md‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,6 @@ change file in [`changes/active/`](changes/active/); see [CLAUDE.md](../CLAUDE.m
88

99
## Open
1010

11-
### OTLP export on free-threaded Python (HTTP exporter path)
12-
13-
The `otl` extra pulls `grpcio` (via the gRPC OTLP exporter), which has no
14-
free-threaded wheels, so `otl` is uninstallable on ft. `opentelemetry_instrument.py`
15-
hardwires the gRPC exporter (`from opentelemetry.exporter.otlp.proto.grpc...`).
16-
Fix would add an `opentelemetry_exporter_protocol` field (grpc|http) + an
17-
`otl-http` extra on `opentelemetry-exporter-otlp-proto-http` (no grpcio; protobuf
18-
falls back to pure-python). Deferred from the 2026-07-18 free-threading change to
19-
keep that change orjson-only.
20-
**Trigger:** a user needs OTLP trace export on ft, **or** `grpcio` ships ft wheels
21-
([grpc/grpc#38762](https://github.com/grpc/grpc/issues/38762)) making the swap moot.
22-
2311
### Pyroscope on free-threaded Python
2412

2513
`pyroscope-io` is abi3-only, unmaintained, ships no ft wheels and has no pure

0 commit comments

Comments
 (0)