Packages

c

com.twitter.finagle.stats

PrometheusExporterHandler

class PrometheusExporterHandler extends Service[Request, Response] with HttpMuxHandler

Service loaded HttpMuxHandler that serves metrics in Prometheus format

This class will be service-loaded and added to the Twitter-Server admin router allowing metrics to be easily exported in Prometheus format.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PrometheusExporterHandler
  2. HttpMuxHandler
  3. Service
  4. Closable
  5. Function1
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PrometheusExporterHandler()
  2. new PrometheusExporterHandler(metrics: MetricsView)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def andThen[A](g: (Future[Response]) => A): (Request) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(request: Request): Future[Response]

    This is the method to override/implement to create your own Service.

    This is the method to override/implement to create your own Service.

    Definition Classes
    PrometheusExporterHandlerService → Function1
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def close(deadline: Time): Future[Unit]
    Definition Classes
    PrometheusExporterHandlerService → Closable
  9. def close(after: Duration): Future[Unit]
    Definition Classes
    Closable
  10. final def close(): Future[Unit]
    Definition Classes
    Closable
  11. def compose[A](g: (A) => Request): (A) => Future[Response]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. def doLog(): Unit
    Attributes
    protected
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isAvailable: Boolean

    Determines whether this Service is available (can accept requests with a reasonable likelihood of success).

    Determines whether this Service is available (can accept requests with a reasonable likelihood of success).

    Definition Classes
    Service
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def map[Req1](f: (Req1) => Request): Service[Req1, Response]
    Definition Classes
    Service
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def route: Route

    Configures the route for this handler

    Configures the route for this handler

    Definition Classes
    PrometheusExporterHandlerHttpMuxHandler
  25. def status: Status

    The current availability Status of this Service.

    The current availability Status of this Service.

    Definition Classes
    Service
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    Service → Function1 → AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from HttpMuxHandler

Inherited from Service[Request, Response]

Inherited from Closable

Inherited from (Request) => Future[Response]

Inherited from AnyRef

Inherited from Any

Ungrouped