C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::telemetry Namespace Reference

Contains classes and functions for collecting telemetry data. More...

Classes

class  counter
 A metric that represents a single value that can only go up. More...
 
class  dbl_gauge
 A metric that represents a single integer value that can arbitrarily go up and down. More...
 
class  histogram
 Represent aggregatable distributions of events. More...
 
class  int_gauge
 A metric that represents a single integer value that can arbitrarily go up and down. More...
 
class  label
 An (immutable) key-value pair for adding extra dimensions to metrics. More...
 
class  metric
 A single metric, identified by the values it sets for the label dimensions. More...
 
class  metric_family
 Manages a collection (family) of metrics. More...
 
class  metric_registry
 Manages a collection of metric families. More...
 
class  timer
 Convenience helper for measuring durations such as latency using a histogram with second resolution. More...
 

Typedefs

using dbl_counter = counter<double>
 Convenience alias for a counter with value type double.
 
using dbl_histogram = histogram<double>
 Convenience alias for a histogram with value type double.
 
using int_counter = counter<int64_t>
 Convenience alias for a counter with value type int64_t.
 
using int_histogram = histogram<int64_t>
 Convenience alias for a histogram with value type int64_t.
 
using dbl_counter_family = metric_family_impl<dbl_counter>
 
using dbl_histogram_family = metric_family_impl<dbl_histogram>
 
using dbl_gauge_family = metric_family_impl<dbl_gauge>
 
using int_counter_family = metric_family_impl<int_counter>
 
using int_histogram_family = metric_family_impl<int_histogram>
 
using int_gauge_family = metric_family_impl<int_gauge>
 
template<class ValueType >
using gauge = detail::gauge_oracle_t<ValueType>
 

Enumerations

enum class  metric_type : uint8_t {
  dbl_counter ,
  int_counter ,
  dbl_gauge ,
  int_gauge ,
  dbl_histogram ,
  int_histogram
}
 

Detailed Description

Contains classes and functions for collecting telemetry data.