nvcf / observability
AGENTS.md261 starsChanged 9 days agoApache-2.0View on GitHub
This is the shared NVCF observability Helmfile stack. It owns cluster-level observability infrastructure for self-managed control-plane and compute-plane deployments. - Keep shared collector, target allocator, Prometheus Operator CRD, OpenTelemetry Operator, optional VictoriaMetrics, and default monitor wiring here. - Keep application metrics endpoints, labels, port names, and paths in the application charts that expose those endpoints. - Do not add control-plane services or compute-plane services here. - Keep the reusable base profile disabled. - Derive control-plane and compute-plane behavior from observability.profile;…
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/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/byoo-otel-collector/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
11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Keep shared collector, target allocator, Prometheus Operator CRD, OpenTelemetry Operator, optional VictoriaMetrics, and default monitor …
- Distinctive: line 14
Keep application metrics endpoints, labels, port names, and paths in the application charts that expose those endpoints.
- Distinctive: line 16
Do not add control-plane services or compute-plane services here.
- Very specific: line 17
Keep the reusable base profile disabled.
- Very specific: line 40
Do not use Helm lookup to silently change profiles or component ownership based on live cluster state.
- Very specific: line 47
Run profile and integration assertions with make test.
- Distinctive: line 48
Run git diff --check before committing.
- Distinctive: line 52
Keep profile derivation and validation at the top of the Helmfile.
- Distinctive: line 53
Keep chart templates data-driven.
- Distinctive: line 54
Put stable scrape endpoints, labels, ports, and paths in the application chart that exposes them.
- Very specific: line 59
Keep reusable defaults in environments/base.yaml.
≈ “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 - Observability Stack
Purpose
This is the shared NVCF observability Helmfile stack. It owns cluster-level observability infrastructure for self-managed control-plane and compute-plane deployments.
Scope
- Keep shared collector, target allocator, Prometheus Operator CRD, OpenTelemetry Operator, optional VictoriaMetrics, and default monitor wiring here.
- Keep application metrics endpoints, labels, port names, and paths in the application charts that expose those endpoints.
- Do not add control-plane services or compute-plane services here.
- Keep the reusable base profile
disabled. - Derive control-plane and compute-plane behavior from
observability.profile; do not expose parallel plane booleans. - Enabled profiles install shared components once by default. Fine-grained
component modes are
install,existing, anddisabled. - Derive the NVCA collector and
BYOObservabilityfeature gate fromcomputeandall. Preserve explicit compute-plane overrides.
Key Files
helmfile.d/01-observability.yaml.gotmpl: shared observability releasesenvironments/base.yaml: scaffold defaults and scrape contractscharts/nvcf-otel-collector: OpenTelemetryCollector resource and Target Allocator RBACcharts/nvcf-default-monitors: centrally owned concrete monitor resourcesvalues/victoria-metrics.yaml.gotmpl: values bridge for the VictoriaMetrics chart
Profiles
disabled: render no observability runtime resources.control: install control-plane metrics and autoscaler backend defaults.compute: install NVCA, DCGM, and worker metric defaults.all: install the union once.
Do not use Helm lookup to silently change profiles or component ownership
based on live cluster state. The consuming stack must choose the profile
explicitly.
Development
- Render the local environment with
make template HELMFILE_ENV=local. - Run profile and integration assertions with
make test. - Run
git diff --checkbefore committing.
Code Style
- Keep profile derivation and validation at the top of the Helmfile.
- Keep chart templates data-driven; use one generic template per monitor kind.
- Put stable scrape endpoints, labels, ports, and paths in the application chart that exposes them.
Subtree Conventions
- Keep reusable defaults in
environments/base.yaml; environment files should contain only overrides. - Preserve explicit user values when applying profile defaults.
- Validate every new mode, dependency, and rendered monitor shape in
tests/profile-defaults.sh. - Bump
versionandappVersionin a chart'sChart.yamlwhen the chart changes after a stack release.tests/chart-versions.shenforces this.
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.

