OpenTelemetry.Resources.OtelServiceNameEnvVarDetector sealed class OtelServiceNameEnvVarDetector : IResourceDetector Documentation Code public const string EnvVarKey = "OTEL_SERVICE_NAME" public OtelServiceNameEnvVarDetector(IConfiguration configuration) public Resource Detect()