All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.smithy.kotlin.runtime.telemetry.trace.SpanKind.kt Maven / Gradle / Ivy

There is a newer version: 1.3.23
Show newest version
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */

package aws.smithy.kotlin.runtime.telemetry.trace

/**
 * Indicates whether a span is a remote child or parent from the point of view of the instrumented
 * code.
 */
public enum class SpanKind {
    /**
     * (Default) A span that represents an internal operation within an application
     */
    INTERNAL,

    /**
     * A span that represents a request to a remote service
     */
    CLIENT,

    /**
     * A span that represents a (synchronous) network request handler.
     */
    SERVER,
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy