Class PrometheusScraperEndpointMiddleware
public class PrometheusScraperEndpointMiddleware : EndpointMiddleware<string>
- Inheritance
-
PrometheusScraperEndpointMiddleware
- Inherited Members
Constructors
PrometheusScraperEndpointMiddleware(RequestDelegate, PrometheusScraperEndpoint, IEnumerable<IManagementOptions>, ILogger<PrometheusScraperEndpointMiddleware>)
public PrometheusScraperEndpointMiddleware(RequestDelegate next, PrometheusScraperEndpoint endpoint, IEnumerable<IManagementOptions> mgmtOptions, ILogger<PrometheusScraperEndpointMiddleware> logger = null)
Parameters
nextRequestDelegateendpointPrometheusScraperEndpointmgmtOptionsIEnumerable<IManagementOptions>loggerILogger<PrometheusScraperEndpointMiddleware>
Methods
HandleMetricsRequestAsync(HttpContext)
protected Task HandleMetricsRequestAsync(HttpContext context)
Parameters
contextHttpContext
Returns
HandleRequest()
public override string HandleRequest()
Returns
Invoke(HttpContext)
public Task Invoke(HttpContext context)
Parameters
contextHttpContext