Variables | |
| static constexpr const char * | kServiceName = "service.name" |
| Logical name of the service. More... | |
| static constexpr const char * | kServiceVersion = "service.version" |
| The version string of the service API or implementation. More... | |
| static constexpr const char * | kServiceInstanceId = "service.instance.id" |
| The string ID of the service instance. More... | |
| static constexpr const char * | kServiceName = "service.name" |
| Logical name of the service. More... | |
| static constexpr const char * | kServiceNamespace = "service.namespace" |
| A namespace for. More... | |
| static constexpr const char * | kServiceVersion = "service.version" |
| The version string of the service API or implementation. More... | |
| static constexpr const char * | kServiceName = "service.name" |
| Logical name of the service. More... | |
| static constexpr const char * | kServiceVersion = "service.version" |
| The version string of the service API or implementation. More... | |
| static constexpr const char * | kServiceInstanceId = "service.instance.id" |
| The string ID of the service instance. More... | |
| static constexpr const char * | kServiceName = "service.name" |
| Logical name of the service. More... | |
| static constexpr const char * | kServiceNamespace = "service.namespace" |
| A namespace for. More... | |
| static constexpr const char * | kServiceVersion = "service.version" |
| The version string of the service API or implementation. More... | |
|
staticconstexpr |
The string ID of the service instance.
MUST be unique for each instance of the same
pair (in other words
triplet MUST be globally unique). The ID helps to distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled service).
Implementations, such as SDKs, are recommended to generate a random Version 1 or Version 4 RFC 4122 UUID, but are free to use an inherent unique ID as the source of this value if stability is desirable. In that case, the ID SHOULD be used as source of a UUID Version 5 and SHOULD use the following UUID as the namespace:
.
UUIDs are typically recommended, as only an opaque value for the purposes of identifying a service instance is needed. Similar to what can be seen in the man page for the @code /etc/machine-id @endcode file, the underlying data, such as pod name and namespace should be treated as confidential, being the user's choice to expose it or not via another resource attribute.
For applications running behind an application server (like unicorn), we do not recommend using one identifier for all processes participating in the application. Instead, it's recommended each division (e.g. a worker thread in unicorn) to have its own instance.id.
It's not recommended for a Collector to set
if it can't unambiguously determine the service instance that is generating that telemetry. For instance, creating an UUID based on
will likely be wrong, as the Collector might not know from which container within that pod the telemetry originated. However, Collectors can set the
if they can unambiguously determine the service instance for that telemetry. This is typically the case for scraping receivers, as they know the target address and port.
Definition at line 51 of file includes/opentelemetry/semconv/incubating/service_attributes.h.
|
staticconstexpr |
The string ID of the service instance.
MUST be unique for each instance of the same
pair (in other words
triplet MUST be globally unique). The ID helps to distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled service).
Implementations, such as SDKs, are recommended to generate a random Version 1 or Version 4 RFC 4122 UUID, but are free to use an inherent unique ID as the source of this value if stability is desirable. In that case, the ID SHOULD be used as source of a UUID Version 5 and SHOULD use the following UUID as the namespace:
.
UUIDs are typically recommended, as only an opaque value for the purposes of identifying a service instance is needed. Similar to what can be seen in the man page for the @code /etc/machine-id @endcode file, the underlying data, such as pod name and namespace should be treated as confidential, being the user's choice to expose it or not via another resource attribute.
For applications running behind an application server (like unicorn), we do not recommend using one identifier for all processes participating in the application. Instead, it's recommended each division (e.g. a worker thread in unicorn) to have its own instance.id.
It's not recommended for a Collector to set
if it can't unambiguously determine the service instance that is generating that telemetry. For instance, creating an UUID based on
will likely be wrong, as the Collector might not know from which container within that pod the telemetry originated. However, Collectors can set the
if they can unambiguously determine the service instance for that telemetry. This is typically the case for scraping receivers, as they know the target address and port.
Definition at line 51 of file 9.2/includes/opentelemetry/semconv/incubating/service_attributes.h.
|
staticconstexpr |
Logical name of the service.
MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to
concatenated with @code process.executable.name @endcode, e.g.
. If
is not available, the value MUST be set to
.
Definition at line 31 of file includes/opentelemetry/semconv/service_attributes.h.
|
staticconstexpr |
Logical name of the service.
MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to
concatenated with @code process.executable.name @endcode, e.g.
. If
is not available, the value MUST be set to
.
Definition at line 31 of file 9.2/includes/opentelemetry/semconv/service_attributes.h.
|
staticconstexpr |
Logical name of the service.
MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to
concatenated with @code process.executable.name @endcode, e.g.
. If
is not available, the value MUST be set to
.
Definition at line 62 of file includes/opentelemetry/semconv/incubating/service_attributes.h.
|
staticconstexpr |
Logical name of the service.
MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to
concatenated with @code process.executable.name @endcode, e.g.
. If
is not available, the value MUST be set to
.
Definition at line 62 of file 9.2/includes/opentelemetry/semconv/incubating/service_attributes.h.
|
staticconstexpr |
A namespace for.
.
A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services.
is expected to be unique within the same namespace. If
is not specified in the Resource then
is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace.
Definition at line 74 of file 9.2/includes/opentelemetry/semconv/incubating/service_attributes.h.
|
staticconstexpr |
A namespace for.
.
A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services.
is expected to be unique within the same namespace. If
is not specified in the Resource then
is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace.
Definition at line 74 of file includes/opentelemetry/semconv/incubating/service_attributes.h.
|
staticconstexpr |
The version string of the service API or implementation.
The format is not defined by these conventions.
Definition at line 37 of file includes/opentelemetry/semconv/service_attributes.h.
|
staticconstexpr |
The version string of the service API or implementation.
The format is not defined by these conventions.
Definition at line 37 of file 9.2/includes/opentelemetry/semconv/service_attributes.h.
|
staticconstexpr |
The version string of the service API or implementation.
The format is not defined by these conventions.
Definition at line 80 of file includes/opentelemetry/semconv/incubating/service_attributes.h.
|
staticconstexpr |
The version string of the service API or implementation.
The format is not defined by these conventions.
Definition at line 80 of file 9.2/includes/opentelemetry/semconv/incubating/service_attributes.h.