Skip to content

Commit

Permalink
Fixes OS detector ID (grafana#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-hensley authored Sep 3, 2024
1 parent c6cbce8 commit bec2694
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public enum ResourceDetector
Host,

/// <summary>
/// Host Resource Detector (OpenTelemetry.ResourceDetectors.Host)
/// Operating System Resource Detector (OpenTelemetry.ResourceDetectors.OperatingSystem)
/// </summary>
OperatingSystem,

Expand Down

0 comments on commit bec2694

Please sign in to comment.