HI, I have been trying different ways to update latest version and failed to get metrics with my API.
val pekkoHttpVersion = "1.2.0"
val pekkoVersion = "1.2.0"
"fr.davit" %% "pekko-http-metrics-prometheus" % "2.1.0",
implementation is like :-
val settings: PrometheusSettings = PrometheusSettings.default
.withIncludeMethodDimension(true)
.withIncludePathDimension(true)
.withIncludeStatusDimension(true)
val registry: PrometheusRegistry = PrometheusRegistry(settings = settings)
logger.info("Starting HTTP server...")
serverBinding = Http().newMeteredServerAt("0.0.0.0", httpPort, registry).bind(routes)
Do we really missing some thing or any example available to upgrade??