Skip to content

Releases: tarantool/metrics

1.1.0

17 May 10:57
50570c7
Compare
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
Compare
Choose a tag to compare

Changed

  • Don't export self replication status.

Removed

0.17.0

12 Apr 05:53
Compare
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

0.16.0

30 Jan 07:33
8f9b667
Compare
Choose a tag to compare

Added

  • Handle to clear psutils metrics
  • invoke_callbacks option for metrics.collect()
  • Ability to set metainfo for collectors
  • Set metainfo.default to true for all collectors
    from enable_default_metrics() and psutils collectors
  • default_only option for metrics.collect()

Fixed

  • Fix is_healthy function to rely on membership state
  • Fix psutils time metrics
  • Fix missing psutils cpu count after clear

Removed

  • Set non-number values in gauge:set
  • Deprecated metrics from previous releases

0.15.1

20 Sep 13:37
ceece56
Compare
Choose a tag to compare

Added

  • memtx MVCC memory monitoring

Fixed

  • tnt_synchro_queue_len metric type
  • Reset callbacks on hotreload
  • Fix queries in quantile

0.15.0

09 Aug 12:13
747d14f
Compare
Choose a tag to compare

Fixed

  • Clean info about spaces and indexes after their drop
  • Fixed error when indexing spaces

Added

  • Label thread for per thread reporting net statistics metrics.
  • tnt_cartridge_failover_trigger_total metric
  • New synchro and election metrics
  • Renamed LuaJit metrics

Deprecated

  • LuaJit counters without _total suffix

Removed

  • Deprecated metrics from previous releases

0.14.0

28 Jun 09:28
cca00fb
Compare
Choose a tag to compare

Fixed

  • Float numbers in Graphite exporter
  • Signed timestamp in Graphite exporter
  • Increase Shared.make_key performance in observations with empty label
  • Forbid observation of non-number value in collectors (except gauge:set)
  • Clean dead threads from psutils.cpu metric

Added

  • tnt_cartridge_cluster_issues metric

Deprecated

  • Set non-number values in gauge:set

Removed

  • HTTP middleware v2
  • enable_cartridge_metrics function

0.13.0

23 Mar 10:05
6482623
Compare
Choose a tag to compare

Fixed

  • Don't reset collectors when Cartridge roles hot reload
  • pairs instead of ipairs in iterations over replication info

Added

  • New metrics that duplicate bad named ones
  • Event loop metrics
  • Some other metrics (see #337 for details)

Deprecated

  • Metrics with bad naming (see #117 for details)

0.12.0

18 Nov 10:08
Compare
Choose a tag to compare

Changed

  • Update http dependency to 1.1.1

Fixed

  • Cast number64 to json number in json export plugin #321

Deprecated

  • HTTP middleware v2

0.11.0

23 Sep 12:50
939552b
Compare
Choose a tag to compare

Added

  • collector's method remove to clear observations with given label pairs #263
  • counter:reset() method #260
  • tnt_read_only metric #275

Removed

  • Average collector

Fixed

  • Throw an error when http_middelware is processing a wrong handler #199
  • cartridge issues metric fails before cartridge.cfg() call #298

Changed

  • quantile metric is NAN if no samples provided for an age #303