Module: Instana::SpanKind
- Included in:
- Span
- Defined in:
- lib/instana/trace/span_kind.rb
Overview
Type of span. Can be used to specify additional relationships between spans in addition to a parent/child relationship. For API ergonomics, use of the symbols rather than the constants may be preferred. For example:
span = tracer.on_start('op', kind: :client)
Constant Summary collapse
- REGISTERED_SPANS =
Instana specific spans
[:actioncontroller, :actionview, :activerecord, :excon, :memcache, :'net-http', :rack, :render, :'rpc-client', :'rpc-server', :'sidekiq-client', :'sidekiq-worker', :redis, :'resque-client', :'resque-worker', :'graphql.server', :dynamodb, :s3, :sns, :sqs, :'aws.lambda.entry', :activejob, :log, :"mail.actionmailer", :"aws.lambda.invoke", :mongo, :sequel].freeze
- ENTRY_SPANS =
[:rack, :'resque-worker', :'rpc-server', :'sidekiq-worker', :'graphql.server', :sqs, :'aws.lambda.entry'].freeze
- EXIT_SPANS =
[:activerecord, :excon, :'net-http', :'resque-client', :'rpc-client', :'sidekiq-client', :redis, :dynamodb, :s3, :sns, :sqs, :log, :"mail.actionmailer", :"aws.lambda.invoke", :mongo, :sequel].freeze
- HTTP_SPANS =
[:rack, :excon, :'net-http'].freeze
- INTERNAL =
Default value. Indicates that the span is used internally.
:internal- SERVER =
Indicates that the span covers server-side handling of an RPC or other remote request.
:server- CLIENT =
Indicates that the span covers the client-side wrapper around an RPC or other remote request.
:client- PRODUCER =
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- CONSUMER =
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- ENTRY =
Indicates an entry span. Equivalant to Server or Consumer
:entry- EXIT =
Indicates an exit span. Equivalant to Client or Producer
:exit- INTERMEDIATE =
Indicates an intermediate span. This used when sdk is used to produce intermediate traces
:intermediate