Freigeben über


MeterScope Enum

Definition

Represents scopes used by InstrumentRule to distinguish between meters created via Meter constructors (Global) and those created via Dependency Injection with Create(MeterOptions) (Local).

This enumeration supports a bitwise combination of its member values.

public enum class MeterScope
[System.Flags]
public enum MeterScope
[<System.Flags>]
type MeterScope = 
Public Enum MeterScope
Inheritance
MeterScope
Attributes

Fields

Name Value Description
None 0

No scope is specified. This field should not be used.

Global 1

Indicates Meter instances created via Meter constructors.

Local 2

Indicates Meter instances created via Dependency Injection with Create(MeterOptions).

Applies to