class Aspecto::Opentelemetry::Configurator

Aspecto Opentelemetry Distro Configurator

Attributes

aspecto_auth[RW]
service_name[RW]

Public Class Methods

new() click to toggle source
# File lib/aspecto/opentelemetry/configurator.rb, line 7
def initialize
  # initialize config options from environment variables.
  # they can later be overwritten with configurator attribute setters
  # that have precedence over env
  @service_name = ENV["SERVICE_NAME"]
  @aspecto_auth = ENV["ASPECTO_AUTH"]
end