Insider.Collector.IngressProfile (Insider v0.1.0)

Copy Markdown View Source

Host-owned ingress defaults for collector sessions.

Staging and production profiles are descriptive readiness artifacts only and deny collector startup. Their safe defaults keep Logger payloads off and require Telemetry's existing exact policy allowlists.

Summary

Types

t()

@type t() :: %Insider.Collector.IngressProfile{
  environment: atom(),
  fingerprint: String.t(),
  logger_message_semantics: boolean(),
  logger_payload: boolean(),
  logger_structural_only: boolean(),
  observation_enabled: boolean(),
  telemetry_projection: String.t()
}

Functions

new(environment)

@spec new(atom()) :: {:ok, t()} | {:error, :invalid_profile}

valid?(profile)

@spec valid?(term()) :: boolean()