blob: f6e8d090b55a93f2a9ed4494766f6104b7bdc747 (
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
|
#pragma once
#include <yt/yt/core/misc/public.h>
#include <library/cpp/yt/misc/guid.h>
namespace NYT::NTracing {
////////////////////////////////////////////////////////////////////////////////
namespace NProto {
class TTracingExt;
} // namespace NProto
DECLARE_REFCOUNTED_CLASS(TTraceContext)
DECLARE_REFCOUNTED_CLASS(TTracingConfig)
DECLARE_REFCOUNTED_CLASS(TAllocationTags)
using TTraceId = TGuid;
constexpr TTraceId InvalidTraceId = {};
using TSpanId = ui64;
constexpr TSpanId InvalidSpanId = 0;
// Request ids come from RPC infrastructure but
// we should avoid include-dependencies here.
using TRequestId = TGuid;
constexpr TRequestId InvalidRequestId = {};
////////////////////////////////////////////////////////////////////////////////
} // namespace NYT::NTracing
|