Definition at line 22 of file sources/libs/nvds_rest_server/prometheus_client.h.
Public Member Functions | |
| PrometheusClient () | |
| std::shared_ptr< prometheus::Registry > | getMetricsRegistry () const |
| std::shared_ptr< prometheus::Registry > | getStreamInfoRegistry () const |
| std::shared_ptr< prometheus::Registry > | getReadyRegistry () const |
| std::shared_ptr< prometheus::Registry > | getLiveRegistry () const |
| std::shared_ptr< prometheus::Registry > | getStartupRegistry () 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::Registry > | getMetricsRegistry () const |
| std::shared_ptr< prometheus::Registry > | getStreamInfoRegistry () const |
| std::shared_ptr< prometheus::Registry > | getReadyRegistry () const |
| std::shared_ptr< prometheus::Registry > | getLiveRegistry () const |
| std::shared_ptr< prometheus::Registry > | getStartupRegistry () 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 PrometheusClient * | getInstance () |
| static PrometheusClient * | getInstance () |
| PrometheusClient::PrometheusClient | ( | ) |
| PrometheusClient::PrometheusClient | ( | ) |
| void PrometheusClient::clearStreamMetrics | ( | ) |
| void PrometheusClient::clearStreamMetrics | ( | ) |
|
static |
|
static |
|
inline |
Definition at line 30 of file sources/libs/nvds_rest_server/prometheus_client.h.
|
inline |
Definition at line 30 of file 9.0/sources/libs/nvds_rest_server/prometheus_client.h.
|
inline |
Definition at line 27 of file 9.0/sources/libs/nvds_rest_server/prometheus_client.h.
|
inline |
Definition at line 27 of file sources/libs/nvds_rest_server/prometheus_client.h.
|
inline |
Definition at line 29 of file sources/libs/nvds_rest_server/prometheus_client.h.
|
inline |
Definition at line 29 of file 9.0/sources/libs/nvds_rest_server/prometheus_client.h.
|
inline |
Definition at line 31 of file 9.0/sources/libs/nvds_rest_server/prometheus_client.h.
|
inline |
Definition at line 31 of file sources/libs/nvds_rest_server/prometheus_client.h.
|
inline |
Definition at line 28 of file 9.0/sources/libs/nvds_rest_server/prometheus_client.h.
|
inline |
Definition at line 28 of file sources/libs/nvds_rest_server/prometheus_client.h.
| void PrometheusClient::updateDsLiveness | ( | bool | is_alive | ) |
| void PrometheusClient::updateDsLiveness | ( | bool | is_alive | ) |
| void PrometheusClient::updateDsReady | ( | bool | is_ready | ) |
| void PrometheusClient::updateDsReady | ( | bool | is_ready | ) |
| void PrometheusClient::updateDsStartup | ( | bool | is_startup | ) |
| void PrometheusClient::updateDsStartup | ( | bool | is_startup | ) |
| void PrometheusClient::updateStreamCount | ( | int | count | ) |
| void PrometheusClient::updateStreamCount | ( | int | count | ) |
| void PrometheusClient::updateStreamInfoCount | ( | int | count | ) |
| void PrometheusClient::updateStreamInfoCount | ( | int | count | ) |
| 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 | ||
| ) |
| 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 | ||
| ) |
| void PrometheusClient::updateSystemCpuUtilization | ( | double | cpu_util | ) |
| void PrometheusClient::updateSystemCpuUtilization | ( | double | cpu_util | ) |
| void PrometheusClient::updateSystemGpuMemory | ( | double | gpu_gb | ) |
| void PrometheusClient::updateSystemGpuMemory | ( | double | gpu_gb | ) |
| void PrometheusClient::updateSystemGpuUtilization | ( | double | gpu_util | ) |
| void PrometheusClient::updateSystemGpuUtilization | ( | double | gpu_util | ) |
| void PrometheusClient::updateSystemRamMemory | ( | double | ram_gb | ) |
| void PrometheusClient::updateSystemRamMemory | ( | double | ram_gb | ) |