<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="9.0.0-rc.2.24473.5" />

MeterOptions

public class MeterOptions
The options for creating a Meter.
public string Name { get; set; }

The Meter name.

public object Scope { get; set; }

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

public IEnumerable<KeyValuePair<string, object>> Tags { get; set; }

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

public string Version { get; set; }

The optional Meter version.

public MeterOptions(string name)

Constructs a new instance of MeterOptions.