Skip to content

Commit

Permalink
add kamon-prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Nov 1, 2023
1 parent 45b1e2f commit 0dbc00b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
13 changes: 7 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ libraryDependencies += "org.apache.pekko" %% "pekko-actor-typed" % pekkoVersio

// libraryDependencies += "com.typesafe.akka" %% "akka-slf4j" % akkaVersion
// libraryDependencies += "org.apache.pekko" % "pekko-slf4j_3" % pekkoVersion
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.9.5"
libraryDependencies += "com.github.blemale" %% "scaffeine" % "5.2.1" % "compile"
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.4.11"
libraryDependencies += "org.playframework" %% "play-json" % "3.0.0"
libraryDependencies += "io.kamon" %% "kamon-core" % kamonVersion
libraryDependencies += "io.kamon" %% "kamon-influxdb" % kamonVersion
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.9.5"
libraryDependencies += "com.github.blemale" %% "scaffeine" % "5.2.1" % "compile"
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.4.11"
libraryDependencies += "org.playframework" %% "play-json" % "3.0.0"
libraryDependencies += "io.kamon" %% "kamon-core" % kamonVersion
libraryDependencies += "io.kamon" %% "kamon-influxdb" % kamonVersion
libraryDependencies += "io.kamon" %% "kamon-prometheus" % kamonVersion
// libraryDependencies += "io.kamon" %% "kamon-system-metrics" % kamonVersion
libraryDependencies += "com.softwaremill.macwire" %% "macros" % "2.5.9" % "provided"
libraryDependencies += "com.roundeights" %% "hasher" % "1.3.1"
Expand Down
7 changes: 7 additions & 0 deletions src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,11 @@ kamon {
# process-metrics.enabled = yes
# host-metrics.enabled = no
}
prometheus {
buckets {
default-buckets = [ 10, 100, 1000, 10000, 100000 ]
time-buckets = [ 0.01, 0.05, 0.1, 0.5, 1, 5, 10 ]
information-buckets = [ 512, 2048, 16384, 524288, ]
}
}
}

0 comments on commit 0dbc00b

Please sign in to comment.