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 is 3.15.0, and the page contains documentation for multiple versions, ranging down to version 2.3.0."],["The primary focus of the content is the `SpanContext` class within the `Google.Cloud.Monitoring.V3` namespace, providing reference documentation and code samples."],["The `SpanContext` class represents the context of a span, and is used in conjunction with `Exemplar` and `Distribution` during data aggregation, having an ID format of projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]."],["`SpanContext` inherits from the `object` class and implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `SpanContext` class includes a `SpanName` property, which is a string representing the resource name of the span, including trace and span identifiers."]]],[]]