File: span_kind.rb

package info (click to toggle)
ruby-aws-sdk-core 3.212.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,232 kB
  • sloc: ruby: 17,533; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 524 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# frozen_string_literal: true

module Aws
  module Telemetry
    module SpanKind
      # Default. Represents an internal operation within an application.
      INTERNAL = :internal

      # Represents handling synchronous network requests.
      SERVER = :server

      # Represents a request to some remote service.
      CLIENT = :client

      # Represents a child of an asynchronous `PRODUCER` request.
      CONSUMER = :consumer

      # Represents an asynchronous request.
      PRODUCER = :producer
    end
  end
end