mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-07 18:37:56 -05:00
prepare for 0.7
This commit is contained in:
parent
8aaca71875
commit
5a78805add
10 changed files with 29 additions and 11 deletions
14
CHANGES.md
14
CHANGES.md
|
|
@ -1,4 +1,16 @@
|
|||
## next version
|
||||
## 0.7
|
||||
|
||||
- add Span_link.of_span_ctx, Scope.to_span_ctx, dummy values
|
||||
- feat: add Span_context, as required by OTEL API guidelines
|
||||
- feat: record backtraces in error spans
|
||||
- compat with trace 0.6
|
||||
- ocurl: add ticker_interval_ms config
|
||||
- ocurl: do some self-tracing optionally
|
||||
- move protobuf code to opentelemetry.proto
|
||||
|
||||
- perf: rewrite parsing+printing for span ctx as w3c trace ctx
|
||||
- perf: when we get multiple messages, check batches only once
|
||||
- perf: use ocaml-protoc 3.0.1 for codegen, with faster pbrt
|
||||
|
||||
## 0.6
|
||||
|
||||
|
|
|
|||
6
Makefile
6
Makefile
|
|
@ -19,3 +19,9 @@ format:
|
|||
WATCH ?= @all
|
||||
watch:
|
||||
@dune build $(WATCH) -w $(OPTS)
|
||||
|
||||
VERSION=$(shell awk '/^version:/ {print $$2}' opentelemetry.opam)
|
||||
update_next_tag:
|
||||
@echo "update version to $(VERSION)..."
|
||||
sed -i "s/NEXT_VERSION/$(VERSION)/g" $(wildcard src/**/*.ml) $(wildcard src/**/*.mli)
|
||||
sed -i "s/NEXT_RELEASE/$(VERSION)/g" $(wildcard src/*.ml) $(wildcard src/**/*.ml) $(wildcard src/*.mli) $(wildcard src/**/*.mli)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
(source
|
||||
(github imandra-ai/ocaml-opentelemetry))
|
||||
|
||||
(version 0.6)
|
||||
(version 0.7)
|
||||
|
||||
(authors "the Imandra team and contributors")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.6"
|
||||
version: "0.7"
|
||||
synopsis: "Collector client for opentelemetry, using cohttp + lwt"
|
||||
maintainer: [
|
||||
"Simon Cruanes <simon.cruanes.2007@m4x.org>"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.6"
|
||||
version: "0.7"
|
||||
synopsis: "Collector client for opentelemetry, using http + ezcurl"
|
||||
maintainer: [
|
||||
"Simon Cruanes <simon.cruanes.2007@m4x.org>"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.6"
|
||||
version: "0.7"
|
||||
synopsis: "Opentelemetry tracing for Cohttp HTTP servers"
|
||||
maintainer: [
|
||||
"Simon Cruanes <simon.cruanes.2007@m4x.org>"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.6"
|
||||
version: "0.7"
|
||||
synopsis: "Lwt-compatible instrumentation for https://opentelemetry.io"
|
||||
maintainer: [
|
||||
"Simon Cruanes <simon.cruanes.2007@m4x.org>"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.6"
|
||||
version: "0.7"
|
||||
synopsis: "Instrumentation for https://opentelemetry.io"
|
||||
maintainer: [
|
||||
"Simon Cruanes <simon.cruanes.2007@m4x.org>"
|
||||
|
|
|
|||
|
|
@ -26,10 +26,10 @@ type t = private {
|
|||
This will be clamped between [2 ms] and some longer
|
||||
interval (maximum [60s] currently).
|
||||
Default 500.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.7 *)
|
||||
self_trace: bool;
|
||||
(** If true, the OTEL library will also emit its own spans. Default [false].
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.7 *)
|
||||
}
|
||||
(** Configuration.
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ module Rand_bytes = Rand_bytes
|
|||
|
||||
module AList = AList
|
||||
(** Atomic list, for internal usage
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.7 *)
|
||||
|
||||
(** {2 Wire format} *)
|
||||
|
||||
|
|
@ -386,7 +386,7 @@ end
|
|||
(** Span context. This bundles up a trace ID and parent ID.
|
||||
|
||||
https://opentelemetry.io/docs/specs/otel/trace/api/#spancontext
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.7 *)
|
||||
module Span_ctx : sig
|
||||
type t
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue