span_kind.d.ts 928 B

123456789101112131415161718192021222324252627
  1. export declare enum SpanKind {
  2. /** Default value. Indicates that the span is used internally. */
  3. INTERNAL = 0,
  4. /**
  5. * Indicates that the span covers server-side handling of an RPC or other
  6. * remote request.
  7. */
  8. SERVER = 1,
  9. /**
  10. * Indicates that the span covers the client-side wrapper around an RPC or
  11. * other remote request.
  12. */
  13. CLIENT = 2,
  14. /**
  15. * Indicates that the span describes producer sending a message to a
  16. * broker. Unlike client and server, there is no direct critical path latency
  17. * relationship between producer and consumer spans.
  18. */
  19. PRODUCER = 3,
  20. /**
  21. * Indicates that the span describes consumer receiving a message from a
  22. * broker. Unlike client and server, there is no direct critical path latency
  23. * relationship between producer and consumer spans.
  24. */
  25. CONSUMER = 4
  26. }
  27. //# sourceMappingURL=span_kind.d.ts.map