Seastar
High performance C++ framework for concurrent servers
|
header file for metric API layer (like prometheus or collectd)
#include <seastar/core/metrics.hh>
#include <seastar/util/modules.hh>
#include <seastar/core/sharded.hh>
#include <boost/functional/hash.hpp>
#include <deque>
Go to the source code of this file.
Classes | |
struct | std::hash< seastar::metrics::impl::labels_type > |
struct | seastar::metrics::metric_relabeling_result |
result of metric relabeling More... | |
class | seastar::metrics::impl::metric_id |
struct | std::hash< seastar::metrics::impl::metric_id > |
struct | seastar::metrics::impl::metric_family_info |
holds metadata information of a metric family More... | |
struct | seastar::metrics::impl::metric_info |
holds metric metadata More... | |
class | seastar::metrics::impl::metric_groups_impl |
class | seastar::metrics::impl::registered_metric |
class | seastar::metrics::impl::metric_family |
struct | seastar::metrics::impl::metric_family_metadata |
holds a metric family metadata More... | |
struct | seastar::metrics::impl::values_copy |
struct | seastar::metrics::impl::config |
class | seastar::metrics::impl::impl |
struct | seastar::metrics::options |
Metrics configuration options. More... | |
Namespaces | |
namespace | seastar |
Seastar API namespace. | |
namespace | seastar::metrics |
metrics creation and registration | |
namespace | std |
STL namespace. | |
Functions | |
const value_map & | seastar::metrics::impl::get_value_map () |
foreign_ptr< values_reference > | seastar::metrics::impl::get_values () |
shared_ptr< impl > | seastar::metrics::impl::get_local_impl () |
void | seastar::metrics::impl::unregister_metric (const metric_id &id) |
std::unique_ptr< metric_groups_def > | seastar::metrics::impl::create_metric_groups () |
initialize metric group More... | |
future | seastar::metrics::configure (const options &opts) |
set the metrics configuration | |
future< metric_relabeling_result > | seastar::metrics::set_relabel_configs (const std::vector< relabel_config > &relabel_configs) |
Perform relabeling and operation on metrics dynamically. More... | |
const std::vector< relabel_config > & | seastar::metrics::get_relabel_configs () |
void | seastar::metrics::set_metric_family_configs (const std::vector< metric_family_config > &metrics_config) |
const std::vector< metric_family_config > & | seastar::metrics::get_metric_family_configs () |
struct seastar::metrics::metric_relabeling_result |
std::unique_ptr< metric_groups_def > seastar::metrics::impl::create_metric_groups | ( | ) |
initialize metric group
Create a metric_group_def. No need to use it directly.