Class: RailsOtelContext::Configuration
- Inherits:
-
Object
- Object
- RailsOtelContext::Configuration
- Defined in:
- lib/rails_otel_context/configuration.rb
Instance Attribute Summary collapse
-
#clickhouse_enabled ⇒ Object
Returns the value of attribute clickhouse_enabled.
-
#custom_span_attributes ⇒ Object
Returns the value of attribute custom_span_attributes.
-
#redis_source_enabled ⇒ Object
Returns the value of attribute redis_source_enabled.
-
#request_context_enabled ⇒ Object
Returns the value of attribute request_context_enabled.
-
#slow_query_threshold_ms ⇒ Object
Returns the value of attribute slow_query_threshold_ms.
-
#span_name_formatter ⇒ Object
Returns the value of attribute span_name_formatter.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
13 14 15 16 17 18 19 20 |
# File 'lib/rails_otel_context/configuration.rb', line 13 def initialize @redis_source_enabled = false @clickhouse_enabled = true @span_name_formatter = nil @custom_span_attributes = nil @request_context_enabled = false @slow_query_threshold_ms = nil end |
Instance Attribute Details
#clickhouse_enabled ⇒ Object
Returns the value of attribute clickhouse_enabled.
5 6 7 |
# File 'lib/rails_otel_context/configuration.rb', line 5 def clickhouse_enabled @clickhouse_enabled end |
#custom_span_attributes ⇒ Object
Returns the value of attribute custom_span_attributes.
11 12 13 |
# File 'lib/rails_otel_context/configuration.rb', line 11 def custom_span_attributes @custom_span_attributes end |
#redis_source_enabled ⇒ Object
Returns the value of attribute redis_source_enabled.
5 6 7 |
# File 'lib/rails_otel_context/configuration.rb', line 5 def redis_source_enabled @redis_source_enabled end |
#request_context_enabled ⇒ Object
Returns the value of attribute request_context_enabled.
5 6 7 |
# File 'lib/rails_otel_context/configuration.rb', line 5 def request_context_enabled @request_context_enabled end |
#slow_query_threshold_ms ⇒ Object
Returns the value of attribute slow_query_threshold_ms.
5 6 7 |
# File 'lib/rails_otel_context/configuration.rb', line 5 def slow_query_threshold_ms @slow_query_threshold_ms end |
#span_name_formatter ⇒ Object
Returns the value of attribute span_name_formatter.
5 6 7 |
# File 'lib/rails_otel_context/configuration.rb', line 5 def span_name_formatter @span_name_formatter end |