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

commonMain.aws.smithy.kotlin.runtime.telemetry.trace.SpanStatus.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 the operation/task represented by a span is known to be successful or not.
 */
public enum class SpanStatus {
    /**
     * Default implicit status. Most spans should be unset to let the telemetry
     * processors/samplers decide.
     */
    UNSET,

    /**
     * A span that has been validated as being successful (even in the presence of errors)
     */
    OK,

    /**
     * Indicates the operation the span represents was unsuccessful.
     */
    ERROR,
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy