Class: Skywalking::Tracing::Tag

Inherits:
Object
  • Object
show all
Defined in:
lib/skywalking/tracing/tag.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(val) ⇒ Tag

Returns a new instance of Tag.



22
23
24
25
# File 'lib/skywalking/tracing/tag.rb', line 22

def initialize(val)
  @val = val.to_s
  @insert = true
end

Instance Attribute Details

#insertObject (readonly)

Returns the value of attribute insert.



20
21
22
# File 'lib/skywalking/tracing/tag.rb', line 20

def insert
  @insert
end

#keyObject (readonly)

Returns the value of attribute key.



20
21
22
# File 'lib/skywalking/tracing/tag.rb', line 20

def key
  @key
end

#valObject

Returns the value of attribute val.



19
20
21
# File 'lib/skywalking/tracing/tag.rb', line 19

def val
  @val
end