Skip to content

Commit 3e0bfad

Browse files
Release 0.17.0
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`
1 parent 324f50a commit 3e0bfad

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
7+
## [0.17.0] - 2023-03-23
88
### Added
99
- `metrics.cfg{}` -- a single entrypoint to setup the module:
1010
- `include` and `exclude` options with the same effect as in

doc/monitoring/api_reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ Metrics functions
305305

306306
.. function:: cfg([config])
307307

308-
Entrypoint to setup the module.
308+
Entrypoint to setup the module. Since 0.17.0.
309309

310310
:param table config: module configuration options:
311311

metrics/version.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
-- Сontains the module version.
22
-- Requires manual update in case of release commit.
33

4-
return '0.16.0'
4+
return '0.17.0'

0 commit comments

Comments
 (0)