7#include <smithy/Smithy_EXPORTS.h>
8#include <smithy/tracing/TracerProvider.h>
12 namespace components {
22 AWS_UNREFERENCED_PARAM(name);
23 AWS_UNREFERENCED_PARAM(attributes);
27 AWS_UNREFERENCED_PARAM(key);
28 AWS_UNREFERENCED_PARAM(value);
32 AWS_UNREFERENCED_PARAM(status);
35 void end()
override {}
46 AWS_UNREFERENCED_PARAM(attributes);
47 AWS_UNREFERENCED_PARAM(spanKind);
48 return Aws::MakeShared<NoopTracerSpan>(
"NO_OP", name);
61 AWS_UNREFERENCED_PARAM(scope);
62 AWS_UNREFERENCED_PARAM(attributes);
67 std::shared_ptr<NoopTracer> m_tracer;
std::shared_ptr< TraceSpan > CreateSpan(Aws::String name, const Aws::Map< Aws::String, Aws::String > &attributes, SpanKind spanKind) override
NoopTracerProvider(std::shared_ptr< NoopTracer > tracer)
std::shared_ptr< Tracer > GetTracer(Aws::String scope, const Aws::Map< Aws::String, Aws::String > &attributes) override
void setAttribute(Aws::String key, Aws::String value) override
void setStatus(TraceSpanStatus status) override
void emitEvent(Aws::String name, const Aws::Map< Aws::String, Aws::String > &attributes) override
NoopTracerSpan(const Aws::String &name)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String