public sealed class SpanContext : IMessage<SpanContext>, IEquatable<SpanContext>, IDeepCloneable<SpanContext>, IBufferMessage, IMessage
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 `SpanContext` class provides context for spans attached to `Exemplar` in `Distribution` values during aggregation."],["`SpanContext` contains the span name, which follows the format: `projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]`."],["The `SpanContext` class has several implementations such as `IMessage`, `IEquatable`, `IDeepCloneable`, `IBufferMessage`."],["The latest version available is 3.15.0, and the provided content has versions ranging from 2.3.0 up to 3.15.0 of the `Google.Cloud.Monitoring.V3` package."],["The `SpanContext` class contains a property `SpanName` of type string, which is the resource name of the span."]]],[]]