Configure Beyla

Learn how to configure Beyla.

Você está visualizando a versão em versão em inglês desta página porque ela ainda não foi traduzida. Possui interesse em ajudar? Veja como contribuir.

Configure Beyla

You can configure Beyla by setting export modes, global properties, and component options.

For information on the metrics Beyla exports, refer to the exported metrics documentation.

Refer to the routes decorator documentation to configure the low cardinality routes decorator. It’s very important for optimal results.


Configure Beyla export modes

Configure Beyla to export data directly to an OTLP endpoint or through Alloy.

Beyla global configuration properties

Configure global configuration properties that apply to Beyla core.

Configure Beyla Prometheus and OpenTelemetry data export

Configure the Beyla components to export Prometheus and OpenTelemetry metrics and OpenTelemetry traces, including exporting to Grafana Cloud Prometheus and OTLP endpoints.

Configure Beyla service discovery

Configure how the Beyla service discovery component searches for processes to instrument.

Configure Beyla metrics and traces attributes

Configure the metrics and traces attributes component that controls the attributes reported, including instance ID decoration and metadata of instrumented Kubernetes pods.

Filter metrics and traces by attribute values

Configure Beyla to filter metrics and traces by attribute values.

Configure Beyla routes decorator

Configure the routes decorator component before Beyla sends data to the next stage of the pipeline.

Configure Beyla Prometheus and OpenTelemetry metrics histograms

Configure metrics histograms for Prometheus and OpenTelemetry, and whether to use native histograms and exponential histograms.

Configure Beyla OpenTelemetry trace sampling

Configure how to sample OpenTelemetry traces.

Configure the Beyla 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.

Configure Beyla 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.

Beyla configuration YAML example

Example Beyla configuration YAML example.