public sealed class SpanContext : IMessage<SpanContext>, IEquatable<SpanContext>, IDeepCloneable<SpanContext>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Monitoring v3 API class SpanContext.
The context of a span. This is attached to an
[Exemplar][google.api.Distribution.Exemplar]
in [Distribution][google.api.Distribution] values during aggregation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["The latest version available for the Google Cloud Monitoring v3 API class SpanContext is version 3.15.0, with multiple prior versions also accessible."],["SpanContext is a class that represents the context of a span, used in conjunction with Exemplar in Distribution values during aggregation."],["The SpanContext class is implemented with several interfaces, including IMessage, IEquatable, IDeepCloneable, and IBufferMessage."],["It is accessible in the Google.Cloud.Monitoring.V3 namespace within the Google.Cloud.Monitoring.V3.dll assembly."],["The `SpanName` property within SpanContext holds the resource name of a span, with a specified format that includes project ID or number, trace ID, and span ID."]]],[]]