diff --git a/opentelemetry/Opentelemetry/Globals/index.html b/opentelemetry/Opentelemetry/Globals/index.html index ce5f0a11..63b47090 100644 --- a/opentelemetry/Opentelemetry/Globals/index.html +++ b/opentelemetry/Opentelemetry/Globals/index.html @@ -1,5 +1,5 @@ -Globals (opentelemetry.Opentelemetry.Globals)

Module Opentelemetry.Globals

Process-wide metadata, environment variables, etc.

val service_name : string ref

Main service name metadata

val service_namespace : string option ref

Namespace for the service

val service_instance_id : string option ref

Unique identifier for the service

val instrumentation_library : Proto.Common.instrumentation_scope
val global_attributes : Proto.Common.key_value list ref

Global 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 -> unit

Add a global attribute

val merge_global_attributes_ : +Globals (opentelemetry.Opentelemetry.Globals)

Module Opentelemetry.Globals

Process-wide metadata, environment variables, etc.

val service_name : string ref

Main service name metadata

val service_namespace : string option ref

Namespace for the service

val service_instance_id : string option ref

Unique identifier for the service

val service_version : string option ref

Version for the service

  • since NEXT_RELEASE
val instrumentation_library : Proto.Common.instrumentation_scope
val global_attributes : Proto.Common.key_value list ref

Global 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 -> unit

Add a global attribute

val merge_global_attributes_ : Proto.Common.key_value list -> Proto.Common.key_value list
val default_span_kind : Proto.Trace.span_span_kind ref

Default span kind in Span.create. This will be used in all spans that do not specify ~kind explicitly; it is set to "internal", following directions from the .proto file. It can be convenient to set "client" or "server" uniformly in here.

  • since 0.4
val mk_attributes : ?service_name:string ->