NVIDIA DeepStream SDK API Reference

9.0 Release
OpenTelemetryClient Class Reference

Detailed Description

Public Member Functions

 OpenTelemetryClient (int refresh_period_ms=5000, const std::string &otlp_url="http://localhost:4318", bool from_rest_api=false)
 
 ~OpenTelemetryClient ()
 
void setupGauges ()
 
void shutdown ()
 
void reinitialize (int refresh_period_ms, const std::string &otlp_url, bool from_rest_api=false)
 
bool isEnabled () const
 
std::string getOtlpUrl () const
 
void updateSourceMetrics ()
 
void updateSystemMetrics ()
 
std::unordered_map< std::string, SourceMetricsgetSourceMetrics ()
 
void setNvMultiUriSrcbinCreator (void *nvmultiurisrcbin_creator)
 
 OpenTelemetryClient (int refresh_period_ms=5000, const std::string &otlp_url="http://localhost:4318", bool from_rest_api=false)
 
 ~OpenTelemetryClient ()
 
void setupGauges ()
 
void shutdown ()
 
void reinitialize (int refresh_period_ms, const std::string &otlp_url, bool from_rest_api=false)
 
bool isEnabled () const
 
std::string getOtlpUrl () const
 
void updateSourceMetrics ()
 
void updateSystemMetrics ()
 
std::unordered_map< std::string, SourceMetricsgetSourceMetrics ()
 
void setNvMultiUriSrcbinCreator (void *nvmultiurisrcbin_creator)
 

Static Public Member Functions

static OpenTelemetryClientgetInstance (int refresh_period_ms=5000, const std::string &otlp_url="http://localhost:4318", bool from_rest_api=false)
 
static OpenTelemetryClientgetInstance (int refresh_period_ms=5000, const std::string &otlp_url="http://localhost:4318", bool from_rest_api=false)
 

Constructor & Destructor Documentation

◆ OpenTelemetryClient() [1/2]

OpenTelemetryClient::OpenTelemetryClient ( int  refresh_period_ms = 5000,
const std::string &  otlp_url = "http://localhost:4318",
bool  from_rest_api = false 
)

◆ ~OpenTelemetryClient() [1/2]

OpenTelemetryClient::~OpenTelemetryClient ( )

◆ OpenTelemetryClient() [2/2]

OpenTelemetryClient::OpenTelemetryClient ( int  refresh_period_ms = 5000,
const std::string &  otlp_url = "http://localhost:4318",
bool  from_rest_api = false 
)

◆ ~OpenTelemetryClient() [2/2]

OpenTelemetryClient::~OpenTelemetryClient ( )

Member Function Documentation

◆ getInstance() [1/2]

static OpenTelemetryClient* OpenTelemetryClient::getInstance ( int  refresh_period_ms = 5000,
const std::string &  otlp_url = "http://localhost:4318",
bool  from_rest_api = false 
)
static

◆ getInstance() [2/2]

static OpenTelemetryClient* OpenTelemetryClient::getInstance ( int  refresh_period_ms = 5000,
const std::string &  otlp_url = "http://localhost:4318",
bool  from_rest_api = false 
)
static

◆ getOtlpUrl() [1/2]

std::string OpenTelemetryClient::getOtlpUrl ( ) const
inline

◆ getOtlpUrl() [2/2]

std::string OpenTelemetryClient::getOtlpUrl ( ) const
inline

◆ getSourceMetrics() [1/2]

std::unordered_map<std::string, SourceMetrics> OpenTelemetryClient::getSourceMetrics ( )

◆ getSourceMetrics() [2/2]

std::unordered_map<std::string, SourceMetrics> OpenTelemetryClient::getSourceMetrics ( )

◆ isEnabled() [1/2]

bool OpenTelemetryClient::isEnabled ( ) const
inline

◆ isEnabled() [2/2]

bool OpenTelemetryClient::isEnabled ( ) const
inline

◆ reinitialize() [1/2]

void OpenTelemetryClient::reinitialize ( int  refresh_period_ms,
const std::string &  otlp_url,
bool  from_rest_api = false 
)

◆ reinitialize() [2/2]

void OpenTelemetryClient::reinitialize ( int  refresh_period_ms,
const std::string &  otlp_url,
bool  from_rest_api = false 
)

◆ setNvMultiUriSrcbinCreator() [1/2]

void OpenTelemetryClient::setNvMultiUriSrcbinCreator ( void *  nvmultiurisrcbin_creator)

◆ setNvMultiUriSrcbinCreator() [2/2]

void OpenTelemetryClient::setNvMultiUriSrcbinCreator ( void *  nvmultiurisrcbin_creator)

◆ setupGauges() [1/2]

void OpenTelemetryClient::setupGauges ( )

◆ setupGauges() [2/2]

void OpenTelemetryClient::setupGauges ( )

◆ shutdown() [1/2]

void OpenTelemetryClient::shutdown ( )

◆ shutdown() [2/2]

void OpenTelemetryClient::shutdown ( )

◆ updateSourceMetrics() [1/2]

void OpenTelemetryClient::updateSourceMetrics ( )

◆ updateSourceMetrics() [2/2]

void OpenTelemetryClient::updateSourceMetrics ( )

◆ updateSystemMetrics() [1/2]

void OpenTelemetryClient::updateSystemMetrics ( )

◆ updateSystemMetrics() [2/2]

void OpenTelemetryClient::updateSystemMetrics ( )

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