PrometheusHandler.handleRequest

Handles responses for incoming HTTP requests. Responds with stats when the request endpoint is /metrics. For all other endpoints, returns HttpResponseCode.NotImplemented. If stat collection throws an error, responds with HttpResponseCode.InternalServerError, with the exception message as the response message body;

class PrometheusHandler
protected override
handleRequest

Parameters

response_msg_body cstring

Body of the response body.

Return Value

HTTP status code

Meta