#include <TraceAdapters.h>
OtelTracerAdapter (opentelemetry::nostd::shared_ptr< opentelemetry::trace::Tracer > tracer)
A Open Telemetry Implementation of Tracer.
Definition at line 49 of file TraceAdapters.h.
◆ OtelTracerAdapter()
smithy::components::tracing::OtelTracerAdapter::OtelTracerAdapter
(
opentelemetry::nostd::shared_ptr< opentelemetry::trace::Tracer >
tracer)
inlineexplicit
◆ CreateSpan()
std::shared_ptr< TraceSpan > smithy::components::tracing::OtelTracerAdapter::CreateSpan
(
Aws::String
name,
)
overridevirtual
Creates a span.
- Parameters
-
| name | Name of the span. |
| attributes | the attributes or dimensions associate with this measurement. |
| spanKind | The kind of the span. |
- Returns
- A instance of a span.
Implements smithy::components::tracing::Tracer.
The documentation for this class was generated from the following file:
- src/aws-cpp-sdk-core/include/smithy/tracing/impl/opentelemetry/TraceAdapters.h