Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Autoinstrumentation Nodejs] use http exporter when OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf #3412

Closed
atsu85 opened this issue Nov 1, 2024 · 0 comments · Fixed by #3413
Closed
Labels
enhancement New feature or request needs triage

Comments

@atsu85
Copy link
Contributor

atsu85 commented Nov 1, 2024

Component(s)

auto-instrumentation

Is your feature request related to a problem? Please describe.

allow exporting traces to endpoints that only accept http/protobuf instead of grpc

Describe the solution you'd like

when standard environment variable OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf, then use
@opentelemetry/exporter-trace-otlp-http
instead of default
@opentelemetry/exporter-trace-otlp-grpc

Describe alternatives you've considered

none - this is standard approach that works with other autoinstrumentation solutions

Additional context

This is simple change, that affects just initializing traceExporter, that is currently done on this line

@atsu85 atsu85 added enhancement New feature or request needs triage labels Nov 1, 2024
atsu85 pushed a commit to atsu85/opentelemetry-operator that referenced this issue Nov 1, 2024
atsu85 added a commit to atsu85/opentelemetry-operator that referenced this issue Nov 1, 2024
atsu85 added a commit to atsu85/opentelemetry-operator that referenced this issue Nov 1, 2024
atsu85 added a commit to atsu85/opentelemetry-operator that referenced this issue Nov 1, 2024
atsu85 added a commit to atsu85/opentelemetry-operator that referenced this issue Nov 1, 2024
atsu85 added a commit to atsu85/opentelemetry-operator that referenced this issue Nov 1, 2024
atsu85 added a commit to atsu85/opentelemetry-operator that referenced this issue Nov 1, 2024
atsu85 added a commit to atsu85/opentelemetry-operator that referenced this issue Nov 5, 2024
atsu85 added a commit to atsu85/opentelemetry-operator that referenced this issue Nov 5, 2024
pxaws pushed a commit to aws-observability/aws-otel-js-instrumentation that referenced this issue Nov 27, 2024
*Issue #, if available:*
`gRPC` is the already default exporter as of the OTel JS version that we
are dependent on (See:
open-telemetry/opentelemetry-operator#3412)
Closing as Python's issue with `gRPC` does not apply to NodeJS.

*Description of changes:*
Cleanup comment regarding OTLP Protocols


By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage
Projects
None yet
1 participant