package opentelemetry

  1. Overview
  2. Docs

Source file resource_types.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[@@@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;
}