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

[otlp-grpc-exporter-base] base package is using trace-specific env vars #3748

Closed
pichlermarc opened this issue Apr 20, 2023 · 2 comments · Fixed by #4971
Closed

[otlp-grpc-exporter-base] base package is using trace-specific env vars #3748

pichlermarc opened this issue Apr 20, 2023 · 2 comments · Fixed by #4971
Assignees
Labels
bug Something isn't working pkg:otlp-grpc-exporter-base priority:p2 Bugs and spec inconsistencies which cause telemetry to be incomplete or incorrect

Comments

@pichlermarc
Copy link
Member

What happened?

Steps to Reproduce

Use the gRPC metrics exporter, and set a trace specific environment variable like:

  • OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE,
  • OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY,
  • OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE,
  • OTEL_EXPORTER_OTLP_TRACES_TIMEOUT

Expected Result

Environment variables have no effect on the metrics exporter

Actual Result

Environment variables are used by the metrics exporter.

Additional Details

#3712 (comment)
#3193 (comment)

OpenTelemetry Setup Code

n/a

package.json

n/a

Relevant log output

n/a
@pichlermarc pichlermarc added this to the OTLP Exporter GA milestone Apr 20, 2023
@pichlermarc pichlermarc added priority:p2 Bugs and spec inconsistencies which cause telemetry to be incomplete or incorrect and removed triage labels Apr 20, 2023
@pichlermarc
Copy link
Member Author

I'm working on fixing this.

@pichlermarc
Copy link
Member Author

I didn't have the time to fix this yet - I'm afraid I won't be able to do it for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pkg:otlp-grpc-exporter-base priority:p2 Bugs and spec inconsistencies which cause telemetry to be incomplete or incorrect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant