Constant SERVICE_NAME
pub const SERVICE_NAME: &'static str;Available on crate feature
opentelemetry only.Expand description
Logical name of the service.
§Notes
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 the process executable name, e.g. unknown_service:bash. If the process executable name is not available, the value MUST be set to unknown_service.
The process executable name is the name of the process executable, the same value as described by the process.executable.name resource attribute.
§Examples
"shoppingcart"