1
#pragma once
2

            
3
#include <string>
4

            
5
#include "source/common/singleton/const_singleton.h"
6

            
7
namespace Envoy {
8
namespace Extensions {
9
namespace Tracers {
10
namespace Zipkin {
11

            
12
namespace {
13

            
14
constexpr char SPAN_ID[] = "id";
15
constexpr char SPAN_KIND[] = "kind";
16
constexpr char SPAN_NAME[] = "name";
17
constexpr char SPAN_TAGS[] = "tags";
18
constexpr char SPAN_SHARED[] = "shared";
19
constexpr char SPAN_TRACE_ID[] = "traceId";
20
constexpr char SPAN_DURATION[] = "duration";
21
constexpr char SPAN_PARENT_ID[] = "parentId";
22
constexpr char SPAN_TIMESTAMP[] = "timestamp";
23
constexpr char SPAN_ANNOTATIONS[] = "annotations";
24
constexpr char SPAN_LOCAL_ENDPOINT[] = "localEndpoint";
25
constexpr char SPAN_BINARY_ANNOTATIONS[] = "binaryAnnotations";
26

            
27
constexpr char ANNOTATIONS[] = "annotations";
28
constexpr char ANNOTATION_VALUE[] = "value";
29
constexpr char ANNOTATION_ENDPOINT[] = "endpoint";
30
constexpr char ANNOTATION_TIMESTAMP[] = "timestamp";
31

            
32
constexpr char BINARY_ANNOTATION_KEY[] = "key";
33
constexpr char BINARY_ANNOTATION_VALUE[] = "value";
34
constexpr char BINARY_ANNOTATION_ENDPOINT[] = "endpoint";
35

            
36
constexpr char ENDPOINT_PORT[] = "port";
37
constexpr char ENDPOINT_IPV4[] = "ipv4";
38
constexpr char ENDPOINT_IPV6[] = "ipv6";
39
constexpr char ENDPOINT_SERVICE_NAME[] = "serviceName";
40

            
41
} // namespace
42

            
43
} // namespace Zipkin
44
} // namespace Tracers
45
} // namespace Extensions
46
} // namespace Envoy