Del via


InstrumentRule.Scopes Property

Definition

Gets the MeterScope. This is used to distinguish between meters created via Meter constructors (Global) and those created via Dependency Injection with Create(MeterOptions) (Local)."/>.

public:
 property Microsoft::Extensions::Diagnostics::Metrics::MeterScope Scopes { Microsoft::Extensions::Diagnostics::Metrics::MeterScope get(); };
public Microsoft.Extensions.Diagnostics.Metrics.MeterScope Scopes { get; }
member this.Scopes : Microsoft.Extensions.Diagnostics.Metrics.MeterScope
Public ReadOnly Property Scopes As MeterScope

Property Value

Remarks

This value is used to distinguish between meters created via Meter constructors (Global), and those created via Dependency Injection with Create(MeterOptions) (Local).

Applies to