34 DisplayName =
"DNS Lookups Requested"
41 DisplayName =
"Current DNS Lookups"
48 DisplayName =
"Average DNS Lookup Duration",
void WriteMetric(float value)
unsafe void WriteEvent(int eventId)
EventCounter _lookupsDuration
void AfterResolution(ValueStopwatch stopwatch, bool successful)
PollingCounter _currentLookupsCounter
PollingCounter _lookupsRequestedCounter
static readonly NameResolutionTelemetry Log
override void OnEventCommand(EventCommandEventArgs command)
void ResolutionStart(string hostNameOrAddress)
ValueStopwatch BeforeResolution(object hostNameOrAddress)
static int Decrement(ref int location)
static long Read(ref long location)
static int Increment(ref int location)
static Microsoft.Extensions.Internal.ValueStopwatch StartNew()