mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 20:33:36 -04:00
use dune-generated version number in instrumentation name
This commit is contained in:
parent
8d0f815fe2
commit
abafac8361
1 changed files with 2 additions and 1 deletions
|
|
@ -429,7 +429,8 @@ module Globals = struct
|
|||
let service_instance_id = ref None
|
||||
|
||||
let instrumentation_library =
|
||||
default_instrumentation_scope ~version:"0.2" ~name:"ocaml-otel" ()
|
||||
default_instrumentation_scope ~version:"%%VERSION_NUM%%" ~name:"ocaml-otel"
|
||||
()
|
||||
|
||||
(** Global attributes, initially set
|
||||
via OTEL_RESOURCE_ATTRIBUTES and modifiable
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue