mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 12:23:32 -04:00
20 lines
375 B
OCaml
20 lines
375 B
OCaml
(** resource.proto Types *)
|
|
|
|
|
|
|
|
(** {2 Types} *)
|
|
|
|
type resource = {
|
|
attributes : Common_types.key_value list;
|
|
dropped_attributes_count : int32;
|
|
}
|
|
|
|
|
|
(** {2 Default values} *)
|
|
|
|
val default_resource :
|
|
?attributes:Common_types.key_value list ->
|
|
?dropped_attributes_count:int32 ->
|
|
unit ->
|
|
resource
|
|
(** [default_resource ()] is the default value for type [resource] *)
|