opentelemetry_semantic_conventions::attribute

Constant SERVICE_NAME

source
pub const SERVICE_NAME: &str = "service.name";
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 process.executable.name, e.g. unknown_service:bash. If process.executable.name is not available, the value MUST be set to unknown_service.

§Examples

  • "shoppingcart"