This commit is contained in:
Simon Cruanes 2023-11-07 15:35:40 -05:00
parent b826f85977
commit db45d9ff56
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 5 additions and 1 deletions

View file

@ -1,7 +1,7 @@
(library
(name opentelemetry)
(synopsis "API for opentelemetry instrumentation")
(flags :standard -warn-error -a+8 -open Opentelemetry_proto)
(flags :standard -warn-error -a+8)
(libraries opentelemetry.proto ambient-context ptime ptime.clock.os pbrt threads
opentelemetry.atomic)
(public_name opentelemetry))

View file

@ -19,6 +19,8 @@ end
This is mostly useful internally. Users should not need to touch it. *)
module Proto = struct
open Opentelemetry_proto
module Common = struct
include Common_types
include Common_pp
@ -887,6 +889,7 @@ end
See {{: https://opentelemetry.io/docs/reference/specification/overview/#metric-signal} the spec} *)
module Metrics = struct
open Opentelemetry_proto
open Metrics_types
type t = Metrics_types.metric
@ -989,6 +992,7 @@ end
See {{: https://opentelemetry.io/docs/reference/specification/overview/#log-signal} the spec} *)
module Logs = struct
open Opentelemetry_proto
open Logs_types
type t = log_record