Class: Foam::Otel::Config

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

Overview

Resolved, immutable configuration produced by init() from the init arguments (BASE_PACKAGE_SPEC section 0). The endpoint is NOT a customer option — it is the pinned fleet endpoint, or the operator's OTEL_EXPORTER_OTLP_ENDPOINT override (rule 19), resolved here so the loop guard and the redacting exporters can read one authoritative value.

Instance Attribute Summary collapse

Instance Attribute Details

#diagnosticsObject

Returns the value of attribute diagnostics

Returns:

  • (Object)

    the current value of diagnostics



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

def diagnostics
  @diagnostics
end

#enabledObject

Returns the value of attribute enabled

Returns:

  • (Object)

    the current value of enabled



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

def enabled
  @enabled
end

#endpointObject

Returns the value of attribute endpoint

Returns:

  • (Object)

    the current value of endpoint



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

def endpoint
  @endpoint
end

#environmentObject

Returns the value of attribute environment

Returns:

  • (Object)

    the current value of environment



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

def environment
  @environment
end

#ignored_outbound_hostsObject

Returns the value of attribute ignored_outbound_hosts

Returns:

  • (Object)

    the current value of ignored_outbound_hosts



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

def ignored_outbound_hosts
  @ignored_outbound_hosts
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#redact_keysObject

Returns the value of attribute redact_keys

Returns:

  • (Object)

    the current value of redact_keys



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

def redact_keys
  @redact_keys
end

#redact_pii_keysObject

Returns the value of attribute redact_pii_keys

Returns:

  • (Object)

    the current value of redact_pii_keys



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

def redact_pii_keys
  @redact_pii_keys
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



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

def version
  @version
end