|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
8 #include "opentelemetry/sdk/common/attribute_utils.h"
9 #include "opentelemetry/version.h"
57 const std::string &schema_url = std::string{});
73 std::string schema_url_;
Resource & operator=(const Resource &)=default
static Resource Create(const ResourceAttributes &attributes, const std::string &schema_url=std::string{})
Returns a newly created Resource with the specified attributes.
opentelemetry::sdk::common::AttributeMap ResourceAttributes
#define OPENTELEMETRY_BEGIN_NAMESPACE
Resource Merge(const Resource &other) const noexcept
Returns a new, merged Resource by merging the current Resource with the other Resource.
const std::string & GetSchemaURL() const noexcept
#define OPENTELEMETRY_END_NAMESPACE
static Resource & GetDefault()
Returns a Resource that indentifies the SDK in use.
const ResourceAttributes & GetAttributes() const noexcept
static Resource & GetEmpty()
Returns an Empty resource.