Kagome
Polkadot Runtime Engine in C++17
kagome::metrics Namespace Reference

Classes

class  Counter
 A counter metric to represent a monotonically increasing value. More...
 
class  Exposer
 an http server interface to expose metrics on request with custom request handler More...
 
class  ExposerImpl
 
class  Gauge
 A gauge metric to represent a value that can arbitrarily go up and down. More...
 
class  Handler
 an interface to add request handler for metrics::Exposer implementation generally will contain metrics serializer More...
 
class  Histogram
 A histogram metric to represent aggregatable distributions of events. More...
 
class  MetricsWatcher
 
class  PrometheusCounter
 
class  PrometheusGauge
 
class  PrometheusHandler
 
class  PrometheusHistogram
 
class  PrometheusRegistry
 
class  PrometheusSummary
 
class  Registry
 the class stores metrics, provides interface to create metrics and families of metrics TODO(sanblch) rethink interface to avoid error on calling registering metrics before registering family provides interfaces to register families and metrics of metric types: counter, gauge, histogram, summary More...
 
class  Session
 session interface for OpenMetrics service More...
 
class  SessionImpl
 
class  Summary
 A summary metric samples observations over a sliding window of time. More...
 

Typedefs

using RegistryPtr = std::unique_ptr< Registry >
 

Functions

RegistryPtr createRegistry ()
 

Detailed Description

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Typedef Documentation

using kagome::metrics::RegistryPtr = typedef std::unique_ptr<Registry>

Definition at line 15 of file metrics.hpp.

Function Documentation

RegistryPtr kagome::metrics::createRegistry ( )

Definition at line 13 of file registry_impl.cpp.