Repository navigation
feat(otel): support local-only collector exports - #4939
Conversation
Signed-off-by: Frederic Lafrance <[email protected]>
|
/ok to test a56cc58 |
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP
LGTM — no reliability concerns.
Reviewed all 11 changed files and traced collector rendering, credential forwarding, submission, and locked resubmission. Local-only mode retains file exports and span metrics while removing managed authorization configuration.
Static review only; tests were not executed.
Note: formal approval is not available for this request, so this review is posted as a comment only.
Review generated by codex. This was a full review. Request a full review with /review reset=true.
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/39849209572 |
Submitted jobs currently require backend credentials even to retain local telemetry. Add
otel.remote_export(defaulttrue) so users can keep the collector and its JSONL dumps without configuring a backend:If the configured token variable is missing or empty, submission now warns and forces
remote_export: false. Local-only collection requires neither an endpoint nor a service name;otel.enabled: falsestill disables the collector entirely. Resubmission refreshes the benchmark’s collector configuration under its existing lock, so a missing token also falls back to local dumps there.Preserves the credential isolation introduced in #3911: local exports contain no authorization attribute or token reference. No separate issue; this is a configuration extension to the existing collector.
Validated with
otelcol-contrib 0.152.1: without credentials, synthetic OTLP metrics, traces and logs were accepted and written to all three local JSONL files. Model rollout evidence is N/A because this changes collector export routing rather than agent, model, or verifier behavior.Draft validation gaps: the broad runs reported a checkpoint-agent assertion failure and a local-provider deadline failure; both passed on isolated reruns. The appended coverage gate reached 95.18%. Full server validation and the remaining harness-conformance attempts were interrupted when the validation host reached its safe disk-capacity limit; OpenCode and Pi conformance completed successfully. Full CI is still required.