AWS SDK for C++
AWS SDK for C++ Version 1.11.929
Main Page
Related Pages
Namespaces
Classes
Modules
Loading...
Searching...
No Matches
src
aws-cpp-sdk-core
include
smithy
tracing
Tracer.h
1
5
#pragma once
6
7
#include <smithy/tracing/TraceSpan.h>
8
#include <smithy/Smithy_EXPORTS.h>
9
#include <memory>
10
11
namespace
smithy
{
12
namespace
components {
13
namespace
tracing {
17
enum class
SpanKind
{
18
INTERNAL
,
19
CLIENT
,
20
SERVER
,
21
};
22
27
class
SMITHY_API
Tracer
{
28
public
:
29
virtual
~Tracer
() =
default
;
30
39
virtual
std::shared_ptr<TraceSpan>
CreateSpan
(
Aws::String
name,
40
const
Aws::Map<Aws::String, Aws::String>
&attributes,
41
SpanKind
spanKind) = 0;
42
};
43
}
44
}
45
}
smithy::components::tracing::Tracer
Definition
Tracer.h:27
smithy::components::tracing::Tracer::CreateSpan
virtual std::shared_ptr< TraceSpan > CreateSpan(Aws::String name, const Aws::Map< Aws::String, Aws::String > &attributes, SpanKind spanKind)=0
smithy::components::tracing::Tracer::~Tracer
virtual ~Tracer()=default
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition
AWSMap.h:20
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition
AWSString.h:97
smithy::components::tracing::SpanKind
SpanKind
Definition
Tracer.h:17
smithy::components::tracing::SpanKind::INTERNAL
@ INTERNAL
smithy::components::tracing::SpanKind::SERVER
@ SERVER
smithy::components::tracing::SpanKind::CLIENT
@ CLIENT
smithy
Definition
AWSAuthV4Signer.h:24
Generated by
1.12.0
Privacy |
Site terms |
Cookie preferences