ServiceAttributes
in
Semantic attributes and corresponding values for service.
Tags
Table of Contents
Constants
- SERVICE_NAME = 'service.name'
- Logical name of the service.
- SERVICE_VERSION = 'service.version'
- The version string of the service API or implementation. The format is not defined by these conventions.
Constants
SERVICE_NAME
Logical name of the service.
public
mixed
SERVICE_NAME
= 'service.name'
MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to unknown_service:
concatenated with process.executable.name
, e.g. unknown_service:bash
. If process.executable.name
is not available, the value MUST be set to unknown_service
.
Tags
SERVICE_VERSION
The version string of the service API or implementation. The format is not defined by these conventions.
public
mixed
SERVICE_VERSION
= 'service.version'