Optional additional statistics describing the status of the actor system.
Provides basic export functions, providing a HttpResponse with the correct contents and content type.
Provides a route to be included in an existing akka http stack.
Provides a route to be included in an existing akka http stack. This is a low-impact method of including ignifera. However, in case of overload of the business logic, status requests will be throttled by the same backpressure mechanism as application logic requests. For this reason, generally a standalone deployment is preferable.
Launches an additional akka http stack to provide the status route
Stage intended to be joined to an akka http handler flow.
Stage intended to be joined to an akka http handler flow. The types are unchanged, but on completion of a http request, metrics will be published to the default collector.
The provided metrics are: * http_requests_in_flight - gauge - nr of requests currently being processed * http_requests_total(method, status) - summary - total nr of requests processed * http_request_duration_microseconds(method, status) - summary - request times * http_response_size_bytes(method, status) - summary - response bytes * http_request_size_bytes(method, status) - summary - request bytes
Allows to wrap a handler flow (as usually passed to akka.http.scaladsl.HttpExt.bindAndHandle inside a stats collector that automatically collects prometheus metrics.
Provides basic export functions, providing a HttpResponse with the correct contents and content type.
Creating an instance of this trait will initialize the default exports.
DefaultExports.initialize()