NVIDIA DeepStream SDK API Reference

9.0 Release
PrometheusClient Class Reference

Detailed Description

Public Member Functions

 PrometheusClient ()
 
std::shared_ptr< prometheus::RegistrygetMetricsRegistry () const
 
std::shared_ptr< prometheus::RegistrygetStreamInfoRegistry () const
 
std::shared_ptr< prometheus::RegistrygetReadyRegistry () const
 
std::shared_ptr< prometheus::RegistrygetLiveRegistry () const
 
std::shared_ptr< prometheus::RegistrygetStartupRegistry () const
 
void updateStreamStats (double fps, uint64_t frame_number, double latency_ms, const std::string &sensor_id, const std::string &sensor_name, int source_id)
 
void updateStreamCount (int count)
 
void clearStreamMetrics ()
 
void updateSystemGpuMemory (double gpu_gb)
 
void updateSystemRamMemory (double ram_gb)
 
void updateSystemCpuUtilization (double cpu_util)
 
void updateSystemGpuUtilization (double gpu_util)
 
void updateDsLiveness (bool is_alive)
 
void updateDsReady (bool is_ready)
 
void updateDsStartup (bool is_startup)
 
void updateStreamInfoCount (int count)
 
 PrometheusClient ()
 
std::shared_ptr< prometheus::RegistrygetMetricsRegistry () const
 
std::shared_ptr< prometheus::RegistrygetStreamInfoRegistry () const
 
std::shared_ptr< prometheus::RegistrygetReadyRegistry () const
 
std::shared_ptr< prometheus::RegistrygetLiveRegistry () const
 
std::shared_ptr< prometheus::RegistrygetStartupRegistry () const
 
void updateStreamStats (double fps, uint64_t frame_number, double latency_ms, const std::string &sensor_id, const std::string &sensor_name, int source_id)
 
void updateStreamCount (int count)
 
void clearStreamMetrics ()
 
void updateSystemGpuMemory (double gpu_gb)
 
void updateSystemRamMemory (double ram_gb)
 
void updateSystemCpuUtilization (double cpu_util)
 
void updateSystemGpuUtilization (double gpu_util)
 
void updateDsLiveness (bool is_alive)
 
void updateDsReady (bool is_ready)
 
void updateDsStartup (bool is_startup)
 
void updateStreamInfoCount (int count)
 

Static Public Member Functions

static PrometheusClientgetInstance ()
 
static PrometheusClientgetInstance ()
 

Constructor & Destructor Documentation

◆ PrometheusClient() [1/2]

PrometheusClient::PrometheusClient ( )

◆ PrometheusClient() [2/2]

PrometheusClient::PrometheusClient ( )

Member Function Documentation

◆ clearStreamMetrics() [1/2]

void PrometheusClient::clearStreamMetrics ( )

◆ clearStreamMetrics() [2/2]

void PrometheusClient::clearStreamMetrics ( )

◆ getInstance() [1/2]

static PrometheusClient* PrometheusClient::getInstance ( )
static

◆ getInstance() [2/2]

static PrometheusClient* PrometheusClient::getInstance ( )
static

◆ getLiveRegistry() [1/2]

std::shared_ptr<prometheus::Registry> PrometheusClient::getLiveRegistry ( ) const
inline

◆ getLiveRegistry() [2/2]

std::shared_ptr<prometheus::Registry> PrometheusClient::getLiveRegistry ( ) const
inline

◆ getMetricsRegistry() [1/2]

std::shared_ptr<prometheus::Registry> PrometheusClient::getMetricsRegistry ( ) const
inline

◆ getMetricsRegistry() [2/2]

std::shared_ptr<prometheus::Registry> PrometheusClient::getMetricsRegistry ( ) const
inline

◆ getReadyRegistry() [1/2]

std::shared_ptr<prometheus::Registry> PrometheusClient::getReadyRegistry ( ) const
inline

◆ getReadyRegistry() [2/2]

std::shared_ptr<prometheus::Registry> PrometheusClient::getReadyRegistry ( ) const
inline

◆ getStartupRegistry() [1/2]

std::shared_ptr<prometheus::Registry> PrometheusClient::getStartupRegistry ( ) const
inline

◆ getStartupRegistry() [2/2]

std::shared_ptr<prometheus::Registry> PrometheusClient::getStartupRegistry ( ) const
inline

◆ getStreamInfoRegistry() [1/2]

std::shared_ptr<prometheus::Registry> PrometheusClient::getStreamInfoRegistry ( ) const
inline

◆ getStreamInfoRegistry() [2/2]

std::shared_ptr<prometheus::Registry> PrometheusClient::getStreamInfoRegistry ( ) const
inline

◆ updateDsLiveness() [1/2]

void PrometheusClient::updateDsLiveness ( bool  is_alive)

◆ updateDsLiveness() [2/2]

void PrometheusClient::updateDsLiveness ( bool  is_alive)

◆ updateDsReady() [1/2]

void PrometheusClient::updateDsReady ( bool  is_ready)

◆ updateDsReady() [2/2]

void PrometheusClient::updateDsReady ( bool  is_ready)

◆ updateDsStartup() [1/2]

void PrometheusClient::updateDsStartup ( bool  is_startup)

◆ updateDsStartup() [2/2]

void PrometheusClient::updateDsStartup ( bool  is_startup)

◆ updateStreamCount() [1/2]

void PrometheusClient::updateStreamCount ( int  count)

◆ updateStreamCount() [2/2]

void PrometheusClient::updateStreamCount ( int  count)

◆ updateStreamInfoCount() [1/2]

void PrometheusClient::updateStreamInfoCount ( int  count)

◆ updateStreamInfoCount() [2/2]

void PrometheusClient::updateStreamInfoCount ( int  count)

◆ updateStreamStats() [1/2]

void PrometheusClient::updateStreamStats ( double  fps,
uint64_t  frame_number,
double  latency_ms,
const std::string &  sensor_id,
const std::string &  sensor_name,
int  source_id 
)

◆ updateStreamStats() [2/2]

void PrometheusClient::updateStreamStats ( double  fps,
uint64_t  frame_number,
double  latency_ms,
const std::string &  sensor_id,
const std::string &  sensor_name,
int  source_id 
)

◆ updateSystemCpuUtilization() [1/2]

void PrometheusClient::updateSystemCpuUtilization ( double  cpu_util)

◆ updateSystemCpuUtilization() [2/2]

void PrometheusClient::updateSystemCpuUtilization ( double  cpu_util)

◆ updateSystemGpuMemory() [1/2]

void PrometheusClient::updateSystemGpuMemory ( double  gpu_gb)

◆ updateSystemGpuMemory() [2/2]

void PrometheusClient::updateSystemGpuMemory ( double  gpu_gb)

◆ updateSystemGpuUtilization() [1/2]

void PrometheusClient::updateSystemGpuUtilization ( double  gpu_util)

◆ updateSystemGpuUtilization() [2/2]

void PrometheusClient::updateSystemGpuUtilization ( double  gpu_util)

◆ updateSystemRamMemory() [1/2]

void PrometheusClient::updateSystemRamMemory ( double  ram_gb)

◆ updateSystemRamMemory() [2/2]

void PrometheusClient::updateSystemRamMemory ( double  ram_gb)

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