mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-24 03:00:39 +08:00
27 lines
928 B
TypeScript
27 lines
928 B
TypeScript
export declare enum SpanKind {
|
|
/** Default value. Indicates that the span is used internally. */
|
|
INTERNAL = 0,
|
|
/**
|
|
* Indicates that the span covers server-side handling of an RPC or other
|
|
* remote request.
|
|
*/
|
|
SERVER = 1,
|
|
/**
|
|
* Indicates that the span covers the client-side wrapper around an RPC or
|
|
* other remote request.
|
|
*/
|
|
CLIENT = 2,
|
|
/**
|
|
* Indicates that the span describes producer sending a message to a
|
|
* broker. Unlike client and server, there is no direct critical path latency
|
|
* relationship between producer and consumer spans.
|
|
*/
|
|
PRODUCER = 3,
|
|
/**
|
|
* Indicates that the span describes consumer receiving a message from a
|
|
* broker. Unlike client and server, there is no direct critical path latency
|
|
* relationship between producer and consumer spans.
|
|
*/
|
|
CONSUMER = 4
|
|
}
|
|
//# sourceMappingURL=span_kind.d.ts.map
|