SpanStatusType:
    | "ok"
    | "deadline_exceeded"
    | "unauthenticated"
    | "permission_denied"
    | "not_found"
    | "resource_exhausted"
    | "invalid_argument"
    | "unimplemented"
    | "unavailable"
    | "internal_error"
    | "unknown_error"
    | "cancelled"
    | "already_exists"
    | "failed_precondition"
    | "aborted"
    | "out_of_range"
    | "data_loss"

Type declaration

  • "ok"

    The operation completed successfully.

  • "deadline_exceeded"

    Deadline expired before operation could complete.

  • "unauthenticated"

    401 Unauthorized (actually does mean unauthenticated according to RFC 7235)

  • "permission_denied"

    403 Forbidden

  • "not_found"

    404 Not Found. Some requested entity (file or directory) was not found.

  • "resource_exhausted"

    429 Too Many Requests

  • "invalid_argument"

    Client specified an invalid argument. 4xx.

  • "unimplemented"

    501 Not Implemented

  • "unavailable"

    503 Service Unavailable

  • "internal_error"

    Other/generic 5xx.

  • "unknown_error"

    Unknown. Any non-standard HTTP status code.

  • "cancelled"

    The operation was cancelled (typically by the user).

  • "already_exists"

    Already exists (409)

  • "failed_precondition"

    Operation was rejected because the system is not in a state required for the operation's

  • "aborted"

    The operation was aborted, typically due to a concurrency issue.

  • "out_of_range"

    Operation was attempted past the valid range.

  • "data_loss"

    Unrecoverable data loss or corruption