Menu
Grafana Cloud

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 Grafana auto-instrumentation agents or SDKs, upstream OpenTelemetry, Grafana Alloy, or the 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 and the OpenTelemetry Collector on the cloud or Kubernetes:

Grafana Alloy and the OpenTelemetry Collector

Grafana Alloy 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.

Grafana Alloy 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

The Grafana auto-instrumentation agents or SDKs are the recommended methods to instrument applications as they export consistent metadata and telemetry across languages and SDKs.

Grafana Alloy as the OTLP endpoint

It is recommended to use the Grafana auto-instrumentation agents or SDKs to instrument applications and forward the OTLP data to Grafana Alloy and configure it to write to individual telemetry databases on Grafana Cloud. Grafana Alloy acts as an outbound gateway providing reliability and scalability.

Use the Grafana Cloud OpenTelemetry (OTLP) integration to send data to Grafana Cloud.

OpenTelemetry Integration

For further details, consult the Grafana Alloy documentation for adding OpenTelemetry to the Grafana stack.

Grafana Alloy is deeply integrated with Grafana Application Observability and other Grafana products to monitor both infrastructure and applications and correlate between the two:

Alloy Architecture

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:

OpenTelemetry Collector Architecture