class ElasticAPM::Span::Context

@api private

Attributes

db[RW]
http[RW]
sync[RW]
tags[RW]

Public Class Methods

new(db: nil, http: nil, tags: {}) click to toggle source
# File lib/elastic_apm/span/context.rb, line 7
def initialize(db: nil, http: nil, tags: {})
  @sync = true
  @db = db && Db.new(db)
  @http = http && Http.new(http)
  @tags = tags
end