]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentracing-cpp/include/opentracing/noop.h
import quincy beta 17.1.0
[ceph.git] / ceph / src / jaegertracing / opentracing-cpp / include / opentracing / noop.h
diff --git a/ceph/src/jaegertracing/opentracing-cpp/include/opentracing/noop.h b/ceph/src/jaegertracing/opentracing-cpp/include/opentracing/noop.h
deleted file mode 100644 (file)
index 5313489..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef OPENTRACING_NOOP_H
-#define OPENTRACING_NOOP_H
-
-#include <opentracing/symbols.h>
-#include <opentracing/tracer.h>
-#include <opentracing/version.h>
-#include <memory>
-
-namespace opentracing {
-BEGIN_OPENTRACING_ABI_NAMESPACE
-// A NoopTracer is a trivial, minimum overhead implementation of Tracer
-// for which all operations are no-ops.
-//
-// The primary use of this implementation is in libraries, such as RPC
-// frameworks, that make tracing an optional feature controlled by the
-// end user. A no-op implementation allows said libraries to use it
-// as the default Tracer and to write instrumentation that does
-// not need to keep checking if the tracer instance is nil.
-//
-// For the same reason, the NoopTracer is the default "global" tracer
-// (see Tracer::Global and Tracer::InitGlobal functions).
-//
-// WARNING: NoopTracer does not support baggage propagation.
-OPENTRACING_API std::shared_ptr<Tracer> MakeNoopTracer() noexcept;
-END_OPENTRACING_ABI_NAMESPACE
-}  // namespace opentracing
-
-#endif  // OPENTRACING_NOOP_H