Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | Public Attributes | List of all members
seastar::metrics::impl::metric_family_metadata Struct Reference

Detailed Description

holds a metric family metadata

The meta data of a metric family compose of the metadata of the family, and a vector of the metadata for each of the metrics.

The struct is used for two purposes. First, it allows iterating over all metric_families and all metrics related to them. Second, it only contains enabled metrics, making disabled metrics more efficient. The struct is recreated when impl._value_map changes

#include <seastar/core/metrics_api.hh>

Public Member Functions

 metric_family_metadata (metric_family_metadata &&)=default
 
metric_family_metadataoperator= (metric_family_metadata &&)=default
 
 metric_family_metadata (metric_family_info mf, metric_metadata_fifo metrics)
 

Public Attributes

metric_family_info mf
 
metric_metadata_fifo metrics
 

The documentation for this struct was generated from the following file: