opentracing-clj

Opentracing API support for Clojure built on top of opentracing-java.


Keywords
clojure, opentracing
License
EPL-1.0

Documentation

opentracing-clj

CircleCI

Opentracing API support for Clojure built on top of opentracing-java.

Usage

Creating Spans

The provided with-span macro allows for creation of spans.

(require '[opentracing-clj.core :as tracing])

(tracing/with-span [s {:name "span-name"
                       :tags {:component "test"
                              :span.kind :server}}]
  ...)

Tracer

The tracer used by opentracing-clj defaults to the value returned by io.opentracing.util.GlobalTracer.get()

License

Copyright © 2018 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.