Class PrometheusScraperEndpointMiddleware
Inheritance
System.Object
PrometheusScraperEndpointMiddleware
Assembly: Steeltoe.Management.EndpointCore.dll
Syntax
public class PrometheusScraperEndpointMiddleware : EndpointMiddleware<string>
Constructors
|
Edit this page
View Source
PrometheusScraperEndpointMiddleware(RequestDelegate, PrometheusScraperEndpoint, IManagementOptions, ILogger<PrometheusScraperEndpointMiddleware>)
Declaration
public PrometheusScraperEndpointMiddleware(RequestDelegate next, PrometheusScraperEndpoint endpoint, IManagementOptions mgmtOptions, ILogger<PrometheusScraperEndpointMiddleware> logger = null)
Parameters
Methods
|
Edit this page
View Source
HandleMetricsRequestAsync(HttpContext)
Declaration
protected Task HandleMetricsRequestAsync(HttpContext context)
Parameters
Type |
Name |
Description |
HttpContext |
context |
|
Returns
|
Edit this page
View Source
HandleRequest()
Declaration
public override string HandleRequest()
Returns
Type |
Description |
System.String |
|
Overrides
Steeltoe.Management.Endpoint.Middleware.EndpointMiddleware<System.String>.HandleRequest()
|
Edit this page
View Source
Invoke(HttpContext)
Declaration
public Task Invoke(HttpContext context)
Parameters
Type |
Name |
Description |
HttpContext |
context |
|
Returns