mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-05-05 17:04:52 -04:00
preparing for 0.90
This commit is contained in:
parent
7f9b7d7c83
commit
6a468594e0
20 changed files with 58 additions and 58 deletions
|
|
@ -5,9 +5,9 @@
|
|||
(generate_opam_files true)
|
||||
|
||||
(source
|
||||
(github imandra-ai/ocaml-opentelemetry))
|
||||
(github ocaml-tracing/ocaml-opentelemetry))
|
||||
|
||||
(version 0.12)
|
||||
(version 0.90)
|
||||
|
||||
(implicit_transitive_deps false)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.12"
|
||||
version: "0.90"
|
||||
synopsis: "Collector client for opentelemetry, using cohttp + eio"
|
||||
maintainer: ["ocaml-tracing"]
|
||||
authors: ["ocaml-tracing" "ELLIOTTCABLE <opam@ell.io>" "the imandra team"]
|
||||
license: "MIT"
|
||||
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
|
||||
homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
|
||||
depends: [
|
||||
"dune" {>= "3.11"}
|
||||
"ocaml" {>= "5.00"}
|
||||
|
|
@ -40,4 +40,4 @@ build: [
|
|||
"@doc" {with-doc}
|
||||
]
|
||||
]
|
||||
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
|
||||
dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.12"
|
||||
version: "0.90"
|
||||
synopsis: "Collector client for opentelemetry, using cohttp + lwt"
|
||||
maintainer: ["ocaml-tracing"]
|
||||
authors: ["ocaml-tracing" "ELLIOTTCABLE <opam@ell.io>" "the imandra team"]
|
||||
license: "MIT"
|
||||
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
|
||||
homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
|
||||
depends: [
|
||||
"dune" {>= "3.11"}
|
||||
"ocaml" {>= "4.08"}
|
||||
|
|
@ -38,4 +38,4 @@ build: [
|
|||
"@doc" {with-doc}
|
||||
]
|
||||
]
|
||||
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
|
||||
dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.12"
|
||||
version: "0.90"
|
||||
synopsis: "Collector client for opentelemetry, using ezcurl-lwt"
|
||||
maintainer: ["ocaml-tracing"]
|
||||
authors: ["ocaml-tracing" "ELLIOTTCABLE <opam@ell.io>" "the imandra team"]
|
||||
license: "MIT"
|
||||
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
|
||||
homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
|
||||
depends: [
|
||||
"dune" {>= "3.11"}
|
||||
"ocaml" {>= "4.08"}
|
||||
|
|
@ -38,4 +38,4 @@ build: [
|
|||
"@doc" {with-doc}
|
||||
]
|
||||
]
|
||||
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
|
||||
dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.12"
|
||||
version: "0.90"
|
||||
synopsis: "Collector client for opentelemetry, using http + ezcurl"
|
||||
maintainer: ["ocaml-tracing"]
|
||||
authors: ["ocaml-tracing" "ELLIOTTCABLE <opam@ell.io>" "the imandra team"]
|
||||
license: "MIT"
|
||||
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
|
||||
homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
|
||||
depends: [
|
||||
"dune" {>= "3.11"}
|
||||
"ocaml" {>= "4.08"}
|
||||
|
|
@ -35,4 +35,4 @@ build: [
|
|||
"@doc" {with-doc}
|
||||
]
|
||||
]
|
||||
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
|
||||
dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.12"
|
||||
version: "0.90"
|
||||
synopsis: "Client SDK for https://opentelemetry.io"
|
||||
maintainer: ["ocaml-tracing"]
|
||||
authors: ["ocaml-tracing" "ELLIOTTCABLE <opam@ell.io>" "the imandra team"]
|
||||
license: "MIT"
|
||||
tags: ["tracing" "opentelemetry" "sdk"]
|
||||
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
|
||||
homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
|
||||
depends: [
|
||||
"dune" {>= "3.11"}
|
||||
"opentelemetry" {= version}
|
||||
|
|
@ -29,4 +29,4 @@ build: [
|
|||
"@doc" {with-doc}
|
||||
]
|
||||
]
|
||||
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
|
||||
dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.12"
|
||||
version: "0.90"
|
||||
synopsis: "Opentelemetry tracing for Cohttp HTTP servers"
|
||||
maintainer: ["ocaml-tracing"]
|
||||
authors: ["ocaml-tracing" "ELLIOTTCABLE <opam@ell.io>" "the imandra team"]
|
||||
license: "MIT"
|
||||
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
|
||||
homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
|
||||
depends: [
|
||||
"dune" {>= "3.11"}
|
||||
"ocaml" {>= "4.08"}
|
||||
|
|
@ -33,4 +33,4 @@ build: [
|
|||
"@doc" {with-doc}
|
||||
]
|
||||
]
|
||||
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
|
||||
dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.12"
|
||||
version: "0.90"
|
||||
synopsis: "Opentelemetry-based reporter for Logs"
|
||||
maintainer: ["ocaml-tracing"]
|
||||
authors: ["ocaml-tracing" "ELLIOTTCABLE <opam@ell.io>" "the imandra team"]
|
||||
license: "MIT"
|
||||
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
|
||||
homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
|
||||
depends: [
|
||||
"dune" {>= "3.11"}
|
||||
"ocaml" {>= "4.08"}
|
||||
|
|
@ -33,4 +33,4 @@ build: [
|
|||
"@doc" {with-doc}
|
||||
]
|
||||
]
|
||||
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
|
||||
dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.12"
|
||||
version: "0.90"
|
||||
synopsis: "Lwt-compatible instrumentation for https://opentelemetry.io"
|
||||
maintainer: ["ocaml-tracing"]
|
||||
authors: ["ocaml-tracing" "ELLIOTTCABLE <opam@ell.io>" "the imandra team"]
|
||||
license: "MIT"
|
||||
tags: ["instrumentation" "tracing" "opentelemetry" "datadog" "lwt"]
|
||||
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
|
||||
homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
|
||||
depends: [
|
||||
"dune" {>= "3.11"}
|
||||
"ocaml" {>= "4.08"}
|
||||
|
|
@ -33,4 +33,4 @@ build: [
|
|||
"@doc" {with-doc}
|
||||
]
|
||||
]
|
||||
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
|
||||
dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.12"
|
||||
version: "0.90"
|
||||
synopsis:
|
||||
"Core library for instrumentation and serialization for https://opentelemetry.io"
|
||||
maintainer: ["ocaml-tracing"]
|
||||
authors: ["ocaml-tracing" "ELLIOTTCABLE <opam@ell.io>" "the imandra team"]
|
||||
license: "MIT"
|
||||
tags: ["instrumentation" "tracing" "opentelemetry" "datadog" "jaeger"]
|
||||
homepage: "https://github.com/imandra-ai/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/imandra-ai/ocaml-opentelemetry/issues"
|
||||
homepage: "https://github.com/ocaml-tracing/ocaml-opentelemetry"
|
||||
bug-reports: "https://github.com/ocaml-tracing/ocaml-opentelemetry/issues"
|
||||
depends: [
|
||||
"dune" {>= "3.11"}
|
||||
"ocaml" {>= "4.08"}
|
||||
|
|
@ -42,4 +42,4 @@ build: [
|
|||
"@doc" {with-doc}
|
||||
]
|
||||
]
|
||||
dev-repo: "git+https://github.com/imandra-ai/ocaml-opentelemetry.git"
|
||||
dev-repo: "git+https://github.com/ocaml-tracing/ocaml-opentelemetry.git"
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ val setup : ?config:Config.t -> ?enable:bool -> unit -> unit
|
|||
|
||||
val remove_backend : unit -> unit Lwt.t
|
||||
(** Shutdown current backend
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.90 *)
|
||||
|
||||
val with_setup :
|
||||
?after_shutdown:(Opentelemetry.Exporter.t -> unit) ->
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ val consumer :
|
|||
(** Consumer that pulls from a queue *)
|
||||
|
||||
val create_exporter : ?config:Config.t -> unit -> Opentelemetry.Exporter.t
|
||||
(** @since NEXT_RELEASE *)
|
||||
(** @since 0.90 *)
|
||||
|
||||
val create_backend : ?config:Config.t -> unit -> Opentelemetry.Exporter.t
|
||||
[@@deprecated "use create_exporter"]
|
||||
|
|
@ -26,7 +26,7 @@ val setup : ?config:Config.t -> ?enable:bool -> unit -> unit
|
|||
after a little while. *)
|
||||
|
||||
val remove_exporter : unit -> unit
|
||||
(** @since NEXT_RELEASE *)
|
||||
(** @since 0.90 *)
|
||||
|
||||
val remove_backend : unit -> unit
|
||||
[@@deprecated "use remove_exporter"]
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
than [add_batching (limit_interval ~min_interval e)], because in the later
|
||||
case we might be dismissing a whole large batch at ine
|
||||
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.90 *)
|
||||
|
||||
open Common_.OTEL
|
||||
|
||||
|
|
|
|||
|
|
@ -75,12 +75,12 @@ type t = {
|
|||
self_metrics: bool;
|
||||
(** If true, the OTEL library will regularly emit metrics about itself.
|
||||
Default [false].
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.90 *)
|
||||
http_concurrency_level: int option;
|
||||
(** How many HTTP requests can be done simultaneously (at most)? This can
|
||||
be used to represent the size of a pool of workers where each worker
|
||||
gets a batch to send, send it, and repeats.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.90 *)
|
||||
retry_max_attempts: int;
|
||||
(** Maximum number of retry attempts for failed exports. 0 means no retry,
|
||||
1 means one retry after initial failure. Default 3. *)
|
||||
|
|
|
|||
|
|
@ -128,4 +128,4 @@ val default_kind : Span_kind.t ref
|
|||
|
||||
val k_ambient : t Context.key
|
||||
(** Context key to carry around a {!Span.t} in ambient context.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.90 *)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
generally very fast (amortized), in most cases; the slow path is only when
|
||||
the batch needs to be emitted.
|
||||
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.90 *)
|
||||
|
||||
open Opentelemetry_emitter
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ let service_instance_id = ref None
|
|||
@since 0.12 *)
|
||||
let service_version = ref None
|
||||
|
||||
(** @since NEXT_RELEASE *)
|
||||
(** @since 0.90 *)
|
||||
let sdk_version : string = Version.version
|
||||
|
||||
let instrumentation_library =
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ module Core = Opentelemetry_core
|
|||
|
||||
module Interval_limiter = Interval_limiter
|
||||
(** Utility to limit the frequency of some event
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.90 *)
|
||||
|
||||
(** {2 Wire format} *)
|
||||
|
||||
|
|
@ -27,15 +27,15 @@ module Exporter = struct
|
|||
include Exporter
|
||||
|
||||
(** Get a tracer from this exporter.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.90 *)
|
||||
let get_tracer (self : t) : Tracer.t = Tracer.of_exporter self
|
||||
|
||||
(** Get a meter from this exporter.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.90 *)
|
||||
let get_meter (self : t) : Meter.t = Meter.of_exporter self
|
||||
|
||||
(** Get a logger from this exporter.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.90 *)
|
||||
let get_logger (self : t) : Logger.t = Logger.of_exporter self
|
||||
end
|
||||
|
||||
|
|
@ -43,17 +43,17 @@ module Sdk = struct
|
|||
include Sdk
|
||||
|
||||
(** Get a tracer forwarding to the current main exporter.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.90 *)
|
||||
let get_tracer ?name ?version ?attrs ?__MODULE__ () =
|
||||
Trace_provider.get_tracer ?name ?version ?attrs ?__MODULE__ ()
|
||||
|
||||
(** Get a meter forwarding to the current main exporter.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.90 *)
|
||||
let get_meter ?name ?version ?attrs ?__MODULE__ () =
|
||||
Meter_provider.get_meter ?name ?version ?attrs ?__MODULE__ ()
|
||||
|
||||
(** Get a logger forwarding to the current main exporter.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.90 *)
|
||||
let get_logger ?name ?version ?attrs ?__MODULE__ () =
|
||||
Log_provider.get_logger ?name ?version ?attrs ?__MODULE__ ()
|
||||
|
||||
|
|
@ -165,7 +165,7 @@ module Trace_context = Trace_context
|
|||
module Gc_metrics = Gc_metrics
|
||||
|
||||
module Aswitch = Aswitch
|
||||
(** @since NEXT_RELEASE *)
|
||||
(** @since 0.90 *)
|
||||
|
||||
module Alist = Alist
|
||||
(** Atomic list, for internal usage
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
Self_debug.log Info (fun () -> Printf.sprintf "batch flushed %d items" n)
|
||||
]}.
|
||||
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.90 *)
|
||||
|
||||
type level =
|
||||
| Debug
|
||||
|
|
|
|||
|
|
@ -72,13 +72,13 @@ val link_spans : Otrace.span -> Otrace.span -> unit
|
|||
val link_span_to_otel_ctx : Otrace.span -> OTEL.Span_ctx.t -> unit
|
||||
(** [link_spans sp1 sp_ctx2] modifies [sp1] by adding a span link to [sp_ctx2].
|
||||
It must be the case that [sp1] is a currently active span.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.90 *)
|
||||
|
||||
val set_span_kind : Otrace.span -> OTEL.Span.kind -> unit
|
||||
(** [set_span_kind sp k] sets the span's kind. *)
|
||||
|
||||
val set_span_status : Otrace.span -> OTEL.Span_status.t -> unit
|
||||
(** @since NEXT_RELEASE *)
|
||||
(** @since 0.90 *)
|
||||
|
||||
val record_exception : Otrace.span -> exn -> Printexc.raw_backtrace -> unit
|
||||
(** Record exception in the current span. *)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue