Definition at line 26 of file includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
Public Member Functions | |
| InstrumentationScope (const InstrumentationScope &)=default | |
| std::size_t | HashCode () const noexcept |
| bool | operator== (const InstrumentationScope &other) const noexcept |
| Compare 2 instrumentation libraries. More... | |
| bool | equal (const nostd::string_view name, const nostd::string_view version, const nostd::string_view schema_url="", const opentelemetry::common::KeyValueIterable *attributes=nullptr) const noexcept |
| Check whether the instrumentation scope has given name and version. More... | |
| const std::string & | GetName () const noexcept |
| const std::string & | GetVersion () const noexcept |
| const std::string & | GetSchemaURL () const noexcept |
| const InstrumentationScopeAttributes & | GetAttributes () const noexcept |
| void | SetAttribute (nostd::string_view key, const opentelemetry::common::AttributeValue &value) noexcept |
| InstrumentationScope (const InstrumentationScope &)=default | |
| std::size_t | HashCode () const noexcept |
| bool | operator== (const InstrumentationScope &other) const noexcept |
| Compare 2 instrumentation libraries. More... | |
| bool | equal (const nostd::string_view name, const nostd::string_view version, const nostd::string_view schema_url="", const opentelemetry::common::KeyValueIterable *attributes=nullptr) const noexcept |
| Check whether the instrumentation scope has given name and version. More... | |
| const std::string & | GetName () const noexcept |
| const std::string & | GetVersion () const noexcept |
| const std::string & | GetSchemaURL () const noexcept |
| const InstrumentationScopeAttributes & | GetAttributes () const noexcept |
| void | SetAttribute (nostd::string_view key, const opentelemetry::common::AttributeValue &value) noexcept |
Static Public Member Functions | |
| static nostd::unique_ptr< InstrumentationScope > | Create (nostd::string_view name, nostd::string_view version="", nostd::string_view schema_url="", InstrumentationScopeAttributes &&attributes={}) |
| Returns a newly created InstrumentationScope with the specified library name and version. More... | |
| static nostd::unique_ptr< InstrumentationScope > | Create (nostd::string_view name, nostd::string_view version, nostd::string_view schema_url, const InstrumentationScopeAttributes &attributes) |
| Returns a newly created InstrumentationScope with the specified library name and version. More... | |
| template<class ArgumentType , nostd::enable_if_t< opentelemetry::common::detail::is_key_value_iterable< ArgumentType >::value > * = nullptr> | |
| static nostd::unique_ptr< InstrumentationScope > | Create (nostd::string_view name, nostd::string_view version, nostd::string_view schema_url, const ArgumentType &arg) |
| Returns a newly created InstrumentationScope with the specified library name and version. More... | |
| static nostd::unique_ptr< InstrumentationScope > | Create (nostd::string_view name, nostd::string_view version="", nostd::string_view schema_url="", InstrumentationScopeAttributes &&attributes={}) |
| Returns a newly created InstrumentationScope with the specified library name and version. More... | |
| static nostd::unique_ptr< InstrumentationScope > | Create (nostd::string_view name, nostd::string_view version, nostd::string_view schema_url, const InstrumentationScopeAttributes &attributes) |
| Returns a newly created InstrumentationScope with the specified library name and version. More... | |
| template<class ArgumentType , nostd::enable_if_t< opentelemetry::common::detail::is_key_value_iterable< ArgumentType >::value > * = nullptr> | |
| static nostd::unique_ptr< InstrumentationScope > | Create (nostd::string_view name, nostd::string_view version, nostd::string_view schema_url, const ArgumentType &arg) |
| Returns a newly created InstrumentationScope with the specified library name and version. More... | |
|
default |
|
default |
|
inlinestatic |
Returns a newly created InstrumentationScope with the specified library name and version.
| name | name of the instrumentation scope. |
| version | version of the instrumentation scope. |
| schema_url | schema url of the telemetry emitted by the library. |
| arg | arguments used to create attributes of the instrumentation scope. |
Definition at line 79 of file includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
References pydeepstreamdoc::tensor::TensorDoc::size, and version.
|
inlinestatic |
Returns a newly created InstrumentationScope with the specified library name and version.
| name | name of the instrumentation scope. |
| version | version of the instrumentation scope. |
| schema_url | schema url of the telemetry emitted by the library. |
| arg | arguments used to create attributes of the instrumentation scope. |
Definition at line 79 of file 9.2/includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
References pydeepstreamdoc::tensor::TensorDoc::size, and version.
|
inlinestatic |
Returns a newly created InstrumentationScope with the specified library name and version.
| name | name of the instrumentation scope. |
| version | version of the instrumentation scope. |
| schema_url | schema url of the telemetry emitted by the library. |
| attributes | attributes of the instrumentation scope. |
Definition at line 57 of file 9.2/includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
References version.
|
inlinestatic |
Returns a newly created InstrumentationScope with the specified library name and version.
| name | name of the instrumentation scope. |
| version | version of the instrumentation scope. |
| schema_url | schema url of the telemetry emitted by the library. |
| attributes | attributes of the instrumentation scope. |
Definition at line 57 of file includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
References version.
|
inlinestatic |
Returns a newly created InstrumentationScope with the specified library name and version.
| name | name of the instrumentation scope. |
| version | version of the instrumentation scope. |
| schema_url | schema url of the telemetry emitted by the library. |
| attributes | attributes of the instrumentation scope. |
Definition at line 39 of file includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
|
inlinestatic |
Returns a newly created InstrumentationScope with the specified library name and version.
| name | name of the instrumentation scope. |
| version | version of the instrumentation scope. |
| schema_url | schema url of the telemetry emitted by the library. |
| attributes | attributes of the instrumentation scope. |
Definition at line 39 of file 9.2/includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
|
inlinenoexcept |
Check whether the instrumentation scope has given name and version.
This could be used to check version equality and avoid heap allocation.
| name | name of the instrumentation scope to compare. |
| version | version of the instrumentation scope to compare. |
| schema_url | schema url of the telemetry emitted by the scope. |
| attributes | attributes of the instrumentation scope to compare. |
Definition at line 120 of file 9.2/includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
References version.
|
inlinenoexcept |
Check whether the instrumentation scope has given name and version.
This could be used to check version equality and avoid heap allocation.
| name | name of the instrumentation scope to compare. |
| version | version of the instrumentation scope to compare. |
| schema_url | schema url of the telemetry emitted by the scope. |
| attributes | attributes of the instrumentation scope to compare. |
Definition at line 120 of file includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
References version.
|
inlinenoexcept |
Definition at line 146 of file includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
|
inlinenoexcept |
Definition at line 146 of file 9.2/includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
|
inlinenoexcept |
Definition at line 143 of file 9.2/includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
|
inlinenoexcept |
Definition at line 143 of file includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
|
inlinenoexcept |
Definition at line 145 of file includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
|
inlinenoexcept |
Definition at line 145 of file 9.2/includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
|
inlinenoexcept |
Definition at line 144 of file 9.2/includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
|
inlinenoexcept |
Definition at line 144 of file includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
|
inlinenoexcept |
Definition at line 97 of file 9.2/includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
|
inlinenoexcept |
Definition at line 97 of file includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
|
inlinenoexcept |
Compare 2 instrumentation libraries.
| other | the instrumentation scope to compare to. |
Definition at line 104 of file includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
|
inlinenoexcept |
Compare 2 instrumentation libraries.
| other | the instrumentation scope to compare to. |
Definition at line 104 of file 9.2/includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
|
inlinenoexcept |
Definition at line 148 of file includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
References nostd::visit().
|
inlinenoexcept |
Definition at line 148 of file 9.2/includes/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h.
References nostd::visit().