NVIDIA DeepStream SDK API Reference

8.0 Release
prometheus::Collectable Class Referenceabstract

Detailed Description

Interface implemented by anything that can be used by Prometheus to collect metrics.

A Collectable has to be registered for collection. See Registry.

Definition at line 17 of file sources/includes/prometheus/collectable.h.

Inheritance diagram for prometheus::Collectable:

Public Member Functions

virtual ~Collectable ()=default
 
virtual std::vector< MetricFamilyCollect () const =0
 Returns a list of metrics and their samples. More...
 
virtual ~Collectable ()=default
 
virtual std::vector< MetricFamilyCollect () const =0
 Returns a list of metrics and their samples. More...
 

Constructor & Destructor Documentation

◆ ~Collectable() [1/2]

virtual prometheus::Collectable::~Collectable ( )
virtualdefault

◆ ~Collectable() [2/2]

virtual prometheus::Collectable::~Collectable ( )
virtualdefault

Member Function Documentation

◆ Collect() [1/2]

virtual std::vector<MetricFamily> prometheus::Collectable::Collect ( ) const
pure virtual

Returns a list of metrics and their samples.

Implemented in prometheus::Family< T >, prometheus::Family< T >, prometheus::Registry, and prometheus::Registry.

◆ Collect() [2/2]

virtual std::vector<MetricFamily> prometheus::Collectable::Collect ( ) const
pure virtual

Returns a list of metrics and their samples.

Implemented in prometheus::Family< T >, prometheus::Family< T >, prometheus::Registry, and prometheus::Registry.


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