[contribfest] use new get*FromEnv()
functions in OTLP exporter shared env var configuration
#5562
Labels
contribfest
These small and isolated issues are suitable for Kubecon Contribfest
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 usedgetEnv()
at all as it was on it's way to being phased out, usingprocess.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 Exporter's shared configuration code (see here)To complete this issue:
The text was updated successfully, but these errors were encountered: