mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-07 18:37:56 -05:00
Merge pull request #110 from tatchi/since-012
add correct release version in comment
This commit is contained in:
commit
883d1bc4e5
5 changed files with 9 additions and 9 deletions
|
|
@ -18,7 +18,7 @@ val create_backend :
|
||||||
(module Opentelemetry.Collector.BACKEND)
|
(module Opentelemetry.Collector.BACKEND)
|
||||||
(** Create a new backend using Cohttp_eio
|
(** Create a new backend using Cohttp_eio
|
||||||
|
|
||||||
NOTE [after_cleanup] optional parameter removed since NEXT_RELEASE *)
|
NOTE [after_cleanup] optional parameter removed @since 0.12 *)
|
||||||
|
|
||||||
val setup :
|
val setup :
|
||||||
?stop:bool Atomic.t ->
|
?stop:bool Atomic.t ->
|
||||||
|
|
@ -38,7 +38,7 @@ val setup :
|
||||||
|
|
||||||
val remove_backend : unit -> unit
|
val remove_backend : unit -> unit
|
||||||
(** Shutdown current backend
|
(** Shutdown current backend
|
||||||
@since NEXT_RELEASE *)
|
@since 0.12 *)
|
||||||
|
|
||||||
val with_setup :
|
val with_setup :
|
||||||
?stop:bool Atomic.t ->
|
?stop:bool Atomic.t ->
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ val create_backend :
|
||||||
(module Opentelemetry.Collector.BACKEND)
|
(module Opentelemetry.Collector.BACKEND)
|
||||||
(** Create a new backend using lwt and cohttp
|
(** Create a new backend using lwt and cohttp
|
||||||
|
|
||||||
NOTE [after_cleanup] optional parameter removed since NEXT_RELEASE *)
|
NOTE [after_cleanup] optional parameter removed @since 0.12 *)
|
||||||
|
|
||||||
val setup :
|
val setup :
|
||||||
?stop:bool Atomic.t -> ?config:Config.t -> ?enable:bool -> unit -> unit
|
?stop:bool Atomic.t -> ?config:Config.t -> ?enable:bool -> unit -> unit
|
||||||
|
|
@ -34,7 +34,7 @@ val setup :
|
||||||
|
|
||||||
val remove_backend : unit -> unit Lwt.t
|
val remove_backend : unit -> unit Lwt.t
|
||||||
(** Shutdown current backend
|
(** Shutdown current backend
|
||||||
@since NEXT_RELEASE *)
|
@since 0.12 *)
|
||||||
|
|
||||||
val with_setup :
|
val with_setup :
|
||||||
?stop:bool Atomic.t ->
|
?stop:bool Atomic.t ->
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ type t = {
|
||||||
@since 0.7 *)
|
@since 0.7 *)
|
||||||
common: Opentelemetry_client.Config.t;
|
common: Opentelemetry_client.Config.t;
|
||||||
(** Common configuration options
|
(** Common configuration options
|
||||||
@since NEXT_RELEASE*)
|
@since 0.12*)
|
||||||
}
|
}
|
||||||
(** Configuration.
|
(** Configuration.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ val setup :
|
||||||
after a little while. *)
|
after a little while. *)
|
||||||
|
|
||||||
val remove_backend : unit -> unit
|
val remove_backend : unit -> unit
|
||||||
(** @since NEXT_RELEASE *)
|
(** @since 0.12 *)
|
||||||
|
|
||||||
val with_setup :
|
val with_setup :
|
||||||
?stop:bool Atomic.t ->
|
?stop:bool Atomic.t ->
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ module Collector = struct
|
||||||
(** [cleanup ~on_done ()] is called when the collector is shut down, and is
|
(** [cleanup ~on_done ()] is called when the collector is shut down, and is
|
||||||
responsible for sending remaining batches, flushing sockets, etc.
|
responsible for sending remaining batches, flushing sockets, etc.
|
||||||
@param on_done
|
@param on_done
|
||||||
callback invoked after the cleanup is done. since NEXT_RELEASE *)
|
callback invoked after the cleanup is done. @since 0.12 *)
|
||||||
end
|
end
|
||||||
|
|
||||||
type backend = (module BACKEND)
|
type backend = (module BACKEND)
|
||||||
|
|
@ -178,7 +178,7 @@ module Collector = struct
|
||||||
|
|
||||||
(** Remove current backend, if any.
|
(** Remove current backend, if any.
|
||||||
@since 0.11
|
@since 0.11
|
||||||
@param on_done see {!BACKEND.cleanup}, since NEXT_RELEASE *)
|
@param on_done see {!BACKEND.cleanup}, @since 0.12 *)
|
||||||
let remove_backend ~on_done () : unit =
|
let remove_backend ~on_done () : unit =
|
||||||
match Atomic.exchange backend None with
|
match Atomic.exchange backend None with
|
||||||
| None -> ()
|
| None -> ()
|
||||||
|
|
@ -688,7 +688,7 @@ module Globals = struct
|
||||||
let service_instance_id = ref None
|
let service_instance_id = ref None
|
||||||
|
|
||||||
(** Version for the service
|
(** Version for the service
|
||||||
@since NEXT_RELEASE *)
|
@since 0.12 *)
|
||||||
let service_version = ref None
|
let service_version = ref None
|
||||||
|
|
||||||
let instrumentation_library =
|
let instrumentation_library =
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue