Sha256: 6f5b57d860aac041cafb0737a0e97cfa619251acd1c5afe7888aded1e3dd1ce9
Contents?: true
Size: 1.21 KB
Versions: 16
Compression:
Stored size: 1.21 KB
Contents
//go:build go1.18 // +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package tracing // SpanKind represents the role of a Span inside a Trace. Often, this defines how a Span will be processed and visualized by various backends. type SpanKind int const ( // SpanKindInternal indicates the span represents an internal operation within an application. SpanKindInternal SpanKind = 1 // SpanKindServer indicates the span covers server-side handling of a request. SpanKindServer SpanKind = 2 // SpanKindClient indicates the span describes a request to a remote service. SpanKindClient SpanKind = 3 // SpanKindProducer indicates the span was created by a messaging producer. SpanKindProducer SpanKind = 4 // SpanKindConsumer indicates the span was created by a messaging consumer. SpanKindConsumer SpanKind = 5 ) // SpanStatus represents the status of a span. type SpanStatus int const ( // SpanStatusUnset is the default status code. SpanStatusUnset SpanStatus = 0 // SpanStatusError indicates the operation contains an error. SpanStatusError SpanStatus = 1 // SpanStatusOK indicates the operation completed successfully. SpanStatusOK SpanStatus = 2 )
Version data entries
16 entries across 16 versions & 1 rubygems