Skip to content

0.17.0

Choose a tag to compare

@DifferentialOrange DifferentialOrange released this 12 Apr 05:53

Overview

This release introduces a single entrypoint to setup the module: metrics.cfg, as well as several updates due to package embedding to the core Tarantool (available only in master now).

Breaking changes

This release should not break existing behavior.

Added

  • metrics.cfg{} -- a single entrypoint to setup the module:
    • include and exclude options with the same effect as in enable_default_metrics(include, exclude) (but its deprecated features already disabled);
    • labels options with the same effect as set_global_labels(labels);
    • values and effect (like default metrics callbacks) are preserved between reloads;
    • does not deal with external features like cartridge HTTP setup
  • Versioning support through require('metrics')._VERSION

Changed

  • Setup cartridge hotreload inside the role
  • Extend enable_default_metrics() API:
    • 'all' and 'none' options for include argument,
    • simultaneous include and exclude arguments (exclude has higher priority)
  • Build rock with cmake
  • Override built-in metrics, if installed

Deprecated

  • Passing nonexistent metrics to enable_default_metrics()
  • Using {} as include in enable_default_metrics() to enable all metrics
  • Versioning support through require('metrics').VERSION