Interface INameResolutionTelemetryConsumer
A consumer of System.Net.NameResolution EventSource events.
Namespace: Yarp.Telemetry.Consumption
Assembly: Yarp.Telemetry.Consumption.dll
Syntax
public interface INameResolutionTelemetryConsumer
Methods
| Improve this Doc View SourceOnResolutionFailed(DateTime)
Called before OnResolutionStop(DateTime) if the name resolution failed.
Declaration
virtual void OnResolutionFailed(DateTime timestamp)
Parameters
Type | Name | Description |
---|---|---|
DateTime | timestamp | Timestamp when the event was fired. |
OnResolutionStart(DateTime, String)
Called before a name resolution.
Declaration
virtual void OnResolutionStart(DateTime timestamp, string hostNameOrAddress)
Parameters
Type | Name | Description |
---|---|---|
DateTime | timestamp | Timestamp when the event was fired. |
System.String | hostNameOrAddress | Host name or address we are resolving. |
OnResolutionStop(DateTime)
Called after a name resolution.
Declaration
virtual void OnResolutionStop(DateTime timestamp)
Parameters
Type | Name | Description |
---|---|---|
DateTime | timestamp | Timestamp when the event was fired. |