Skip to content

Releases: tdeekens/promster

`prom-client` is now a peer dependency

12 Jul 07:42
Compare
Choose a tag to compare

💣 Breaking changes

  • prom-client is now a peer dependency just add it to your dependencies with your package manager of choice

This solves issues with different libraries coming with their own prom-client leading to multiple default registries. This is unintended and can be solved by promster "just" assuming a prom-client being available.

`prom-client` is now a peer dependency

12 Jul 07:42
Compare
Choose a tag to compare

💣 Breaking changes

  • prom-client is now a peer dependency just add it to your dependencies with your package manager of choice

This solves issues with different libraries coming with their own prom-client leading to multiple default registries. This is unintended and can be solved by promster "just" assuming a prom-client being available.

`prom-client` is now a peer dependency

12 Jul 07:43
Compare
Choose a tag to compare

💣 Breaking changes

  • prom-client is now a peer dependency just add it to your dependencies with your package manager of choice

This solves issues with different libraries coming with their own prom-client leading to multiple default registries. This is unintended and can be solved by promster "just" assuming a prom-client being available.

v2.2.0

08 Apr 15:15
Compare
Choose a tag to compare

📡 Features

  • Adds signalIsUp and signalIsNotUp to both both @promster/hapi and @promster/express
const { createMiddleware, signalIsUp } = require('@promster/express');

v2.1: Add `getRequestRecorder`

24 Dec 09:27
Compare
Choose a tag to compare

⭐️ Features

  • Adds a utility to getRequestRecorder to record requests not running through Hapi/express

v2.1: Add `getRequestRecorder`

24 Dec 09:28
Compare
Choose a tag to compare

⭐️ Features

  • Adds a utility to getRequestRecorder to record requests not running through Hapi/express

🎸Version 2.0.0

27 Aug 20:23
Compare
Choose a tag to compare

💫 Features

  • Additional httpRequestsTotal counter metric
  • Improved readme with PromQL examples and recording rules
  • Improved default metric names
  • Exported default path normalizer

⏰ Breaking

Any breaking change can be configured to not be one. Enable and/or rename specific metrics to avoid any breaking impact.

  • Default metric names changed from:
    • http_request_duration_buckets_{seconds,milliseconds} to http_request_duration_{seconds,milliseconds}
    • http_request_duration_percentiles_{seconds,milliseconds} to http_request_duration_per_percentile_{seconds,milliseconds}
  • The summary metric is disabled by default (in favour of recording rules for the histogram) to reduce the produced metrics

⚔️ House Cleaning

  • Loads of small code improvements