Class: Datadog::Tracing::Contrib::Propagation::SqlComment::Mode
- Inherits:
-
Struct
- Object
- Struct
- Datadog::Tracing::Contrib::Propagation::SqlComment::Mode
- Defined in:
- lib/datadog/tracing/contrib/propagation/sql_comment/mode.rb
Instance Attribute Summary collapse
-
#append ⇒ Object
Returns the value of attribute append.
-
#mode ⇒ Object
Returns the value of attribute mode.
Instance Method Summary collapse
Instance Attribute Details
#append ⇒ Object
Returns the value of attribute append
11 12 13 |
# File 'lib/datadog/tracing/contrib/propagation/sql_comment/mode.rb', line 11 def append @append end |
#mode ⇒ Object
Returns the value of attribute mode
11 12 13 |
# File 'lib/datadog/tracing/contrib/propagation/sql_comment/mode.rb', line 11 def mode @mode end |
Instance Method Details
#append? ⇒ Boolean
24 25 26 |
# File 'lib/datadog/tracing/contrib/propagation/sql_comment/mode.rb', line 24 def append? append end |
#enabled? ⇒ Boolean
12 13 14 |
# File 'lib/datadog/tracing/contrib/propagation/sql_comment/mode.rb', line 12 def enabled? service? || full? end |