Skip to content

Releases: tarantool/metrics

1.6.1

20 Oct 14:10

Choose a tag to compare

This release introduces fix of the box.schema.needs_upgrade metric.

Fixed

  • Use box.schema.needs_upgrade instead of box.schema_needs_upgrade (#529).

1.6.0

15 Oct 10:34

Choose a tag to compare

This release adds new memory and schema metrics.

Added

  • tnt_memory metric (#519).
  • tnt_memory_virt metric (#521).
  • tnt_schema_needs_upgrade metric (#524).

Fixed

  • Fixed a potential process metrics error when fio.read returns an empty string or an error (#527).

1.5.0

13 Aug 10:03

Choose a tag to compare

Added

  • tnt_cartridge_config_checksum metric.

Removed

  • tnt_cartridge_config_applied metric that only reflected local node state.

1.4.0

07 Jul 16:00

Choose a tag to compare

Added

  • tnt_cartridge_config_applied metric.
  • New optional label_keys parameter for counter() and gauge() metrics.

1.3.1

05 May 15:43
7f584b9

Choose a tag to compare

Empty technical release. Identical to 1.3.0.

1.3.0

25 Feb 10:52
7a381cb

Choose a tag to compare

Added

  • New metrics category in config: cpu_extended.

Fixed

  • Use box.info.ro instead of box.cfg.read_only in replication metrics.

1.2.0

09 Jul 10:53
7cb67bb

Choose a tag to compare

Added

  • New Tarantool 3 metrics:
    • tnt_config_alerts
    • tnt_config_status

1.1.0

17 May 10:57
50570c7

Choose a tag to compare

Added

  • metrics.cfg{} "all" metasection for array include and exclude
    (metrics.cfg{include={'all'}} can be used instead of metrics.cfg{include='all'},
    metrics.cfg{exclude={'all'}} can be used instead of metrics.cfg{include='none'})

  • tnt_election_leader_idle metric.

  • Histogram now logs a warning if observe is called with cdata value.

Changed

  • Inconsistent metrics descrtiptions for memtx metrics.

  • New memory metrics:

    • tnt_memtx_tuples_data_total
    • tnt_memtx_tuples_data_read_view
    • tnt_memtx_tuples_data_garbage
    • tnt_memtx_index_total
    • tnt_memtx_index_read_view
    • tnt_vinyl_memory_tuple

Deprecated

  • Using cdata values with histogram:observe.

1.0.0

24 May 11:22
080fb5b

Choose a tag to compare

Changed

  • Don't export self replication status.

Removed

0.17.0

12 Apr 05:53

Choose a tag to compare

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