Menu
Documentationbreadcrumb arrow Beylabreadcrumb arrow Exported metrics
Grafana Cloud

Beyla exported metrics

The following table describes the exported metrics in both OpenTelemetry and Prometheus format.

FamilyName (OTEL)Name (Prometheus)TypeUnitDescription
Applicationhttp.client.request.durationhttp_client_request_duration_secondsHistogramsecondsDuration of HTTP service calls from the client side
Applicationhttp.client.request.body.sizehttp_client_request_body_size_bytesHistogrambytesSize of the HTTP request body as sent by the client
Applicationhttp.server.request.durationhttp_server_request_duration_secondsHistogramsecondsDuration of HTTP service calls from the server side
Applicationhttp.server.request.body.sizehttp_server_request_body_size_bytesHistogrambytesSize of the HTTP request body as received at the server side
Applicationrpc.client.durationrpc_client_duration_secondsHistogramsecondsDuration of GRPC service calls from the client side
Applicationrpc.server.durationrpc_server_duration_secondsHistogramsecondsDuration of RPC service calls from the server side
Applicationsql.client.durationsql_client_duration_secondsHistogramsecondsDuration of SQL client operations (Experimental)
Applicationredis.client.durationredis_client_duration_secondsHistogramsecondsDuration of Redis client operations (Experimental)
Applicationmessaging.publish.durationmessaging_publish_durationHistogramsecondsDuration of Messaging (Kafka) publish operations (Experimental)
Applicationmessaging.process.durationmessaging_process_durationHistogramsecondsDuration of Messaging (Kafka) process operations (Experimental)
Application processprocess.cpu.timeprocess_cpu_time_seconds_totalCountersecondsTotal CPU seconds broken down by different states (system/user/wait)
Application processprocess.cpu.utilizationprocess_cpu_utilization_ratioGaugeratioDifference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process
Application processprocess.memory.usageprocess_memory_usage_bytesUpDownCounterbytesThe amount of physical memory in use
Application processprocess.memory.virtualprocess_memory_virtual_bytesUpDownCounterbytesThe amount of committed virtual memory
Application processprocess.disk.ioprocess_disk_io_bytes_totalCounterbytesDisk bytes transferred
Application processprocess.network.ioprocess_network_io_bytes_totalCounterbytesNetwork bytes transferred
Networkbeyla.network.flow.bytesbeyla_network_flow_bytesCounterbytesBytes submitted from a source network endpoint to a destination network endpoint

Beyla can also export Span metrics and Service graph metrics, which you can enable via the features configuration option.

Attributes of Beyla metrics

For the sake of brevity, the metrics and attributes in this list use the OTEL dot.notation. When using the Prometheus exporter, the metrics use underscore_notation.

In order to configure which attributes to show or which attributes to hide, check the attributes->select section in the configuration documentation.

MetricsNameDefault
Application (all)http.request.methodshown
Application (all)http.response.status_codeshown
Application (all)http.routeshown if routes configuration section exists
Application (all)k8s.daemonset.nameshown if Kubernetes metadata is enabled
Application (all)k8s.deployment.nameshown if Kubernetes metadata is enabled
Application (all)k8s.namespace.nameshown if Kubernetes metadata is enabled
Application (all)k8s.node.nameshown if Kubernetes metadata is enabled
Application (all)k8s.owner.nameshown if Kubernetes metadata is enabled
Application (all)k8s.pod.nameshown if Kubernetes metadata is enabled
Application (all)k8s.pod.start_timeshown if Kubernetes metadata is enabled
Application (all)k8s.pod.uidshown if Kubernetes metadata is enabled
Application (all)k8s.replicaset.nameshown if Kubernetes metadata is enabled
Application (all)k8s.statefulset.nameshown if Kubernetes metadata is enabled
Application (all)k8s.cluster.nameshown if Kubernetes metadata is enabled
Application (all)service.nameshown
Application (all)service.namespaceshown
Application (all)target.instanceshown
Application (all)url.pathhidden
Application (client)server.addresshidden
Application (client)server.porthidden
Application (process)process.commandshown if process metrics are enabled
Application (process)process.command_argsshown if process metrics are enabled
Application (process)process.command_lineshown if process metrics are enabled
Application (process)process.executable.nameshown if process metrics are enabled
Application (process)process.executable.pathshown if process metrics are enabled
Application (process)process.ownershown if process metrics are enabled
Application (process)process.parent_pidshown if process metrics are enabled
Application (process)process.pidshown if process metrics are enabled
Application rpc.*rpc.grpc.status_codeshown
Application rpc.*rpc.methodshown
Application rpc.*rpc.systemshown
Application (server)client.addresshidden
beyla.network.flow.bytesbeyla.iphidden
db.client.operation.durationdb.operation.nameshown
db.client.operation.durationdb.collection.namehidden
messaging.publish.durationmessaging.systemshown
messaging.publish.durationmessaging.destination.nameshown
messaging.process.durationmessaging.systemshown
messaging.process.durationmessaging.destination.nameshown
beyla.network.flow.bytesclient.porthidden
beyla.network.flow.bytesdirectionhidden
beyla.network.flow.bytesdst.addresshidden
beyla.network.flow.bytesdst.cidrshown if the cidrs configuration section exists
beyla.network.flow.bytesdst.namehidden
beyla.network.flow.bytesdst.porthidden
beyla.network.flow.bytesifacehidden
beyla.network.flow.bytesk8s.cluster.nameshown if network metrics are enabled
beyla.network.flow.bytesk8s.dst.namehidden
beyla.network.flow.bytesk8s.dst.namespaceshown if network metrics are enabled
beyla.network.flow.bytesk8s.dst.node.iphidden
beyla.network.flow.bytesk8s.dst.node.namehidden
beyla.network.flow.bytesk8s.dst.owner.typehidden
beyla.network.flow.bytesk8s.dst.typehidden
beyla.network.flow.bytesk8s.dst.owner.nameshown if network metrics are enabled
beyla.network.flow.bytesk8s.src.namehidden
beyla.network.flow.bytesk8s.src.namespaceshown if network metrics are enabled
beyla.network.flow.bytesk8s.src.node.iphidden
beyla.network.flow.bytesk8s.src.owner.nameshown if network metrics are enabled
beyla.network.flow.bytesk8s.src.owner.typehidden
beyla.network.flow.bytesk8s.src.typehidden
beyla.network.flow.bytesserver.porthidden
beyla.network.flow.bytessrc.addresshidden
beyla.network.flow.bytessrc.cidrshown if the cidrs configuration section exists
beyla.network.flow.bytessrc.namehidden
beyla.network.flow.bytessrc.porthidden
beyla.network.flow.bytestransporthidden
Traces (SQL, Redis)db.query.texthidden

Internal metrics

Beyla can be configured to report internal metrics in Prometheus Format.

NameTypeDescription
beyla_ebpf_tracer_flushesHistogramLength of the groups of traces flushed from the eBPF tracer to the next pipeline stage
beyla_otel_metric_exports_totalCounterLength of the metric batches submitted to the remote OTEL collector
beyla_otel_metric_export_errors_totalCounterVecError count on each failed OTEL metric export, by error type
beyla_otel_trace_exports_totalCounterLength of the trace batches submitted to the remote OTEL collector
beyla_otel_trace_export_errors_totalCounterVecError count on each failed OTEL trace export, by error type
beyla_prometheus_http_requests_totalCounterVecNumber of requests towards the Prometheus Scrape endpoint, faceted by HTTP port and path
beyla_instrumented_processesGaugeVecInstrumented processes by Beyla, with process name
beyla_internal_build_infoGaugeVecVersion information of the Beyla binary, including the build time and commit hash