shorter name for the instrumentation library

this name is encoded a lot (in most batches) and can visually clutter visualisation of spans.
This commit is contained in:
Simon Cruanes 2023-08-30 15:33:37 -04:00
parent 9ba1719795
commit e2af52ebb0
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -408,7 +408,7 @@ module Globals = struct
let service_instance_id = ref None let service_instance_id = ref None
let instrumentation_library = let instrumentation_library =
default_instrumentation_scope ~version:"0.2" ~name:"ocaml-opentelemetry" () default_instrumentation_scope ~version:"0.2" ~name:"ocaml-otel" ()
(** Global attributes, initially set (** Global attributes, initially set
via OTEL_RESOURCE_ATTRIBUTES and modifiable via OTEL_RESOURCE_ATTRIBUTES and modifiable