diff --git a/src/core/collector.ml b/src/core/collector.ml index f4a9975..23cdcd2 100644 --- a/src/core/collector.ml +++ b/src/core/collector.ml @@ -82,7 +82,7 @@ end This is only relevant to implementors of tracing backends; to instrument your code you only need to look at the {!Trace} module. - The definition changed since NEXT_RELEASE to a record of callbacks + a state + The definition changed since 0.11 to a record of callbacks + a state *) type t = | C_none (** No collector. *) diff --git a/src/core/core_ext.ml b/src/core/core_ext.ml index 7491b7a..8a7247a 100644 --- a/src/core/core_ext.ml +++ b/src/core/core_ext.ml @@ -1,6 +1,6 @@ (** A few core extensions. - @since NEXT_RELEASE *) + @since 0.11 *) open Types diff --git a/src/core/trace_core.mli b/src/core/trace_core.mli index 4588b6d..59a6c92 100644 --- a/src/core/trace_core.mli +++ b/src/core/trace_core.mli @@ -54,10 +54,10 @@ val with_span : @param level optional level for this span. since 0.7. Default is set via {!set_default_level}. - @param parent the span's parent, if any. since NEXT_RELEASE. + @param parent the span's parent, if any. since 0.11. @param params extension parameters, used to communicate additional information to the - collector. It might be collector-specific. since NEXT_RELEASE. + collector. It might be collector-specific. since 0.11. Depending on the collector, this might clash with some forms of cooperative concurrency in which [with_span (fun span -> …)] might contain a yield @@ -83,7 +83,7 @@ val enter_span : @param level optional level for this span. since 0.7. Default is set via {!set_default_level}. - @param parent the span's parent, if any. since NEXT_RELEASE. + @param parent the span's parent, if any. since 0.11. @param params see {!with_span}. *) val exit_span : span -> unit @@ -114,7 +114,7 @@ val message : the surrounding span, if any. This might be ignored by the collector. @param params extension parameters, used to communicate additional information to the - collector. It might be collector-specific. since NEXT_RELEASE. *) + collector. It might be collector-specific. since 0.11. *) val messagef : ?level:Level.t -> @@ -133,13 +133,13 @@ val set_thread_name : string -> unit (** Give a name to the current thread. This might be used by the collector to display traces in a more informative way. - Uses {!Core_ext.Extension_set_thread_name} since NEXT_RELEASE *) + Uses {!Core_ext.Extension_set_thread_name} since 0.11 *) val set_process_name : string -> unit (** Give a name to the current process. This might be used by the collector to display traces in a more informative way. - Uses {!Core_ext.Extension_set_process_name} since NEXT_RELEASE *) + Uses {!Core_ext.Extension_set_process_name} since 0.11 *) val metric : ?level:Level.t -> @@ -150,7 +150,7 @@ val metric : unit (** Emit a metric. Metrics are an extensible type, each collector might support a different subset. - @since NEXT_RELEASE *) + @since 0.11 *) val counter_int : ?level:Level.t -> @@ -206,7 +206,7 @@ val shutdown : unit -> unit val with_setup_collector : Collector.t -> (unit -> 'a) -> 'a (** [with_setup_collector c f] installs [c], calls [f()], and shutdowns [c] once [f()] is done. - @since NEXT_RELEASE *) + @since 0.11 *) (** {2 Extensions} *) @@ -218,7 +218,7 @@ val extension_event : ?level:Level.t -> extension_event -> unit (** Trigger an extension event, whose meaning depends on the library that defines it. Some collectors will simply ignore it. This does nothing if no collector is setup. - @param level filtering level, since NEXT_RELEASE + @param level filtering level, since 0.11 @since 0.8 *) (** {2 Core extensions} *) diff --git a/src/core/types.ml b/src/core/types.ml index c5ded9c..87dd6b4 100644 --- a/src/core/types.ml +++ b/src/core/types.ml @@ -4,7 +4,7 @@ type span = .. (** A span. Its representation is defined by the current collector. *) (** Information about a span's parent span, if any. - @since NEXT_RELEASE *) + @since 0.11 *) type parent = | P_unknown (** Parent is not specified at this point *) | P_none (** We know the current span has no parent *) @@ -32,8 +32,8 @@ type extension_event = .. type extension_parameter = .. (** An extension parameter, used to carry information for spans/messages/metrics that can be backend-specific or just not envisioned by [trace]. - @since NEXT_RELEASE *) + @since 0.11 *) type metric = .. (** A metric, can be of many types. See {!Core_ext} for some builtin metrics. - @since NEXT_RELEASE *) + @since 0.11 *) diff --git a/src/simple/simple_span.ml b/src/simple/simple_span.ml index 7e0f233..38ac054 100644 --- a/src/simple/simple_span.ml +++ b/src/simple/simple_span.ml @@ -2,7 +2,7 @@ This is a concrete representation of spans that is convenient to manipulate. - @since NEXT_RELEASE *) + @since 0.11 *) open Trace_core