Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
enum Microsoft.​Extensions.​Diagnostics.​Metrics.​MeterScope
Assembly: Microsoft.Extensions.Diagnostics.Abstractions
Represents scopes used by <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.InstrumentRule" /> to distinguish between meters created via <see cref="T:System.Diagnostics.Metrics.Meter" /> constructors ( <see cref="F:Microsoft.Extensions.Diagnostics.Metrics.MeterScope.Global" /> ) and those created via Dependency Injection with <see cref="M:System.Diagnostics.Metrics.IMeterFactory.Create(System.Diagnostics.Metrics.MeterOptions)" /> ( <see cref="F:Microsoft.Extensions.Diagnostics.Metrics.MeterScope.Local" /> ).
Values
None
No scope is specified. This field should not be used.
Global
Indicates <see cref="T:System.Diagnostics.Metrics.Meter" /> instances created via <see cref="T:System.Diagnostics.Metrics.Meter" /> constructors.
Local
Indicates <see cref="T:System.Diagnostics.Metrics.Meter" /> instances created via Dependency Injection with <see cref="M:System.Diagnostics.Metrics.IMeterFactory.Create(System.Diagnostics.Metrics.MeterOptions)" /> .