Commit 324fcbf
committed
Document HYPERDX_OTLP_ENDPOINT path requirement
The OTLPSpanExporter uses the ``endpoint`` kwarg verbatim and does
not append ``/v1/traces`` itself (that auto-append is only for the
host-only ``OTEL_EXPORTER_OTLP_ENDPOINT`` env-var convention this
test doesn't use). A host-only URL POSTs to ``/`` and HyperDX 404s,
which the OTel SDK swallows silently while ``force_flush`` still
returns True — the failure mode this test calls out.
Note the path-suffix requirement explicitly in the module docstring
and the pytestmark skip reason so future readers don't lose half an
hour to a silent failure that wasn't surfaced.1 parent b9154c8 commit 324fcbf
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
8 | 18 | | |
9 | 19 | | |
10 | 20 | | |
| |||
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
30 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
31 | 44 | | |
32 | 45 | | |
33 | 46 | | |
| |||
0 commit comments