File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
src/Cli/Microsoft.DotNet.Cli.Utils Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 6
6
namespace Microsoft . DotNet . Cli . Utils ;
7
7
8
8
/// <summary>
9
- /// Contains helpers for working with <see cref="System.Diagnostics. Activity">Activities</see> in the .NET CLI.
9
+ /// Contains helpers for working with <see cref="Activity">Activities</see> in the .NET CLI.
10
10
/// </summary>
11
11
public static class Activities
12
12
{
13
-
14
13
/// <summary>
15
14
/// The main entrypoint for creating <see cref="Activity">Activities</see> in the .NET CLI.
16
15
/// All activities created in the CLI should use this <see cref="ActivitySource"/>, to allow
17
16
/// consumers to easily filter and trace CLI activities.
18
17
/// </summary>
19
18
public static ActivitySource Source { get ; } = new ( "dotnet-cli" , Product . Version ) ;
19
+
20
+ /// <summary>
21
+ /// The environment variable used to transfer the chain of parent activity IDs.
22
+ /// This should be used when constructing new sub-processes in order to
23
+ /// track spans across calls.
24
+ /// </summary>
25
+ public const string TRACEPARENT = nameof ( TRACEPARENT ) ;
26
+ /// <summary>
27
+ /// The environment variable used to transfer the trace state of the parent activities.
28
+ /// This should be used when constructing new sub-processes in order to
29
+ /// track spans across calls.
30
+ /// </summary>
31
+ public const string TRACESTATE = nameof ( TRACESTATE ) ;
20
32
}
You can’t perform that action at this time.
0 commit comments