Class: Foam::Otel::Config

Inherits:
Struct
  • Object
show all
Defined in:
lib/foam/otel/config.rb

Overview

Resolved configuration — options + env vars, per contract/SPEC.md: endpoint is option > OTEL_EXPORTER_OTLP_ENDPOINT > default; batch cadence comes from the standard OTel env vars, which the Ruby SDK reads natively (never hardcoded here).

Instance Attribute Summary collapse

Instance Attribute Details

#endpointObject

Returns the value of attribute endpoint

Returns:

  • (Object)

    the current value of endpoint



13
14
15
# File 'lib/foam/otel/config.rb', line 13

def endpoint
  @endpoint
end

#health_routesObject

Returns the value of attribute health_routes

Returns:

  • (Object)

    the current value of health_routes



13
14
15
# File 'lib/foam/otel/config.rb', line 13

def health_routes
  @health_routes
end

#redacted_keysObject

Returns the value of attribute redacted_keys

Returns:

  • (Object)

    the current value of redacted_keys



13
14
15
# File 'lib/foam/otel/config.rb', line 13

def redacted_keys
  @redacted_keys
end

#service_nameObject

Returns the value of attribute service_name

Returns:

  • (Object)

    the current value of service_name



13
14
15
# File 'lib/foam/otel/config.rb', line 13

def service_name
  @service_name
end