blob: 1afb4c600937955097c9b25d35822656b52d79e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#pragma once
#include <yt/yt/core/misc/public.h>
#include <library/cpp/yt/misc/guid.h>
#include <library/cpp/yt/small_containers/compact_vector.h>
#include <library/cpp/yt/memory/allocation_tags.h>
namespace NYT::NTracing {
////////////////////////////////////////////////////////////////////////////////
namespace NProto {
class TTracingExt;
} // namespace NProto
////////////////////////////////////////////////////////////////////////////////
DECLARE_REFCOUNTED_CLASS(TTraceContext)
DECLARE_REFCOUNTED_CLASS(TTracingTransportConfig)
constexpr int TypicalAllocationTagCount = 8;
using TAllocationTags = TCompactVector<TAllocationTag, TypicalAllocationTagCount>;
DECLARE_REFCOUNTED_CLASS(TAllocationTagList)
using TTraceId = TGuid;
constexpr TTraceId InvalidTraceId = {};
using TSpanId = ui64;
constexpr TSpanId InvalidSpanId = 0;
struct TTracingAttributes;
// Request ids come from RPC infrastructure but
// we should avoid include-dependencies here.
using TRequestId = TGuid;
constexpr TRequestId InvalidRequestId = {};
////////////////////////////////////////////////////////////////////////////////
} // namespace NYT::NTracing
|