Opentelemetry.GlobalsProcess-wide metadata, environment variables, etc.
val instrumentation_library : Proto.Common.instrumentation_libraryval global_attributes : Proto.Common.key_value list Stdlib.refGlobal attributes, initially set via OTEL_RESOURCE_ATTRIBUTES and modifiable by the user code. They will be attached to each outgoing metrics/traces.
val add_global_attribute : string -> value -> unitAdd a global attribute
val merge_global_attributes_ :
Proto.Common.key_value list ->
Proto.Common.key_value listval mk_attributes :
?service_name:string ->
?attrs:
(string * [< `Bool of bool | `Int of int | `None | `String of string ])
list ->
unit ->
Proto.Common.key_value list