docs(otel): validateConfigFile is a parser, not a wiring check
The comment said "It parses; it does not prove a sample arrives", which understates the gap in the direction that matters: it reads as if a green build proves the collector *starts* and only runtime delivery is unverified. Measured while probing ingest-auth options for #3283: `otelcol validate` ACCEPTS a receiver naming an auth extension that is absent from the build, and the collector then dies at startup with `Failed to start component`. So the check does not prove this config starts at all. Comment-only; no evaluated config changes. Refs #3283.
This commit is contained in:
parent
4c6b1ff701
commit
c38778b885
1 changed files with 6 additions and 1 deletions
|
|
@ -204,7 +204,12 @@
|
|||
# upstream default is OFF for exactly the way this module
|
||||
# configures it. Turning it on runs `otelcol validate` at
|
||||
# build time, which is the collector checking its own config.
|
||||
# ⚠️ It parses; it does not prove a sample arrives.
|
||||
# ⚠️ It is a PARSER, not a wiring check, and the gap is wider
|
||||
# than "no sample was sent": measured 2026-08-15, `validate`
|
||||
# ACCEPTS a receiver naming an auth extension that is absent
|
||||
# from the build, and the collector then dies at startup with
|
||||
# `Failed to start component`. So a green build does not
|
||||
# prove this config STARTS, never mind that a sample arrives.
|
||||
validateConfigFile = true;
|
||||
settings = {
|
||||
receivers.otlp.protocols.http.endpoint = listen;
|
||||
|
|
|
|||
Loading…
Reference in a new issue