Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

v1.1.0 - Custom Histogram Buckets and Environment Tags

Compare
Choose a tag to compare
@ivantopo ivantopo released this 20 Apr 09:36
· 40 commits to master since this release

Highlights

Environment Tags

Starting on this version the module can make use of the environment tags introduced on Kamon 1.1.0 and add these tags to all exposed metrics. The newly introduced kamon.prometheus.include-environment-tags configuration setting controls whether to add the tags or not.

Custom Histogram Buckets

Now you can control the bucket boundaries for any exposed metric by providing your custom bucketing via configuration:

kamon.prometheus.buckets.custom {
  "akka.actor.processing-time" = [0.1, 0.5, 2]
}

Summary

Improvements

  • Include environment tags on exposed metrics. Contributed by @CasperKoning on #10, thanks to @japgolly for helping on the review!
  • Allow configuring custom histogram buckets for metrics. Contributed by @StephenKing on #14.