1 write to MetricName
Microsoft.Gen.Metrics (1)
Parser.cs (1)
452
MetricName
= string.IsNullOrWhiteSpace(strongTypeAttrParams.MetricNameFromAttribute) ? metricNameFromMethod : strongTypeAttrParams.MetricNameFromAttribute,
2 references to MetricName
Microsoft.Gen.Metrics (2)
MetricFactoryEmitter.cs (2)
151
OutLn($" var instrument = _meter.{createMethodName}(@\"{metricMethod.
MetricName
}\");");
155
OutLn($" var instrument = _meter.{createMethodName}(@\"{metricMethod.
MetricName
}\", @\"{metricMethod.MetricUnit}\");");