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
-
#mode ⇒ Object
Returns the value of attribute mode.
Instance Method Summary collapse
Instance Attribute Details
#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
#enabled? ⇒ Boolean
12 13 14 |
# File 'lib/datadog/tracing/contrib/propagation/sql_comment/mode.rb', line 12 def enabled? service? || full? end |