Package

com.github.norwae

ignifera

Permalink

package ignifera

Visibility
  1. Public
  2. All

Type Members

  1. class AkkaStats extends Actor

    Permalink

    Optional additional statistics describing the status of the actor system.

  2. trait HttpExport extends AnyRef

    Permalink

    Provides basic export functions, providing a HttpResponse with the correct contents and content type.

    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.

    See also

    DefaultExports.initialize()

  3. trait IncludedHttpExport extends HttpExport

    Permalink

    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.

  4. class StandaloneExport extends AnyRef

    Permalink

    Launches an additional akka http stack to provide the status route

  5. class StatsCollectorStage extends GraphStage[BidiShape[HttpRequest, HttpRequest, HttpResponse, HttpResponse]]

    Permalink

    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

Value Members

  1. object AkkaStats

    Permalink
  2. object HttpExport

    Permalink
  3. object IncludedHttpExport extends IncludedHttpExport

    Permalink
  4. object StatsCollector

    Permalink

    Allows to wrap a handler flow (as usually passed to akka.http.scaladsl.HttpExt.bindAndHandle inside a stats collector that automatically collects prometheus metrics.

  5. object StatsCollectorStage

    Permalink

Ungrouped