Closed DifferentialOrange closed 1 year ago
This PR introduces metrics.cfg{} -- a single entrypoint to setup the module:
metrics.cfg{}
include
exclude
enable_default_metrics(include, exclude)
labels
set_global_labels(labels)
It is a prerequirement to box.cfg{} metrics configuration after embedding.
box.cfg{}
Some features were deprecated to make API more consistent and stable:
{}
Using the deprecated features logs warning for existing handles and throw errors for new API like metrics.cfg{}.
See comments for more info.
I didn't forget about
Part of tarantool/tarantool#7725
This PR introduces
metrics.cfg{}
-- a single entrypoint to setup the module:include
andexclude
options with the same effect as inenable_default_metrics(include, exclude)
;labels
options with the same effect asset_global_labels(labels)
;It is a prerequirement to
box.cfg{}
metrics configuration after embedding.Some features were deprecated to make API more consistent and stable:
{}
include
with the default meaning ("include all"),Using the deprecated features logs warning for existing handles and throw errors for new API like
metrics.cfg{}
.See comments for more info.
I didn't forget about
Part of tarantool/tarantool#7725