diff --git a/src/Grafana.OpenTelemetry.Base/ResourceDetectors/OperatingSystemResourceInitializer.cs b/src/Grafana.OpenTelemetry.Base/ResourceDetectors/OperatingSystemResourceInitializer.cs index 8e454cc..253a67d 100644 --- a/src/Grafana.OpenTelemetry.Base/ResourceDetectors/OperatingSystemResourceInitializer.cs +++ b/src/Grafana.OpenTelemetry.Base/ResourceDetectors/OperatingSystemResourceInitializer.cs @@ -11,7 +11,7 @@ namespace Grafana.OpenTelemetry { internal class OperatingSystemResourceInitializer : ResourceDetectorInitializer { - public override ResourceDetector Id { get; } = ResourceDetector.Process; + public override ResourceDetector Id { get; } = ResourceDetector.OperatingSystem; protected override ResourceBuilder InitializeResourceDetector(ResourceBuilder builder) { diff --git a/src/Grafana.OpenTelemetry.Base/ResourceDetectors/ResourceDetector.cs b/src/Grafana.OpenTelemetry.Base/ResourceDetectors/ResourceDetector.cs index f74d414..2f5c201 100644 --- a/src/Grafana.OpenTelemetry.Base/ResourceDetectors/ResourceDetector.cs +++ b/src/Grafana.OpenTelemetry.Base/ResourceDetectors/ResourceDetector.cs @@ -51,7 +51,7 @@ public enum ResourceDetector Host, /// - /// Host Resource Detector (OpenTelemetry.ResourceDetectors.Host) + /// Operating System Resource Detector (OpenTelemetry.ResourceDetectors.OperatingSystem) /// OperatingSystem,