kovszilard / twitter-server-prometheus

Prometheus metrics for Twitter Server.
MIT License
6 stars 2 forks source link
finagle finagle-exporter finagle-stats metrics prometheus prometheus-metrics twitter twitter-server

Prometheus metrics for Twitter Server

Build Status Maven central Tweet Twitter follow

Metrics exporter for twitter server, exposing prometheus metrics.

Based on the blog post and code from Footballradar

Features

Usage

Include it in your project by adding the following to your build.sbt:

libraryDependencies += "com.github.kovszilard" %% "twitter-server-prometheus" % "19.10.0"

Once you have the SBT dependency, you can mix in the PrometheusExporter trait to your App.

object MyApp extends TwitterServer with PrometheusExporter {
  // ...
}