Class NameResolutionMetrics
Represents metrics reported by the System.Net.NameResolution event counters.
Inheritance
System.Object
NameResolutionMetrics
Namespace: Yarp.Telemetry.Consumption
Assembly: Yarp.Telemetry.Consumption.dll
Syntax
public sealed class NameResolutionMetrics : object
Constructors
| Improve this Doc View SourceNameResolutionMetrics()
Declaration
public NameResolutionMetrics()
Properties
| Improve this Doc View SourceAverageLookupDuration
Average DNS lookup duration in the last metrics interval.
Declaration
public TimeSpan AverageLookupDuration { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
CurrentDnsLookups
Number of DNS lookups that have started but not yet completed or failed.
Declaration
public long CurrentDnsLookups { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
DnsLookupsRequested
Number of DNS lookups requested since telemetry was enabled.
Declaration
public long DnsLookupsRequested { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Timestamp
Timestamp of when this NameResolutionMetrics instance was created.
Declaration
public DateTime Timestamp { get; }
Property Value
Type | Description |
---|---|
DateTime |