Configure Application Observability metrics
You can manage how Application Observability metrics are generated for the knowledge graph.
Metrics generation
Enable or disable metrics generation for the default provisioned Traces data source for the stack.
Beyla
Beyla can generate its own span metrics and service graph metrics. When used together with Grafana Cloud metrics generation, this can lead to duplicate series, which can display erroneous data in Application Observability. You can choose one of the following options to set it up properly:
- Grafana Cloud Tempo generates span metrics from all traces, except those containing the following resource attribute. This option excludes traces that have the
span.metrics.skip=true
resource attribute. - Grafana Cloud Tempo disregards the deduplication resource attribute when generating metrics from spans. Selecting this option can cause duplicate metrics to be generated.
This configuration exists so that you can use Beyla metrics generation simultaneously with Grafana Cloud metrics generation.
Before you begin
Ensure the following:
- You are familiar with your metrics coming into Grafana Cloud, including the source environment and clusters
- You have Grafana Cloud Admin permissions
Enable metrics generation
- Sign into Grafana Cloud and click Observability > Configuration.
- Click Connect knowledge graph.
- Click Enable metric generation.
- Click Activate.
Configure metrics duplication options
- Sign into Grafana Cloud and click Observability > Configuration.
- Click Connect knowledge graph.
- Click Duplication Options.
- Select how you want the knowledge graph to manage span metrics.
- Click OK.