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/shared_ptr.hh>
#include <seastar/core/sharded.hh>
#include <boost/functional/hash.hpp>
#include <deque>
Go to the source code of this file.
Namespaces | |
namespace | seastar |
Seastar API namespace. | |
namespace | seastar::metrics |
metrics creation and registration | |
namespace | std |
STL namespace. | |
Functions | |
bool | seastar::metrics::impl::operator< (const internalized_holder &lhs, const labels_type &rhs) |
bool | seastar::metrics::impl::operator< (const labels_type &lhs, const internalized_holder &rhs) |
bool | seastar::metrics::impl::operator< (const internalized_holder &lhs, const internalized_holder &rhs) |
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.