MeterOptions Class

Definition

The options for creating a Meter.

C#
public class MeterOptions
Inheritance
MeterOptions

Constructors

MeterOptions(String)

Constructs a new instance of MeterOptions.

Properties

Name

The Meter name.

Scope

The optional opaque object to attach to the Meter. The scope object can be attached to multiple meters for scoping purposes.

Tags

The optional list of key-value pair tags associated with the Meter.

Version

The optional Meter version.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

Product Versions
.NET 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)