Implement OpenTelemetry in preprocessing scripts