Announcing Application Observability in Grafana Cloud, with native support for OpenTelemetry and Prometheus
The Grafana LGTM Stack (Loki for logs, Grafana for visualization, Tempo for traces, and Mimir for metrics) offers the freedom and flexibility for monitoring application performance. But we’ve also heard from many of our users and customers that you need a solution that makes it easier and faster to get started with application monitoring.
During the opening keynote of ObservabilityCON 2023, we announced that we are delivering exactly that: We expanded Grafana Cloud’s capabilities to include Application Observability — an out-of-the box solution to minimize MTTR (mean time to resolution) and improve reliability across your applications.
Application Observability — which is now generally available for all Grafana Cloud users, including those in our generous free-forever tier — delivers a curated experience on top of the Grafana LGTM Stack, with preconfigured dashboards and workflows that makes implementing application monitoring easier and faster. You’ll also be able to set up alerts and SLOs, detect anomalies, and identify root causes.
Now with the addition of Application Observability to the fully managed Grafana Cloud platform, users can extend their observability stack to correlate between metrics, logs, and traces across frontend, application, and infrastructure layers — all in one place.
![*Metrics, logs, and traces are automatically correlated to expedite root cause analysis.* A screenshot showing how Application Observability in Grafana Cloud can correlate between metrics, logs, and traces.](/media/blog/application-observability-in-grafana-cloud/app-olly-launch_screenshot-of-app-olly_image-1.png)
Application Observability with native support of both OpenTelemetry and Prometheus
As active participants in the OpenTelemetry open source community and the No. 1 company contributor to the Prometheus project, Grafana Labs is committed to improving the interoperability of OpenTelemetry and Prometheus.
This is why we built Application Observability with native support for both OpenTelemetry and Prometheus — to provide you with the flexibility to combine OpenTelemetry and Prometheus instrumentation as needed. (We recommend using OpenTelemetry auto-instrumentation agents and/or SDKs to instrument your applications, and we provide easy to use distributions for Java and .NET.)
Application Observability in Grafana Cloud also allows you to use PromQL-based query languages, such as LogQL and TraceQL, to interpret your data — even if it’s ingested in OpenTelemetry format.
With support for these open standards, Application Observability gives you the freedom to use the tools and platforms that best suit your observability stack, without vendor lock-in or proprietary auto instrumentation.
The diagram below illustrates our recommended architecture for Application Observability.
![*Recommended architecture: Grafana Agent packages various upstream OpenTelemetry Collector components and Prometheus exporters to provide stability, support, and unify application & infrastructure observability.* A diagram showing the recommended architecture for Application Observability.](/media/blog/application-observability-in-grafana-cloud/app-olly_diagram-of-reccommended-arch_image-2.png)
How Grafana Cloud Application Observability works with OpenTelemetry
Let’s walk through Application Observability in action.
The OpenTelemetry Community Demo simulates an eCommerce store selling astronomy equipment. The app is composed of 14+ microservices that talk to each other over gRPC and HTTP. These microservices are written in different programming languages and instrumented using OpenTelemetry.
The diagram below shows the data flow and programming languages used.
![*Image source:* *https://opentelemetry.io/docs/demo/architecture/* A diagram showing the data flow and programming languages used.](/media/blog/application-observability-in-grafana-cloud/app-olly-launch__diagram-of-data-flows-and-pro-languages_image-3.png)
Let’s imagine that you get an alert from Grafana Cloud Application Observability that indicates an elevated error rate on the business-critical cart service. Following the alert message, you are seamlessly directed to the Service Inventory page, which provides an out-of-the box, top-down view showing the aggregated RED (request rate, error, duration) metrics of all services including the problematic cart service.
![A screenshot of the Service Inventory page.](/media/blog/application-observability-in-grafana-cloud/app-olly_service-inventory-page_image-4.png)
To get a better sense of the eCommerce app’s architecture and the cart service’s role within it, you open the Service Map view, presenting a dynamic visualization of the services and their activities.
![A screenshot of the Service Map view.](/media/blog/application-observability-in-grafana-cloud/app-olly-launch_service-map-view_image-5.png)
As you confirm that the cart service is experiencing an abnormal error rate, you decide to take a close look at it to find out what might be happening. After drilling down into the cart service, you are presented with multiple tabs for Overview, Traces, Logs, Service Map, .NET, and Alerts. These signals are correlated behind the scenes and scoped to the cart service to preserve context for each and facilitate your troubleshooting.
![A screenshot of various tabs in Application Observability.](/media/blog/application-observability-in-grafana-cloud/app-olly-launch_tabs-screenshot_image-6.png)
The Service Overview page displays detailed RED metrics for the cart service, as well as for its upstream and downstream services that may be contributing to poor performance. The duration distribution graph helps you better visualize what percentage of end users are having a slow experience. Next to the service name, a set of technology icons is automatically displayed, including a .NET icon, indicating the programming language; a Kubernetes icon, as the service is using Kubernetes; and a Cloud icon, as the service is deployed on a cloud environment. As Application Observability automatically correlates application and infrastructure telemetry for you, you can hover over the Kubernetes icon to view the environment labels and navigate to Kubernetes Monitoring in Grafana Cloud.
![A screenshot of the Service Overview tab.](/media/blog/application-observability-in-grafana-cloud/app-olly-launch_service-overview-tab_image-7.png)
The Operations panel in Service Overview gives you more granular RED metrics for the specific operations performed on the cart service. Here, you see the oteldemo.CartService/EmptyCart
operation is experiencing both errors and elevated P99 latency.
![A screenshot of the Operations panel.](/media/blog/application-observability-in-grafana-cloud/app-olly-launch_operations-panel_image-8.png)
Clicking into the oteldemo.CartService/EmptyCart
operation and opening the Traces tab in the header allows you to immediately examine the distributed traces linked to the oteldemo.CartService/EmptyCart
operation to understand what might be causing the issue.
You then filter the trace list for only those that contain an error and select the longest trace to investigate. Because this distributed trace contains a couple of error spans in both the checkout and cart service, you expand the CartService/EmptyCart
span to see more detail.
![A screenshot of the Traces tab.](/media/blog/application-observability-in-grafana-cloud/app-olly-launch_traces-tab_image--9.png)
Within the distributed trace span view, you have a lot of useful metadata including Span Attributes, Resource Attributes, and Events. By examining the Events section, you discover that this specific call was unable to connect to Redis.
![A screenshot of the distributed trace span view.](/media/blog/application-observability-in-grafana-cloud/app-olly_distributed-trace-span-view_image-10.png)
To validate this and see the sequence of events that led to this failure, you simply click the Logs for this span icon to view the logs associated with the specific span. Seeing the same error message in logs confirms that your application is having an issue connecting to Redis. Now that the root cause of the elevated error rate of your application has been identified, you can work with your team to quickly resolve it and prevent any negative impact on your customers and revenue.
![A screenshot of the Logs for this span button.](/media/blog/application-observability-in-grafana-cloud/app-olly-launch_logs-for-this-span-view_image-11.png)
![A screenshot of a logs view.](/media/blog/application-observability-in-grafana-cloud/app-olly-launch_long-list-of-logs_image-11.png)
Get started with Grafana Cloud Application Observability
Application Observability is now generally available for all Grafana Cloud users, including those in our generous free-forever tier.
How to set up Application Observability
- Opt in for Grafana Cloud metrics generation, if it is not already enabled.
- Instrument your application using OpenTelemetry.
- Use the Grafana Agent with the OpenTelemetry (OTLP) integration (recommended) or the OpenTelemetry Collector to send telemetry to Grafana Cloud.
For full implementation details and best practices, see our Application Observability documentation.
Pricing overview
- Application Observability will be priced based on hosts, fairly and competitively, starting in FY25 Q1 (February through April 2024; exact date and pricing details to be announced).
- Customers can begin using Application Observability now and only pay for the metrics, logs, and traces ingested into Grafana Cloud associated with such usage, based on regular Grafana Cloud pricing, until the host-based billing begins in FY25 Q1.
- Contact us if you have any questions on pricing and billing for this offering.
Grafana Cloud is the easiest way to get started with metrics, logs, traces, and dashboards. We recently added new features to our generous forever-free tier, including access to all Enterprise plugins for three users. Plus there are plans for every use case. Sign up for a free account today!