Skip to content

varwise/prometheus-pekko-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prometheus-pekko-http

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

"com.varwise" %% "prometheus-pekko-http" % "2.0.0"

Related projects

prometheus-akka-http - same thing but for akka-http

Migration to 2.0.0

Version 2.0.0 uses Prometheus Java client library 1.0.0 which introduced some breaking changes.

Here's the quick migration guide:

  1. Replace occurrences of io.prometheus.client.CollectorRegistry with io.prometheus.metrics.model.registry.PrometheusRegistry.
  2. Supply ExecutionContext instance to MetricsEndpoint.

For more information about Prometheus Java client library please refer to https://prometheus.github.io/client_java/.

Publishing

Artifacts are published to Maven central using the sbt-sonatype plugin

Building howto:

sbt
; + publishSigned; sonatypeBundleRelease

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages