Application Observability recommended architecture
OpenTelemetry
Grafana Application Observability is built on OpenTelemetry and is 100% compatible with the upstream project. Grafana Labs are active participants in the upstream community and lead several initiatives.
Developers who use the Auto Instrumentation agents, the SDKs, and/or OpenTelemetry Collector can leverage Grafana Application Observability without any issue.
To get the best value through observability, enrich the OpenTelemetry signals, traces, logs, and metrics with contextual metadata.
The following projects provide configuration guidance for running Grafana Agent and OpenTelemetry on the cloud or Kubernetes:
Grafana Agent and the OpenTelemetry Collector
The Grafana Agent and the OpenTelemetry Collector are two open source projects for telemetry data-collection and transformation.
The OpenTelemetry Collector is maintained by the OpenTelemetry project maintainers and the Cloud Native Computing Foundation.
The Grafana Agent is maintained by Grafana Labs, and packages various upstream OpenTelemetry Collector components and Prometheus exporters, to provide stability, support, and an integrated experience with Grafana Application Observability and other Grafana products.
Instrumentation
OpenTelemetry auto-instrumentation agents and/or the SDKs are the recommended methods to instrument applications as they export consistent metadata and telemetry across languages and SDKs.
Recommended Architecture
Grafana Agent as the OTLP endpoint
It is recommended to use the OpenTelemetry auto-instrumentation agents or SDKs to instrument your applications and forward the OTLP data to the Grafana Agent and configure it to write to individual telemetry databases on Grafana Cloud. The Grafana Agent will act as an outbound gateway providing reliability and scalability.
Use the Grafana Agent OpenTelemetry (OTLP) integration to send data to Grafana Cloud.
For further details, consult the Grafana Agent documentation for adding OpenTelemetry to the Grafana stack.
The Grafana Agent is deeply integrated with Grafana Application Observability and other Grafana products to monitor both infrastructure and applications and correlate between the two:
Exporting directly from the OpenTelemetry Collector
Grafana Application Observability is compatible with the OpenTelemetry Collector, however the feature is experimental and we are exploring ways to support Collector deployments.
We have users successfully using the upstream Collector with Grafana Application Observability, and we can provide the correct config to support the required features where possible.
Consult the OpenTelemetry Collector sampling documentation to learn how to use sampling techniques to reduce costs.
Monitor applications with the The OpenTelemetry Collector:
Related resources from Grafana Labs


