nvcf / byoo-otel-collector
AGENTS.md261 starsChanged 9 days agoApache-2.0View on GitHub
BYO Observability OpenTelemetry Collector is a native Go subtree with three main pieces: - cmd/byoo-otel-collector/: wrapper process that extracts secrets, renders config, and runs the collector - otelcol/: checked-in OpenTelemetry Collector build output used by the Bazel lane - generator/: Python template generator for example configs and docs Run make update-config-template after changing templates under internal/otelconfig/templates/. Run make update-examples after changing template source, generator logic, or supported backend examples. Run ./scripts/update-go-work-sum.sh after changing go.mod here or in otelcol/, and commit…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,700 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository133 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-tooling/AGENTS.mdAGENTS.md
- deploy/helm/cassandra/AGENTS.mdAGENTS.md
- deploy/helm/cert-manager/AGENTS.mdAGENTS.md
- deploy/helm/cloud-functions/AGENTS.mdAGENTS.md
- deploy/helm/cloud-tasks/AGENTS.mdAGENTS.md
- deploy/helm/encrypted-secret-store/AGENTS.mdAGENTS.md
- deploy/helm/icms/AGENTS.mdAGENTS.md
- deploy/helm/llm-request-router/AGENTS.mdAGENTS.md
- deploy/helm/nats/AGENTS.mdAGENTS.md
- deploy/helm/notary/AGENTS.mdAGENTS.md
- deploy/helm/nvcf-pki/AGENTS.mdAGENTS.md
- deploy/helm/openbao/AGENTS.mdAGENTS.md
- deploy/helm/vanity-gateway/AGENTS.mdAGENTS.md
- deploy/releases/AGENTS.mdAGENTS.md
- deploy/stacks/AGENTS.mdAGENTS.md
- deploy/stacks/observability/AGENTS.mdAGENTS.md
- deploy/stacks/stargate-dev/AGENTS.mdAGENTS.md
- deploy/stacks/stargate-dev/benchmark/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- docs/overview/samples/scripts/AGENTS.mdAGENTS.md
- examples/AGENTS.mdAGENTS.md
- infra/cassandra/AGENTS.mdAGENTS.md
- infra/openbao/AGENTS.mdAGENTS.md
- infra/openbao/plugins/vault-plugin-secrets-jwt/AGENTS.mdAGENTS.md
- infra/openbao/tests/AGENTS.mdAGENTS.md
- migrations/cassandra/AGENTS.mdAGENTS.md
- migrations/openbao/AGENTS.mdAGENTS.md
- src/compute-plane-services/ess-agent/AGENTS.mdAGENTS.md
- src/compute-plane-services/image-credential-helper/AGENTS.mdAGENTS.md
- src/compute-plane-services/nvca/AGENTS.mdAGENTS.md
- src/compute-plane-services/nvsnap/docs/AGENTS.mdAGENTS.md
- src/compute-plane-services/nvstor/AGENTS.mdAGENTS.md
- src/compute-plane-services/request-trace-uploader/AGENTS.mdAGENTS.md
- src/control-plane-services/admin-token-issuer-proxy/AGENTS.mdAGENTS.md
- src/control-plane-services/api-keys/AGENTS.mdAGENTS.md
- src/control-plane-services/cloud-functions/AGENTS.mdAGENTS.md
- src/control-plane-services/cloud-tasks/AGENTS.mdAGENTS.md
- src/control-plane-services/encrypted-secret-store/AGENTS.mdAGENTS.md
- src/control-plane-services/function-autoscaler/AGENTS.mdAGENTS.md
- src/control-plane-services/function-autoscaler/local_env/AGENTS.mdAGENTS.md
- src/control-plane-services/instance-cluster-management/AGENTS.mdAGENTS.md
- src/control-plane-services/nats-auth-callout/AGENTS.mdAGENTS.md
- src/control-plane-services/notary/AGENTS.mdAGENTS.md
- src/invocation-plane-services/grpc-proxy/AGENTS.mdAGENTS.md
- src/invocation-plane-services/http-invocation/AGENTS.mdAGENTS.md
- src/invocation-plane-services/llm-api-gateway/AGENTS.mdAGENTS.md
- src/invocation-plane-services/ratelimiter/AGENTS.mdAGENTS.md
- src/invocation-plane-services/vanity-gateway/AGENTS.mdAGENTS.md
- src/libraries/go/lib/AGENTS.mdAGENTS.md
- src/libraries/go/worker/AGENTS.mdAGENTS.md
- src/libraries/java/nv-boot-parent/AGENTS.mdAGENTS.md
- src/libraries/python/nv-cloud-function-helpers/AGENTS.mdAGENTS.md
- src/libraries/rust/nvcf-info/AGENTS.mdAGENTS.md
- src/libraries/rust/stargate/AGENTS.mdAGENTS.md
- src/uis/nvcf-ui/AGENTS.mdAGENTS.md
- src/uis/nvcf-ui/helm/AGENTS.mdAGENTS.md
- tests/bdd/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- tools/docs-version-sync/AGENTS.mdAGENTS.md
- The first 60 shown.
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 1 is common, 1 is distinctive, and 5 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Run make update-config-template after changing templates under internal/otelconfig/templates/.
- Very specific: line 26
Run ./scripts/update-go-work-sum.sh after changing go.mod here or in otelcol/, and commit go.work.sum.
- Very specific: line 30
Follow the release workflow for source versions and producer handoffs.
- Very specific: line 32
Do not add a subtree .gitlab-ci.yml.
- Distinctive: line 36
Use the script instead of editing version strings by hand:
- Very specific: line 59
Commit a collector version bump as fix(byoo-otel-collector):, not chore(byoo-otel-collector):.
- Common: line 70
Test fixtures and example configs must use fake endpoints and fake secrets.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md - byoo-otel-collector
BYO Observability OpenTelemetry Collector is a native Go subtree with three main pieces:
cmd/byoo-otel-collector/: wrapper process that extracts secrets, renders config, and runs the collectorotelcol/: checked-in OpenTelemetry Collector build output used by the Bazel lanegenerator/: Python template generator for example configs and docs
Build and Test
go test ./...
make lint
make update-config-template
make update-examples
make validate-otelconfigRun make update-config-template after changing templates under
internal/otelconfig/templates/. Run make update-examples after changing
template source, generator logic, or supported backend examples.
Run ./scripts/update-go-work-sum.sh after changing go.mod here or in
otelcol/, and commit go.work.sum. The Bazel otelcol genrule declares it as
an input, so a clean checkout must have it. CI fails when it is stale.
Follow the release workflow for source versions and
producer handoffs. Keep generated example drift, generated config drift and otelconfig checks.
Do not add a subtree .gitlab-ci.yml.
Collector Version Updates
Use the script instead of editing version strings by hand:
./scripts/update-collector-version.sh v0.160.0 v1.66.0The script updates version references in otel-collector-build.yaml,
AGENTS.md, README.md, Makefile, Dockerfile,
Dockerfile.nvcf-otel-collector, scripts/regenerate-otelcol.sh, and
.gitlab-ci.yml when that file exists. Run it from the BYOO collector root.
You can pass versions with or without the v prefix (for example, v0.160.0
or 0.160.0). Pass the optional v1.x.y provider version when the stable
collector modules need a matching release. After running, regenerate otelcol/
if needed, run ./scripts/update-go-work-sum.sh, review git diff, and run
the relevant build or validation command.
GitHub semantic-release calculates the NVIDIA wrapper SemVer from Conventional
Commits. The tag records both sources as
src/compute-plane-services/byoo-otel-collector/v<upstream>-nv-<wrapper>.
The upstream part comes from otel-collector-build.yaml; do not add a VERSION
file or a CI gate that requires one. RELEASE_SERIES_START anchors the first
wrapper release and must remain in the repository.
Commit a collector version bump as fix(byoo-otel-collector):, not
chore(byoo-otel-collector):. chore commits are not release-worthy (see
RELEASE_RULES in tools/ci/github-release), so a chore bump only
synthesizes a compatibility tag anchor and never triggers the image build and
push. Because the upstream version is embedded directly in the published tag
and image, every bump must ship a real image, not just update the pin in git.
Local Gotchas
- Generated templates and examples are committed. Regenerate and commit them with source changes.
- Test fixtures and example configs must use fake endpoints and fake secrets.
- ESS-derived secrets are split into files; preserve file permission handling
when touching
internal/secrets/. otelcol/is intentionally built through a Bazel genrule shim around checked-in collector output. Keep that rationale in sync if the build shape changes.
References
README.mdgenerator/doc/README.mdvalidator/README.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

