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

#before_sendObject

Returns the value of attribute before_send

Returns:

  • (Object)

    the current value of before_send



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

def before_send
  @before_send
end

#capture_payloadsObject

Returns the value of attribute capture_payloads

Returns:

  • (Object)

    the current value of capture_payloads



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

def capture_payloads
  @capture_payloads
end

#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_detectObject

Returns the value of attribute redact_detect

Returns:

  • (Object)

    the current value of redact_detect



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

def redact_detect
  @redact_detect
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

#secret_heuristicsObject

Returns the value of attribute secret_heuristics

Returns:

  • (Object)

    the current value of secret_heuristics



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

def secret_heuristics
  @secret_heuristics
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