- Replace ReplaceAll function with if statement for environment mapping - This avoids undefined function error in OpenTelemetry Collector OTTL