Skip to content

Commit 97cb392

Browse files
committed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenTelemetry.Resources.Host/HostDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public Resource Detect()
120120
}
121121

122122
#if !NETFRAMEWORK
123-
var arch = MapArchitectureToOtel(RuntimeInformation.ProcessArchitecture);
123+
var arch = MapArchitectureToOtel(RuntimeInformation.OSArchitecture);
124124
if (arch != null)
125125
{
126126
attributes.Add(new(HostSemanticConventions.AttributeHostArch, arch));

0 commit comments

Comments
 (0)