nvcf / byoo-otel-collector
AGENTS.md230 starsChanged 2 months 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. CI subproject id: byoo-otel-collector. The umbrella CI lane is declared in…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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 repository98 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-tooling/AGENTS.mdAGENTS.md
- deploy/helm/cassandra/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/notary/AGENTS.mdAGENTS.md
- deploy/helm/nvcf-pki/AGENTS.mdAGENTS.md
- deploy/helm/vanity-gateway/AGENTS.mdAGENTS.md
- deploy/stacks/AGENTS.mdAGENTS.md
- deploy/stacks/observability/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- examples/AGENTS.mdAGENTS.md
- infra/cassandra/AGENTS.mdAGENTS.md
- infra/openbao/plugins/vault-plugin-secrets-jwt/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/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/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
- tests/bdd/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- tools/ncp-local-cluster/AGENTS.mdAGENTS.md
- ai-tooling/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- deploy/helm/cassandra/CLAUDE.mdCLAUDE.md
- deploy/helm/cloud-functions/CLAUDE.mdCLAUDE.md
- deploy/helm/encrypted-secret-store/CLAUDE.mdCLAUDE.md
- deploy/helm/notary/CLAUDE.mdCLAUDE.md
- deploy/helm/nvcf-pki/CLAUDE.mdCLAUDE.md
- deploy/helm/vanity-gateway/CLAUDE.mdCLAUDE.md
- deploy/stacks/CLAUDE.mdCLAUDE.md
- deploy/stacks/observability/CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- examples/CLAUDE.mdCLAUDE.md
- infra/cassandra/CLAUDE.mdCLAUDE.md
- infra/openbao/plugins/vault-plugin-secrets-jwt/CLAUDE.mdCLAUDE.md
- src/compute-plane-services/byoo-otel-collector/CLAUDE.mdCLAUDE.md
- src/compute-plane-services/ess-agent/CLAUDE.mdCLAUDE.md
- The first 60 shown.
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 1 is common, 1 is distinctive, and 2 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.
2
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/.
- Distinctive: line 34
Use the script instead of editing version strings by hand:
- Very specific: line 56
Commit a collector version bump as fix(byoo-otel-collector):, not chore(byoo-otel-collector):.
- Common: line 67
Test fixtures and example configs must use fake endpoints and fake secrets.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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.
CI subproject id: byoo-otel-collector. The umbrella CI lane is declared in
tools/ci/subproject-validations.yaml, an internal GitLab CI config not
present in this public snapshot; current custom checks include generated example
drift, generated config drift, and otelconfig validation. 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, 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.

