Repository navigation
Conversation
Select the OTLP/HTTP JSON exporters when OTEL_EXPORTER_OTLP_PROTOCOL (or the signal specific variant) is http/json. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WAy2Nd125UZo16UXmXfMf9
plengauer
marked this pull request as ready for review
November 28, 2026 23:06
plengauer
enabled auto-merge (squash)
November 28, 2026 23:07
❌MegaLinter analysis: Error
Detailed Issues❌ REPOSITORY / osv-scanner - 1 errorparts.splice(gs, 1) for (let i = 0; i < globParts.length - 1; i++) { parts.splice(gs, 1) for (let i = 0; i < globParts.length - 1; i++) { ❌ PYTHON / pylint - 5 errors❌ REPOSITORY / trivy - 1 error❌ ACTION / zizmor - 3 errors
|
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WAy2Nd125UZo16UXmXfMf9
The Python SDK maps the otlp exporter only to grpc and http/protobuf and rejects http/json. Add the JSON exporter to the python requirements and select it explicitly when the protocol is http/json. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WAy2Nd125UZo16UXmXfMf9
Co-authored-by: Claude <noreply@anthropic.com>
…detector names - Import the otlp exporter only when the otlp exporter is selected, so that console or none do not fail when the grpc exporter is unavailable. - Keep an empty OTEL_*_EXPORTER variable empty for deep python injection. - List the resource detectors that are registered by the installed packages. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WAy2Nd125UZo16UXmXfMf9
The http/protobuf protocol mapped to the non-existent package opentelemetry.exporter.otlp.protobuf.http. Since that is the default protocol, lazy provider initialization failed on the first SPAN_START, no response was written to the response pipe, and the shell blocked forever reading it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
opentelemetry-exporter-otlp-json-http==0.66b2tosrc/opt/opentelemetry_shell/requirements.txt(only beta versions exist; it requiresopentelemetry-sdk~=1.45.2, matching the current pin).sdk.py, choose the JSON exporter for traces, metrics and logs whenOTEL_EXPORTER_OTLP_<SIGNAL>_PROTOCOLorOTEL_EXPORTER_OTLP_PROTOCOLishttp/json. The default stayshttp/protobuf.Testing
Installed the packages and confirmed the JSON
OTLPSpanExporteris selected and instantiates withhttp/json. I did not run the full test suite or the metrics and logs paths end to end.Generated by Claude Code