Skip to content

0.30.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@brharrington brharrington released this 26 Aug 04:51

Primary changes:

Update generic types for Registry.gauge methods so a cast isn't needed:

Queue<Item> queue = ...

// This will now work:
registry.gauge("gauge", queue, Queue::size)

// Instead of:
registry.gauge("gauge", queue, q -> ((Queue) q).size())

Adds configuration block to allow for common tags to be added to reported digests:

spectator.tdigest.tags = [
  {
    key = "app"
    value = ${APP_NAME}
  }
]

Others:

  • Fixes name mapping for metrics3 registry so tags are separated with a ..
  • Added additional compatibility test case using class compiled with a previous version. Catches a number of binary compatibility issues missed with the existing checkCompatibility task.

A comprehensive list of changes can be found in the commit log: v0.29.0...v0.30.0