Class: Sentry::OTLP::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/sentry/opentelemetry/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



27
28
29
30
31
32
# File 'lib/sentry/opentelemetry/configuration.rb', line 27

def initialize
  @enabled = false
  @setup_otlp_traces_exporter = true
  @collector_url = nil
  @setup_propagator = true
end

Instance Attribute Details

#collector_urlObject

Returns the value of attribute collector_url.



24
25
26
# File 'lib/sentry/opentelemetry/configuration.rb', line 24

def collector_url
  @collector_url
end

#enabledObject

Returns the value of attribute enabled.



22
23
24
# File 'lib/sentry/opentelemetry/configuration.rb', line 22

def enabled
  @enabled
end

#setup_otlp_traces_exporterObject

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_propagatorObject

Returns the value of attribute setup_propagator.



25
26
27
# File 'lib/sentry/opentelemetry/configuration.rb', line 25

def setup_propagator
  @setup_propagator
end