Menu
Choose a product
Scroll for more
Documentation
Grafana Cloud
Monitor applications
Application Observability
Set up
Added resource attributes
Grafana Cloud
Application Observability resource attributes
Application Observability adds OpenTelemetry resource attributes to logs, spans, and metrics emitted by your application to enrich your data with contextual metadata.
These service resource attributes allow you to filter your metrics and traces effectively:
| Attribute | Description |
|---|---|
| service.namespace | An optional namespace for service.name |
| service.name | The application name |
| deployment.environment | Name of the deployment environment (staging or production) |
| service.instance.id | The unique instance, e.g. the pod name |
| service.version | The 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:
| Label | Filled with attribute (if it is found) |
|---|---|
| job | ${service.namespace}/${service.name} (if service.namespace is defined) or service.name |
| instance | service.instance.id |
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video

Getting started with managing your metrics, logs, and traces using Grafana
In this webinar, we’ll demo how to get started using the LGTM Stack: Loki for logs, Grafana for visualization, Tempo for traces, and Mimir for metrics.
Video

Intro to Kubernetes monitoring in Grafana Cloud
In this webinar you’ll learn how Grafana offers developers and SREs a simple and quick-to-value solution for monitoring their Kubernetes infrastructure.
Video

Building advanced Grafana dashboards
In this webinar, we’ll demo how to build and format Grafana dashboards.