Utilities to expose Prometheus metrics in akka-http
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project Use Scalariform again. Jan 14, 2019
src Use Scalariform again. Jan 14, 2019
.gitignore
.travis.yml
LICENSE
README.md Update instructions for cross publishing Jan 14, 2019
build.sbt

README.md

prometheus-akka-http

Join the chat at https://gitter.im/lonelyplanet/prometheus-akka-http Build Status codecov Download

Collection of utilities to allow exposing prometheus metrics from akka-http endpoint using the prometheus java client

"com.lonelyplanet" %% "prometheus-akka-http" % "0.4.0"

You might need to also add our repository:

resolvers ++= Seq(
  Resolver.bintrayRepo("lonelyplanet", "maven")
)

Example

Example project is available here: https://github.com/wlk/prometheus-akka-http-example

Publishing

We use bintray-sbt plugin for publishing artifacts, to publish newer version of the library run:

sbt +publish

That's all what is required