briancaffey/hermes-otel commit
0180c5e63b9d035ee0754d9a0d75c3499a8def26. This is not required for Hermes
analysis parity: the first-party Xerg observer is the primary request and
mechanical source.
Hermes traces are never an independent monetary audit. A matching, auditable
state.db is always required.
Start the collector
127.0.0.1, accepts OTLP/HTTP protobuf traces at
/v1/traces, prints the required plugin configuration, and waits for
Ctrl-C. It never installs, enables, or edits the third-party plugin and never
pushes automatically.
Required plugin configuration:
HERMES_OTEL_DEBUG=false.
The pinned plugin resolves YAML from
~/.hermes/plugins/hermes_otel/config.yaml, even when Hermes itself uses a
non-default HERMES_HOME. For a non-default profile, use the equivalent
environment configuration that xerg collect hermes prints
(OTEL_JAEGER_ENDPOINT plus the HERMES_OTEL_* privacy and sampling
variables). Environment values override plugin defaults. Xerg still does not
edit either location.
Audit an existing capture
--hermes-events-dir. The observer remains primary. If
observer and trace request totals disagree, Xerg retains the original
state.db aggregate and reports the conflict. It never creates duplicate
economic calls.
The certified plugin reports its prompt-token bucket inclusive of cache reads
and writes. Xerg converts that value to the uncached input bucket before exact
reconciliation, preserving the separate cache buckets used by state.db and
the first-party observer. Adding or removing optional trace enrichment does
not change the authoritative audit ID or comparison key.