Class: Sentry::OTLP::Configuration
- Inherits:
-
Object
- Object
- Sentry::OTLP::Configuration
- Defined in:
- lib/sentry/opentelemetry/configuration.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#setup_otlp_traces_exporter ⇒ Object
Returns the value of attribute setup_otlp_traces_exporter.
-
#setup_propagator ⇒ Object
Returns the value of attribute setup_propagator.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
26 27 28 29 30 |
# File 'lib/sentry/opentelemetry/configuration.rb', line 26 def initialize @enabled = false @setup_otlp_traces_exporter = true @setup_propagator = true end |
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled.
22 23 24 |
# File 'lib/sentry/opentelemetry/configuration.rb', line 22 def enabled @enabled end |
#setup_otlp_traces_exporter ⇒ Object
Returns the value of attribute setup_otlp_traces_exporter.
23 24 25 |
# File 'lib/sentry/opentelemetry/configuration.rb', line 23 def setup_otlp_traces_exporter @setup_otlp_traces_exporter end |
#setup_propagator ⇒ Object
Returns the value of attribute setup_propagator.
24 25 26 |
# File 'lib/sentry/opentelemetry/configuration.rb', line 24 def setup_propagator @setup_propagator end |