---
title: "Configure Beyla | Grafana Beyla documentation"
description: "Learn how to configure Beyla."
---

# Configure Beyla

You can configure Beyla by setting [export modes](export-modes/), global properties, and component options.

- [Export modes](/docs/beyla/latest/configure/export-modes/)  
  Configure Beyla to export data directly to an OTLP endpoint or through Alloy.
- [Global properties](/docs/beyla/latest/configure/options/)  
  Configure global configuration properties that apply to Beyla core.
- [Export data](/docs/beyla/latest/configure/export-data/)  
  Configure the Beyla components to export Prometheus and OpenTelemetry metrics and OpenTelemetry traces, including exporting to Grafana Cloud Prometheus and OTLP endpoints.
- [Service discovery](/docs/beyla/latest/configure/service-discovery/)  
  Configure how the Beyla service discovery component searches for processes to instrument.
- [Metrics attributes](/docs/beyla/latest/configure/metrics-traces-attributes/)  
  Configure the metrics and traces attributes component that controls the attributes reported, including instance ID decoration and metadata of instrumented Kubernetes pods.
- [Name Resolver](/docs/beyla/latest/configure/name-resolver/)  
  Configure Beyla service host and peer name resolution
- [Controlling instrumentation](/docs/beyla/latest/configure/controlling-instrumentation/)  
  Configure the way instrumentation behaves for various protocols and programming languages
- [Language specific agents](/docs/beyla/latest/configure/language-agents/)  
  Configure the options related to Beyla's use of language specific agents
- [Filter data](/docs/beyla/latest/configure/filter-metrics-traces/)  
  Configure Beyla to filter metrics and traces by attribute values.
- [Routes decorator](/docs/beyla/latest/configure/routes-decorator/)  
  Configure the routes decorator component before Beyla sends data to the next stage of the pipeline.
- [Metrics histograms](/docs/beyla/latest/configure/metrics-histograms/)  
  Configure metrics histograms for Prometheus and OpenTelemetry, and whether to use native histograms and exponential histograms.
- [Sample traces](/docs/beyla/latest/configure/sample-traces/)  
  Configure how to sample OpenTelemetry traces.
- [Internal metrics reporter](/docs/beyla/latest/configure/internal-metrics-reporter/)  
  Configure how the optional internal metrics reporter component reports metrics on the internal behavior of the auto-instrumentation tool in Prometheus format.
- [Tune performance](/docs/beyla/latest/configure/tune-performance/)  
  Configure how the eBPF tracer component instruments HTTP and GRPC services of external processes and creates traces to forward to the next stage of the pipeline.
- [YAML example](/docs/beyla/latest/configure/example/)  
  Example Beyla configuration YAML example.

For information on the metrics Beyla exports, refer to the [exported metrics](../metrics/) documentation.

Refer to the [routes decorator](routes-decorator/) documentation to configure the low cardinality routes decorator. It’s very important for optimal results.
