mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-10-19 13:49:53 +00:00
47b202554e
This commit adds the Azure SDK for Azure key vault KMS integration to the Ceph CSI driver. Signed-off-by: Praveen M <m.praveen@ibm.com>
42 lines
1.2 KiB
Go
42 lines
1.2 KiB
Go
//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
|
|
)
|