Couchbase C++ SDK 1.0.2 (rev. 51f4775)
|
#include <couchbase/tracing/otel_tracer.hxx>
Public Member Functions | |
otel_request_tracer (nostd::shared_ptr< opentelemetry::trace::Tracer > tracer) | |
auto | start_span (std::string name, std::shared_ptr< couchbase::tracing::request_span > parent={}) -> std::shared_ptr< couchbase::tracing::request_span > override |
auto | wrap_span (nostd::shared_ptr< opentelemetry::trace::Span > span) -> std::shared_ptr< couchbase::tracing::otel_request_span > |
Public Member Functions inherited from request_tracer | |
request_tracer ()=default | |
request_tracer (const request_tracer &other)=default | |
request_tracer (request_tracer &&other)=default | |
auto | operator= (const request_tracer &other) -> request_tracer &=default |
auto | operator= (request_tracer &&other) -> request_tracer &=default |
virtual | ~request_tracer ()=default |
virtual void | start () |
SDK invokes this method when cluster is ready to trace. | |
virtual void | stop () |
SDK invokes this method when cluster is closed. | |
virtual auto | start_span (std::string name, std::shared_ptr< request_span > parent={}) -> std::shared_ptr< request_span >=0 |
|
inline |
|
inlineoverride |
|
inline |