-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathSchema.cs
More file actions
69 lines (58 loc) · 2.4 KB
/
Copy pathSchema.cs
File metadata and controls
69 lines (58 loc) · 2.4 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.DurableTask.Tracing;
/// <summary>
/// Schema for tracing events related to Durable Task operations.
/// </summary>
/// <remarks>
/// Adapted from "https://github.com/Azure/durabletask/blob/main/src/DurableTask.Core/Tracing/Schema.cs".
/// </remarks>
static class Schema
{
/// <summary>
/// Tags for tracing events related to orchestrations.
/// </summary>
public static class Task
{
/// <summary>
/// The type of activity being executed, such as "orchestration", "activity", or "event".
/// </summary>
public const string Type = "durabletask.type";
/// <summary>
/// The name of the orchestration, activity, or event associated with the tracing event.
/// </summary>
public const string Name = "durabletask.task.name";
/// <summary>
/// The version of the orchestration or activity being executed.
/// </summary>
public const string Version = "durabletask.task.version";
/// <summary>
/// The ID of the orchestration instance associated with the tracing event.
/// </summary>
public const string InstanceId = "durabletask.task.instance_id";
/// <summary>
/// The execution ID of the orchestration instance associated with the tracing event.
/// </summary>
public const string ExecutionId = "durabletask.task.execution_id";
/// <summary>
/// The runtime status of the completed orchestration associated with the trace event.
/// </summary>
public const string Status = "durabletask.task.status";
/// <summary>
/// The event ID of the task being executed.
/// </summary>
public const string TaskId = "durabletask.task.task_id";
/// <summary>
/// The ID of the orchestration instance for which the event will be raised.
/// </summary>
public const string EventTargetInstanceId = "durabletask.event.target_instance_id";
/// <summary>
/// The time at which the timer is scheduled to fire.
/// </summary>
public const string FireAt = "durabletask.fire_at";
/// <summary>
/// The name of the entity operation being executed.
/// </summary>
public const string EntityOperationName = "durabletask.entity.operation";
}
}