28#include <seastar/core/sstring.hh>
29#include <seastar/util/modules.hh>
57class metric_groups_def;
58struct metric_definition_impl;
59class metric_groups_impl;
62SEASTAR_MODULE_EXPORT_BEGIN
68 std::unique_ptr<impl::metric_definition_impl> _impl;
80 std::initializer_list<metric_definition> metrics;
95 std::unique_ptr<impl::metric_groups_def> _impl;
176SEASTAR_MODULE_EXPORT_END
Definition: metrics_api.hh:202
Definition: metrics_registration.hh:67
Definition: metrics_registration.hh:77
hold a single metric group Initialization is done in the constructor or with a call to add_group
Definition: metrics_registration.hh:160
metric_group(const group_name_type &name, std::initializer_list< metric_definition > l)
add metrics belong to the same group in the constructor.
holds the metric definition.
Definition: metrics_registration.hh:94
void clear()
clear all metrics groups registrations.
metric_groups(std::initializer_list< metric_group_definition > mg)
add metrics belong to the same group in the constructor.
metric_groups & add_group(const group_name_type &name, const std::vector< metric_definition > &l)
Add metrics belonging to the same group.
metric_groups & add_group(const group_name_type &name, const std::initializer_list< metric_definition > &l)
Add metrics belonging to the same group.
holds the implementation parts of the metrics layer, do not use directly.
sstring group_name_type
Definition: metrics_registration.hh:64
Seastar API namespace.
Definition: abort_on_ebadf.hh:26
Definition: metrics.hh:374