mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 12:23:32 -04:00
15 lines
355 B
OCaml
15 lines
355 B
OCaml
[@@@ocaml.warning "-27-30-39"]
|
|
|
|
|
|
type resource = {
|
|
attributes : Common_types.key_value list;
|
|
dropped_attributes_count : int32;
|
|
}
|
|
|
|
let rec default_resource
|
|
?attributes:((attributes:Common_types.key_value list) = [])
|
|
?dropped_attributes_count:((dropped_attributes_count:int32) = 0l)
|
|
() : resource = {
|
|
attributes;
|
|
dropped_attributes_count;
|
|
}
|