Menu
Grafana Cloud

Application Observability resource attributes

OpenTelemetry resource attributes are added to log, span, and metrics emitted by your application.

These service resource attributes allow you to filter your metrics and traces effectively:

AttributeDescription
service.namespaceAn optional namespace for service.name
service.nameThe application name
deployment.environmentName of the deployment environment (staging or production)
service.instance.idThe unique instance, e.g. the pod name
service.versionThe application version, to see if a new version has introduced a bug

OpenTelemetry logs and metrics are stored in Loki and Prometheus respectively. Both Loki and Prometheus use job and instance labels according the OpenTelemetry compatibility specification with Prometheus and OpenMetrics:

LabelFilled with attribute (if it is found)
job${service.namespace}/${service.name} (if service.namespace is defined) or service.namespace
instanceservice.instance.id