Module Opentelemetry_client.Util_resources

Group signals into resource_xxx objects

val make_resource_logs : ?service_name:string -> ?attrs: (string * [< `Bool of bool | `Float of float | `Int of int | `None | `String of string ]) list -> Opentelemetry_client.Common_.Proto.Logs.log_record list -> Opentelemetry_client.Common_.Proto.Logs.resource_logs
val make_resource_spans : ?service_name:string -> ?attrs: (string * [< `Bool of bool | `Float of float | `Int of int | `None | `String of string ]) list -> Opentelemetry_client.Common_.Proto.Trace.span list -> Opentelemetry_client.Common_.Proto.Trace.resource_spans
val make_resource_metrics : ?service_name:string -> ?attrs: (string * [< `Bool of bool | `Float of float | `Int of int | `None | `String of string ]) list -> Opentelemetry_client.Common_.OTEL.Metrics.t list -> Opentelemetry_client.Common_.Proto.Metrics.resource_metrics

Aggregate metrics into a Proto.Metrics.resource_metrics