Skip to content

feat(otel): support local-only collector exports - #4939

Merged
lafrancef merged 1 commit into
mainfrom
flafrance/otel-local-only-export
Oct 22, 2026
Merged

lafrancef merged 1 commit into
mainfrom
flafrance/otel-local-only-export

Conversation

@lafrancef

Copy link
Copy Markdown
Contributor

Submitted jobs currently require backend credentials even to retain local telemetry. Add otel.remote_export (default true) so users can keep the collector and its JSONL dumps without configuring a backend:

otel:
  enabled: true
  remote_export: false

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: false still 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.

@lafrancef lafrancef added feature New capabilities, enhancements, or enablement work area:orchestration Job submission, deployment, services, and lifecycle management labels Oct 22, 2026
@copy-pr-bot

copy-pr-bot Bot commented Oct 22, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@lafrancef

Copy link
Copy Markdown
Contributor Author

/ok to test a56cc58

@github-actions

Copy link
Copy Markdown
Contributor

@lafrancef
lafrancef marked this pull request as ready for review October 22, 2026 20:00
@svcnvidia-nemo-ci svcnvidia-nemo-ci added the needs-review PR is ready for code review and waiting on a reviewer label Oct 22, 2026

@svcnvidia-nemo-ci svcnvidia-nemo-ci left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@lafrancef
lafrancef added this pull request to the merge queue Oct 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/39849209572

Merged via the queue into main with commit e12daf2 Oct 22, 2026
57 of 60 checks passed
@lafrancef
lafrancef deleted the flafrance/otel-local-only-export branch October 22, 2026 21:01

This branch was previously deployed

1 inactive deployment
public — a56cc58c Deployed Oct 22, 2026 by copy-pr-bot[bot] via release / finalize / notify #6678
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:orchestration Job submission, deployment, services, and lifecycle management feature New capabilities, enhancements, or enablement work needs-review PR is ready for code review and waiting on a reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants