mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 20:07:55 -04:00
dune fmt
This commit is contained in:
parent
76c18c55c2
commit
9a834b39f7
6 changed files with 26 additions and 11 deletions
3
dune
3
dune
|
|
@ -1,3 +1,4 @@
|
||||||
(env
|
(env
|
||||||
(_
|
(_
|
||||||
(flags :standard -warn-error -a+8 -w +a-4-30-40-41-42-44-48-70 -strict-sequence)))
|
(flags :standard -warn-error -a+8 -w +a-4-30-40-41-42-44-48-70
|
||||||
|
-strict-sequence)))
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
(name opentelemetry_client_cohttp_lwt)
|
(name opentelemetry_client_cohttp_lwt)
|
||||||
(public_name opentelemetry-client-cohttp-lwt)
|
(public_name opentelemetry-client-cohttp-lwt)
|
||||||
(synopsis "Opentelemetry collector using cohttp+lwt+unix")
|
(synopsis "Opentelemetry collector using cohttp+lwt+unix")
|
||||||
(preprocess (pps lwt_ppx))
|
(preprocess
|
||||||
|
(pps lwt_ppx))
|
||||||
(libraries opentelemetry lwt cohttp-lwt cohttp-lwt-unix pbrt mtime
|
(libraries opentelemetry lwt cohttp-lwt cohttp-lwt-unix pbrt mtime
|
||||||
mtime.clock.os))
|
mtime.clock.os))
|
||||||
|
|
|
||||||
3
src/dune
3
src/dune
|
|
@ -2,7 +2,8 @@
|
||||||
(name opentelemetry)
|
(name opentelemetry)
|
||||||
(synopsis "API for opentelemetry instrumentation")
|
(synopsis "API for opentelemetry instrumentation")
|
||||||
(flags :standard -warn-error -a+8)
|
(flags :standard -warn-error -a+8)
|
||||||
(libraries ambient-context ptime ptime.clock.os pbrt threads opentelemetry.atomic)
|
(libraries ambient-context ptime ptime.clock.os pbrt threads
|
||||||
|
opentelemetry.atomic)
|
||||||
(public_name opentelemetry))
|
(public_name opentelemetry))
|
||||||
|
|
||||||
; ### protobuf rules ###
|
; ### protobuf rules ###
|
||||||
|
|
|
||||||
|
|
@ -682,7 +682,13 @@ module Span : sig
|
||||||
val id : t -> Span_id.t
|
val id : t -> Span_id.t
|
||||||
|
|
||||||
type key_value =
|
type key_value =
|
||||||
string * [ `Int of int | `String of string | `Bool of bool | `Float of float | `None ]
|
string
|
||||||
|
* [ `Int of int
|
||||||
|
| `String of string
|
||||||
|
| `Bool of bool
|
||||||
|
| `Float of float
|
||||||
|
| `None
|
||||||
|
]
|
||||||
|
|
||||||
val create :
|
val create :
|
||||||
?kind:kind ->
|
?kind:kind ->
|
||||||
|
|
@ -719,7 +725,13 @@ end = struct
|
||||||
| Span_kind_consumer
|
| Span_kind_consumer
|
||||||
|
|
||||||
type key_value =
|
type key_value =
|
||||||
string * [ `Int of int | `String of string | `Bool of bool | `Float of float | `None ]
|
string
|
||||||
|
* [ `Int of int
|
||||||
|
| `String of string
|
||||||
|
| `Bool of bool
|
||||||
|
| `Float of float
|
||||||
|
| `None
|
||||||
|
]
|
||||||
|
|
||||||
type nonrec status_code = status_status_code =
|
type nonrec status_code = status_status_code =
|
||||||
| Status_code_unset
|
| Status_code_unset
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,10 @@
|
||||||
(executable
|
(executable
|
||||||
(name emit1_cohttp)
|
(name emit1_cohttp)
|
||||||
(modules emit1_cohttp)
|
(modules emit1_cohttp)
|
||||||
(preprocess (pps lwt_ppx))
|
(preprocess
|
||||||
(libraries unix opentelemetry opentelemetry-lwt opentelemetry-client-cohttp-lwt lwt.unix))
|
(pps lwt_ppx))
|
||||||
|
(libraries unix opentelemetry opentelemetry-lwt
|
||||||
|
opentelemetry-client-cohttp-lwt lwt.unix))
|
||||||
|
|
||||||
(executable
|
(executable
|
||||||
(name cohttp_client)
|
(name cohttp_client)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,4 @@
|
||||||
(tests
|
(tests
|
||||||
(names test_trace_context test_get_url)
|
(names test_trace_context test_get_url)
|
||||||
(libraries
|
(libraries opentelemetry opentelemetry-client-ocurl
|
||||||
opentelemetry
|
opentelemetry-client-cohttp-lwt))
|
||||||
opentelemetry-client-ocurl
|
|
||||||
opentelemetry-client-cohttp-lwt))
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue