Class: Skywalking::Tracing::Tag
- Inherits:
-
Object
- Object
- Skywalking::Tracing::Tag
- Defined in:
- lib/skywalking/tracing/tag.rb
Direct Known Subclasses
TagCacheCmd, TagCacheKey, TagCacheMiss, TagCacheOp, TagCacheType, TagDbStatement, TagDbType, TagHttpMethod, TagHttpStatusCode, TagHttpURL
Instance Attribute Summary collapse
-
#insert ⇒ Object
readonly
Returns the value of attribute insert.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#val ⇒ Object
Returns the value of attribute val.
Instance Method Summary collapse
-
#initialize(val) ⇒ Tag
constructor
A new instance of Tag.
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
#insert ⇒ Object (readonly)
Returns the value of attribute insert.
20 21 22 |
# File 'lib/skywalking/tracing/tag.rb', line 20 def insert @insert end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
20 21 22 |
# File 'lib/skywalking/tracing/tag.rb', line 20 def key @key end |
#val ⇒ Object
Returns the value of attribute val.
19 20 21 |
# File 'lib/skywalking/tracing/tag.rb', line 19 def val @val end |