diff --git a/src/OpenTelemetry.Instrumentation.Process/ProcessMetrics.cs b/src/OpenTelemetry.Instrumentation.Process/ProcessMetrics.cs index 2d5a0a6585..1ddbaba9a5 100644 --- a/src/OpenTelemetry.Instrumentation.Process/ProcessMetrics.cs +++ b/src/OpenTelemetry.Instrumentation.Process/ProcessMetrics.cs @@ -14,10 +14,15 @@ // limitations under the License. // +using System.Diagnostics.Metrics; +using System.Reflection; + namespace OpenTelemetry.Instrumentation.Process; internal class ProcessMetrics { + internal static readonly AssemblyName AssemblyName = typeof(ProcessMetrics).Assembly.GetName(); + internal static readonly Meter MeterInstance = new(AssemblyName.Name, AssemblyName.Version.ToString()); static ProcessMetrics() {