-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathTraceActivityConstants.cs
More file actions
46 lines (38 loc) · 1.52 KB
/
TraceActivityConstants.cs
File metadata and controls
46 lines (38 loc) · 1.52 KB
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
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// Modified from https://github.com/Azure/durabletask/blob/main/src/DurableTask.Core/Tracing/TraceActivityConstants.cs.
namespace Microsoft.DurableTask.Tracing;
/// <summary>
/// Constants for trace activity names used in Durable Task Framework.
/// </summary>
static class TraceActivityConstants
{
/// <summary>
/// The name of the activity that represents orchestration operations.
/// </summary>
public const string Orchestration = "orchestration";
/// <summary>
/// The name of the activity that represents activity operations.
/// </summary>
public const string Activity = "activity";
/// <summary>
/// The name of the activity that represents entity operations.
/// </summary>
public const string Event = "event";
/// <summary>
/// The name of the activity that represents entity operation execution.
/// </summary>
public const string EntityOperation = "entity_operation";
/// <summary>
/// The name of the activity that represents timer operations.
/// </summary>
public const string Timer = "timer";
/// <summary>
/// The name of the activity that represents an operation to create an orchestration.
/// </summary>
public const string CreateOrchestration = "create_orchestration";
/// <summary>
/// The name of the activity that represents an operation to raise an event.
/// </summary>
public const string OrchestrationEvent = "orchestration_event";
}