OBI exported metrics

Learn about the HTTP/gRPC metrics OBI can export.

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.client.response.body.sizehttp_client_response_body_size_bytesHistogrambytesSize of the HTTP response 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
Applicationhttp.server.response.body.sizehttp_server_response_body_size_bytesHistogrambytesSize of the HTTP response 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)
Networkobi.network.flow.bytesobi_network_flow_bytesCounterbytesBytes submitted from a source network endpoint to a destination network endpoint
Networkobi.network.inter.zone.bytesobi_network_inter_zone_bytesCounterbytesBytes flowing between cloud availability zones in your cluster (Experimental, currently only available in Kubernetes)

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

Attributes of OBI 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.container.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 rpc.*rpc.grpc.status_codeshown
Application rpc.*rpc.methodshown
Application rpc.*rpc.systemshown
Application (server)client.addresshidden
obi.network.flow.bytesobi.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
obi.network.flow.bytesclient.porthidden
obi.network.flow.bytesdirectionhidden
obi.network.flow.bytesdst.addresshidden
obi.network.flow.bytesdst.cidrshown if the cidrs configuration section exists
obi.network.flow.bytesdst.namehidden
obi.network.flow.bytesdst.porthidden
obi.network.flow.bytesdst.zone (only Kubernetes)hidden
obi.network.flow.bytesifacehidden
obi.network.flow.bytesk8s.cluster.nameshown if Kubernetes is enabled
obi.network.flow.bytesk8s.dst.namehidden
obi.network.flow.bytesk8s.dst.namespaceshown if Kubernetes is enabled
obi.network.flow.bytesk8s.dst.node.iphidden
obi.network.flow.bytesk8s.dst.node.namehidden
obi.network.flow.bytesk8s.dst.owner.typehidden
obi.network.flow.bytesk8s.dst.typehidden
obi.network.flow.bytesk8s.dst.owner.nameshown if Kubernetes is enabled
obi.network.flow.bytesk8s.src.namehidden
obi.network.flow.bytesk8s.src.namespaceshown if Kubernetes is enabled
obi.network.flow.bytesk8s.src.node.iphidden
obi.network.flow.bytesk8s.src.owner.nameshown if Kubernetes is enabled
obi.network.flow.bytesk8s.src.owner.typehidden
obi.network.flow.bytesk8s.src.typehidden
obi.network.flow.bytesserver.porthidden
obi.network.flow.bytessrc.addresshidden
obi.network.flow.bytessrc.cidrshown if the cidrs configuration section exists
obi.network.flow.bytessrc.namehidden
obi.network.flow.bytessrc.porthidden
obi.network.flow.bytessrc.zone (only Kubernetes)hidden
obi.network.flow.bytestransporthidden
Traces (SQL, Redis)db.query.texthidden

Internal metrics

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

NameTypeDescription
obi_ebpf_tracer_flushesHistogramLength of the groups of traces flushed from the eBPF tracer to the next pipeline stage
obi_metric_exports_totalCounterLength of the metric batches submitted to the remote OTel collector
obi_metric_export_errors_totalCounterVecError count on each failed OTel metric export, by error type
obi_trace_exports_totalCounterLength of the trace batches submitted to the remote OTel collector
obi_trace_export_errors_totalCounterVecError count on each failed OTel trace export, by error type
obi_prometheus_http_requests_totalCounterVecNumber of requests towards the Prometheus Scrape endpoint, faceted by HTTP port and path
obi_instrumented_processesGaugeVecInstrumented processes by OBI, with process name
obi_internal_build_infoGaugeVecVersion information of the OBI binary, including the build time and commit hash