Class MetricsEndpointMiddleware
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:App.Metrics.Extensions.Middleware
Assembly:cs.temp.dll.dll
Syntax
public class MetricsEndpointMiddleware : AppMetricsMiddleware<AspNetMetricsOptions>
Constructors
MetricsEndpointMiddleware(RequestDelegate, AspNetMetricsOptions, ILoggerFactory, IMetrics, IMetricsResponseWriter)
Declaration
public MetricsEndpointMiddleware(RequestDelegate next, AspNetMetricsOptions aspNetOptions, ILoggerFactory loggerFactory, IMetrics metrics, IMetricsResponseWriter metricsResponseWriter)
Parameters
Type | Name | Description |
---|---|---|
RequestDelegate | next | |
AspNetMetricsOptions | aspNetOptions | |
ILoggerFactory | loggerFactory | |
IMetrics | metrics | |
IMetricsResponseWriter | metricsResponseWriter |
Methods
Invoke(HttpContext)
Declaration
public Task Invoke(HttpContext context)
Parameters
Type | Name | Description |
---|---|---|
HttpContext | context |
Returns
Type | Description |
---|---|
Task |