Class: OrangeTap::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/orange_tap/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_converterObject

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_dirObject

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_nameObject

Returns the value of attribute service_name.



7
8
9
# File 'lib/orange_tap/config.rb', line 7

def service_name
  @service_name
end