Interface IKestrelTelemetryConsumer
A consumer of Microsoft-AspNetCore-Server-Kestrel EventSource events.
Namespace: Yarp.Telemetry.Consumption
Assembly: Yarp.Telemetry.Consumption.dll
Syntax
public interface IKestrelTelemetryConsumer
Methods
| Improve this Doc View SourceOnRequestStart(DateTime, String, String, String, String, String)
Called at the start of a request.
Declaration
virtual void OnRequestStart(DateTime timestamp, string connectionId, string requestId, string httpVersion, string path, string method)
Parameters
Type | Name | Description |
---|---|---|
DateTime | timestamp | Timestamp when the event was fired. |
String | connectionId | ID of the connection. |
String | requestId | ID of the request. |
String | httpVersion | HTTP version of the request. |
String | path | Path of the request. |
String | method | HTTP method of the request. |
OnRequestStop(DateTime, String, String, String, String, String)
Called at the end of a request.
Declaration
virtual void OnRequestStop(DateTime timestamp, string connectionId, string requestId, string httpVersion, string path, string method)
Parameters
Type | Name | Description |
---|---|---|
DateTime | timestamp | Timestamp when the event was fired. |
String | connectionId | ID of the connection. |
String | requestId | ID of the request. |
String | httpVersion | HTTP version of the request. |
String | path | Path of the request. |
String | method | HTTP method of the request. |