Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana-cloud/cost-management-and-billing/analyze-costs/reduce-costs/app-observability-costs.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana-cloud/cost-management-and-billing/analyze-costs/reduce-costs/app-observability-costs/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Reduce Grafana Cloud Application Observability costs
Introduction
Grafana Cloud calculates Application Observability usage based on the total number of host hours ingested per month.
This guide discusses how to identify and optimize billable usage.
Review your usage and create billing alerts
You can review usage on the Billing and Usage dashboard on the Application Observability panels and create alerts to notify you about unexpected activity.
- Billing and Usage dashboard
- Understand your Grafana Cloud Application Observability invoice
- Set up usage alerts for Grafana Cloud billing
Identify sources of high metric cardinality
When you add additional group and filter attributes it contributes to your Grafana Cloud data usage and bill.
Think carefully about the cardinality of your data and select attributes with minimal variation in value, for example geographical region and cloud provider have less cardinality than instance id.
To learn more about metric cardinality, see:
To inspect span attributes to understand high cardinality, see:
Reduce your usage
Reduce metric cardinality
After identifying sources of high metrics cardinality, remove unnecessary attributes or improve consistent naming conventions to optimize the number of attributes.
For a guide on best practices, refer to:
Sampling
Sampling is a means to reduce the cost of processing and storing large volumes of data. For example, a service with 100 requests per second and a sample rate of 10% sends 10 spans/sec.
Even though tail-sampling sometimes can yield more precise results and could focus on specific aspects, in most cases, head-sampling is a robust choice. However regardless of the sampling method, to ensure Application Observability can provide accurate results, it is critical that you need to generate metrics from traces before applying the sampling.
To read more about sampling strategies, refer to:
Was this page helpful?
Related resources from Grafana Labs


