You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// following architectures do not have a mapping in OTEL spec https://github.com/open-telemetry/semantic-conventions/blob/v1.37.0/docs/resource/host.md
92
+
// The following architectures do not have a mapping in OTel spec: https://github.com/open-telemetry/semantic-conventions/blob/v1.39.0/docs/resource/host.md
94
93
Architecture.Wasm=>null,
95
94
Architecture.LoongArch64=>null,
95
+
#if NET10_0_OR_GREATER
96
+
Architecture.RiscV64=>null,
97
+
#endif
96
98
#endif
97
99
_ =>null,
98
100
};
99
-
}
100
101
#endif
101
102
102
103
/// <summary>
@@ -134,13 +135,14 @@ public Resource Detect()
134
135
}
135
136
catch(InvalidOperationExceptionex)
136
137
{
137
-
// Handling InvalidOperationException due to https://learn.microsoft.com/en-us/dotnet/api/system.environment.machinename#exceptions
138
+
// Handling InvalidOperationException due to https://learn.microsoft.com/dotnet/api/system.environment.machinename#exceptions
vardetector=newHostDetector(osPlatform =>osPlatform==OSPlatform.Windows,()=>[],()=>thrownewException("should not be called"),()=>"windows-machine-id");
135
137
#else
136
-
vardetector=newHostDetector(()=>[],()=>thrownewException("should not be called"),()=>"windows-machine-id");
0 commit comments