The GitHub Actions job "Tests" on 
airflow.git/fix/backport-remove-otlp-content-type-header has failed.
Run started by GitHub user MichaelRBlack (triggered by potiuk).

Head commit for run:
7a805072fb85b825df8a680d683fb157406270c2 / Michael Black 
<[email protected]>
Remove hardcoded Content-Type headers from OTLP exporters

Backport of #44346 to the v2-11-stable branch.

The OTLPMetricExporter and OTLPSpanExporter serialize data as protobuf
and set Content-Type: application/x-protobuf automatically. The
hardcoded headers={"Content-Type": "application/json"} override causes
collectors to attempt JSON deserialization of protobuf bytes, resulting
in 100% metric/trace export failure with:

    {"code": 13, "message": "failed to marshal error message"}

This also prevents users from setting custom headers via the standard
OTEL_EXPORTER_OTLP_HEADERS environment variable.

Report URL: https://github.com/apache/airflow/actions/runs/23323658566

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to