-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added Schema and TraceActivityConstants
- Loading branch information
Showing
5 changed files
with
75 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
namespace Microsoft.Azure.WebJobs.Extensions.DurableTask.Correlation | ||
{ | ||
internal static class Schema | ||
{ | ||
internal static class Task | ||
{ | ||
internal const string Type = "durabletask.type"; | ||
internal const string Name = "durabletask.task.name"; | ||
internal const string Version = "durabletask.task.version"; | ||
internal const string InstanceId = "durabletask.task.instance_id"; | ||
internal const string ExecutionId = "durabletask.task.execution_id"; | ||
internal const string Status = "durabletask.task.status"; | ||
internal const string TaskId = "durabletask.task.task_id"; | ||
internal const string EventTargetInstanceId = "durabletask.event.target_instance_id"; | ||
internal const string FireAt = "durabletask.fire_at"; | ||
} | ||
|
||
internal static class Status | ||
{ | ||
internal const string Code = "otel.status_code"; | ||
internal const string Description = "otel.status_description"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/WebJobs.Extensions.DurableTask/Correlation/TraceActivityConstants.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
namespace Microsoft.Azure.WebJobs.Extensions.DurableTask.Correlation | ||
{ | ||
internal class TraceActivityConstants | ||
{ | ||
public const string Client = "client"; | ||
public const string Orchestration = "orchestration"; | ||
public const string Activity = "activity"; | ||
public const string Event = "event"; | ||
public const string Timer = "timer"; | ||
|
||
public const string CreateOrchestration = "create_orchestration"; | ||
public const string OrchestrationEvent = "orchestration_event"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters