Seastar
High performance C++ framework for concurrent servers
|
Go to the documentation of this file.
27 #include <seastar/core/sstring.hh>
54 class metric_groups_def;
55 struct metric_definition_impl;
56 class metric_groups_impl;
63 std::unique_ptr<impl::metric_definition_impl> _impl;
75 std::initializer_list<metric_definition> metrics;
90 std::unique_ptr<impl::metric_groups_def> _impl;
Seastar API namespace.
Definition: abort_on_ebadf.hh:24
metric_groups & add_group(const group_name_type &name, const std::initializer_list< metric_definition > &l)
Add metrics belonging to the same group.
Definition: metrics_api.hh:169
sstring group_name_type
Definition: metrics_registration.hh:59
metric_group(const group_name_type &name, std::initializer_list< metric_definition > l)
add metrics belong to the same group in the constructor.
Definition: metrics_registration.hh:62
hold a single metric group Initialization is done in the constructor or with a call to add_group
Definition: metrics_registration.hh:155
Definition: metrics.hh:320
holds the implementation parts of the metrics layer, do not use directly.
holds the metric definition.
Definition: metrics_registration.hh:89
Definition: metrics_registration.hh:72
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.
void clear()
clear all metrics groups registrations.