Skip to content

Commit c394df4

Browse files
rkargMsftReubenBond
authored andcommitted
Updating ActivitySource versions to denote changes around IAsyncEnumerable spans.
Runtime (1.0.0 -> 2.0.0) no longer gets the Start/MoveNext/Dispose spans Application (1.0.0 -> 1.1.0) now gets the Start/MoveNext/Dispose spans and these are nested under a new span for the overall grain call being made.
1 parent 1bf1541 commit c394df4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Orleans.Core.Abstractions/Diagnostics/ActivitySources.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ public static class ActivitySources
2525
/// </summary>
2626
public const string AllActivitySourceName = "Microsoft.Orleans.*";
2727

28-
internal static readonly ActivitySource ApplicationGrainSource = new(ApplicationGrainActivitySourceName, "1.0.0");
29-
internal static readonly ActivitySource RuntimeGrainSource = new(RuntimeActivitySourceName, "1.0.0");
28+
internal static readonly ActivitySource ApplicationGrainSource = new(ApplicationGrainActivitySourceName, "1.1.0");
29+
internal static readonly ActivitySource RuntimeGrainSource = new(RuntimeActivitySourceName, "2.0.0");
3030
internal static readonly ActivitySource LifecycleGrainSource = new(LifecycleActivitySourceName, "1.0.0");
3131
internal static readonly ActivitySource StorageGrainSource = new(StorageActivitySourceName, "1.0.0");
3232
}

0 commit comments

Comments
 (0)