Skip to content

[contribfest] use new get*FromEnv() functions in OTLP HTTP exporter env var configuration #5561

Open
@pichlermarc

Description

@pichlermarc

Description

Important

This issue is reserved for attendees of OpenTelemetry ContribFest at KubeCon EU 2025
If you are attending KubeCon EU 2025, please join us at Level 3 | ICC Capital Suite 1 on Wednesday April 2, 2025 16:15 - 17:30 BST 🙌

If you are not attending KubeCon EU 2025, the remainder of this issue will be
marked as "good-first-issue" starting Thursday. 🙂

With #5443 we've introduced new utility functions for getting getting environment variables in an OTel Spec compliant manner, and we've migrated from using the old getEnv() utility function. However, there are still some places which never used getEnv() at all as it was on it's way to being phased out, using process.env directly instead. The OTLP exporter configuration code is one of these places.

The goal of this issue is to replace usages of process.env.MY_ENV_VAR in the OTLP HTTP Exporter's configuration code (see here)

To complete this issue:

Metadata

Metadata

Assignees

Labels

contribfestThese small and isolated issues are suitable for Kubecon Contribfeststale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions