mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
detail
This commit is contained in:
parent
d2d5b33751
commit
843d10dae1
2 changed files with 4 additions and 0 deletions
|
|
@ -152,3 +152,5 @@ module Pp = struct
|
||||||
| Metrics ms -> metrics fmt ms
|
| Metrics ms -> metrics fmt ms
|
||||||
| Traces ts -> traces fmt ts
|
| Traces ts -> traces fmt ts
|
||||||
end
|
end
|
||||||
|
|
||||||
|
let pp = Pp.pp
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,8 @@ type t =
|
||||||
| Metrics of Opentelemetry_proto.Metrics.resource_metrics list
|
| Metrics of Opentelemetry_proto.Metrics.resource_metrics list
|
||||||
| Logs of Opentelemetry_proto.Logs.resource_logs list
|
| Logs of Opentelemetry_proto.Logs.resource_logs list
|
||||||
|
|
||||||
|
val pp : Format.formatter -> t -> unit
|
||||||
|
|
||||||
val of_logs :
|
val of_logs :
|
||||||
?service_name:string ->
|
?service_name:string ->
|
||||||
?attrs:OTEL.Key_value.t list ->
|
?attrs:OTEL.Key_value.t list ->
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue