Class: OrangeTap::Config
- Inherits:
-
Object
- Object
- OrangeTap::Config
- Defined in:
- lib/orange_tap/config.rb
Instance Attribute Summary collapse
-
#otel_converter ⇒ Object
Returns the value of attribute otel_converter.
-
#output_dir ⇒ Object
Returns the value of attribute output_dir.
-
#service_name ⇒ Object
Returns the value of attribute service_name.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
9 10 11 12 13 |
# File 'lib/orange_tap/config.rb', line 9 def initialize @output_dir = File.join(Dir.tmpdir, "orange_tap") @service_name = "orange_tap" @otel_converter = OrangeTap::OtelConverter end |
Instance Attribute Details
#otel_converter ⇒ Object
Returns the value of attribute otel_converter.
7 8 9 |
# File 'lib/orange_tap/config.rb', line 7 def otel_converter @otel_converter end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
7 8 9 |
# File 'lib/orange_tap/config.rb', line 7 def output_dir @output_dir end |
#service_name ⇒ Object
Returns the value of attribute service_name.
7 8 9 |
# File 'lib/orange_tap/config.rb', line 7 def service_name @service_name end |