Reduce Grafana Cloud Application Observability costs
Grafana Cloud RSS

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.

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: