datadog-agent / rules
Cursor rule3.8k starsChanged 7 days agoApache-2.0View on GitHub
Run the buildifier test when Bazel files change
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about DataDog/datadog-agent
- aws/aws-sdk-go-v2“[SOLUTION IN THREAD] "not found, ResolveEndpointV2" service modules before 11/15/23 are incompatible …”GitHub · Nov 16, 2023 · 45 reactions
- micrometer-metrics/micrometer“Unix Domain Socket support (StatsD)”GitHub · Aug 17, 2018 · 22 reactions
- golang/go“proposal: x/tools/go/analysis/passes/appends: check for incorrect slice length initialization ”GitHub · Oct 14, 2024 · 18 reactions
- airbytehq/airbyte“[STORAGE-S3] Add Support for Custom S3 Endpoint”GitHub · Aug 16, 2024 · 14 reactions
- prometheus/blackbox_exporter“List of metrics provided in a human-readable format”GitHub · Dec 15, 2021 · 13 reactions
The biggest 5 of 56 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 56
Talked about on GitHub and Stack Overflow (56 times).
On GitHub · 48
- Nov 16, 2023[SOLUTION IN THREAD] "not found, ResolveEndpointV2" service modules before 11/15/23 are incompatible against newer root modules — aws/aws-sdk-go-v245 reactions · 33 comments
- Aug 17, 2018Unix Domain Socket support (StatsD) — micrometer-metrics/micrometer22 reactions · 23 comments
- Oct 14, 2024proposal: x/tools/go/analysis/passes/appends: check for incorrect slice length initialization — golang/go18 reactions · 28 comments
- Aug 16, 2024[STORAGE-S3] Add Support for Custom S3 Endpoint — airbytehq/airbyte14 reactions · 21 comments
- Dec 15, 2021List of metrics provided in a human-readable format — prometheus/blackbox_exporter13 reactions · 5 comments
43 more on GitHub
- Feb 26, 2026cmd/go: decide and document official recommendation for typical 'go' version in go.mod for open source libraries — golang/go9 reactions · 13 comments
- Dec 26, 2024[BUG] go.mod tidy fails due to unresolved module in dd-trace-go — DataDog/dd-trace-go9 reactions · 8 comments
- Oct 31, 2018[disk] Blacklist certain partitions by default — DataDog/integrations-core9 reactions · 6 comments
- Mar 27, 2024datadog-agent: panic: must be called from a bundle — NixOS/nixpkgs8 reactions · 5 comments
- Feb 3, 2026cmd/go: go list computes build info for test packages when not needed — golang/go7 reactions · 4 comments
- Jan 28, 2022v1.35.0 breaks any program trying to use a `-v` flag — DataDog/dd-trace-go6 reactions · 5 comments
- May 10, 2021Validator reports false duplicates — dependabot/dependabot-core6 reactions · 2 comments
- Aug 27, 2020ERROR | Cannot write json file: /opt/datadog-agent/run/version-history.json with Agent 7.22 — DataDog/heroku-buildpack-datadog6 reactions · 5 comments
- Feb 17, 2025[receiver/sqlserver] Support query-level log collection [Top Query] — open-telemetry/opentelemetry-collector-contrib4 reactions · 11 comments
- Jul 20, 2026chore(ci): update Datadog Agent version to 7.81.1 — DataDog/saluki3 reactions · 3 comments
- Jun 20, 2025datadog-agent: 7.56.2 -> 7.70.2 — NixOS/nixpkgs3 reactions · 3 comments
- May 17, 2024Service V2 collector — prometheus-community/windows_exporter3 reactions
- Nov 4, 2026CONTINT-5659: adds kubernetes_state.pod.unready metric to metadata.csv — DataDog/integrations-core2 reactions · 3 comments
- Nov 2, 2026[Backport v1.32] Update default Agent to `7.85.0` — DataDog/datadog-operator2 reactions · 2 comments
- Nov 2, 2026Update default Agent to `7.85.0` — DataDog/datadog-operator2 reactions · 2 comments
- Oct 26, 2026chore(ci): update Datadog Agent version to 7.84.6 — DataDog/saluki2 reactions · 3 comments
- Oct 21, 2026feat(nodeagent): add DD_POD_NAME as env var — DataDog/datadog-operator2 reactions · 4 comments
- Oct 19, 2026chore(ci): update Datadog Agent version to 7.84.3 — DataDog/saluki2 reactions · 3 comments
- Oct 12, 2026chore(ci): update Datadog Agent version to 7.84.2 — DataDog/saluki2 reactions · 3 comments
- Oct 9, 2026Revert Python version upgrade on 7.84.x — DataDog/integrations-core2 reactions · 6 comments
- Oct 5, 2026chore(ci): update Datadog Agent version to 7.84.1 — DataDog/saluki2 reactions · 2 comments
- Sep 29, 2026Install DotSlash in the standard build images — DataDog/datadog-agent-buildimages2 reactions · 2 comments
- Sep 28, 2026chore(ci): update Datadog Agent version to 7.83.3 — DataDog/saluki2 reactions · 2 comments
- Sep 28, 2026chore(deps): bump the docker-compose-dev group across 2 directories with 14 updates — DataDog/dd-trace-go2 reactions · 2 comments
- Sep 28, 2026Update go dependencies — DataDog/datadog-operator2 reactions · 3 comments
- Sep 21, 2026chore(ci): update Datadog Agent version to 7.83.2 — DataDog/saluki2 reactions · 2 comments
- Sep 21, 2026chore(deps): bump the docker-compose-dev group across 2 directories with 10 updates — DataDog/dd-trace-go2 reactions · 3 comments
- Sep 15, 2026fix(datadog): configure Core Agent for PAR split mode — DataDog/helm-charts2 reactions
- Sep 14, 2026chore(deps): bump the docker-compose-dev group across 2 directories with 7 updates — DataDog/dd-trace-go2 reactions · 3 comments
- Sep 4, 2026feat(orchestrator): grant KubeAI collection RBAC — DataDog/datadog-operator2 reactions · 1 comment
- Sep 3, 2026chore(ci): update Datadog Agent version to 7.83.0 — DataDog/saluki2 reactions · 2 comments
- Sep 3, 2026fix(metrics): normalize metric names prior to filtering — DataDog/saluki2 reactions · 4 comments
- Aug 26, 2026chore(ci): update Datadog Agent version to 7.82.3 — DataDog/saluki2 reactions · 2 comments
- Aug 26, 2026include selinux-type annotation to dap — DataDog/datadog-operator2 reactions · 1 comment
- Aug 24, 2026[CONTP-2014] Add `instrumentation_controller.*` metrics to default cluster agent integration — DataDog/integrations-core2 reactions · 4 comments
- Aug 24, 2026chore(ci): update Datadog Agent version to 7.82.2 — DataDog/saluki2 reactions · 2 comments
- Aug 21, 2026Revert "Revert "Make sure we keep the testing params when extra params does not override minor version"" — DataDog/agent-linux-install-scriptsays it tested it2 reactions · 4 comments
- Aug 18, 2026feat(datadog-agent-commons): add minimal IPC TLS feature — DataDog/saluki2 reactions · 2 comments
- Aug 17, 2026chore(ci): update Datadog Agent version to 7.82.1 — DataDog/saluki2 reactions · 2 comments
- Aug 17, 2026chore(deps): bump the docker-compose-dev group across 3 directories with 7 updates — DataDog/dd-trace-go2 reactions · 3 comments
- Aug 3, 2026chore(ci): update Datadog Agent version to 7.81.3 — DataDog/saluki2 reactions · 2 comments
- Jul 29, 2026[ACIX-1887] Remove legacy devcontainer image — DataDog/datadog-agent-buildimages2 reactions · 1 comment
- Oct 5, 2024Update ecs_fargate docs to note DD_DOGSTATSD_TAG_CARDINALITY setting — DataDog/integrations-core2 reactions · 2 comments
On Stack Overflow · 8
- Mar 13, 2020How do you pass file_system_blacklist arg to Datadog Docker Agent run command?3 votes
- Dec 11, 2019Containers - Failed to get host IPs3 votes
- May 13, 2020Is there a serverless kubernetes datadog agent?2 votes
- Jun 29, 2018How to set docker labels on ECS agent container?2 votes · 1 answer
- Apr 28, 2022Issues with setting up Autodiscovery Auto-Configuration for Kubernetes integration in Datadog1 vote
3 more on Stack Overflow
- Nov 4, 2020How to configure hostname in ECS Fargate task definition1 vote
- Jan 26, 2023datadog local check setup same as check_mk local check for monitoring0 votes
- Mar 31, 2021How does the serverless datadog forwarder encrypt/encode their logs?0 votes
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 4,183 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 repository44 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bazel/AGENTS.mdAGENTS.md
- omnibus/AGENTS.mdAGENTS.md
- packages/AGENTS.mdAGENTS.md
- tasks/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/agent_corecheck.mdcCursor rule
- .cursor/rules/e2e_tests.mdcCursor rule
- .cursor/rules/general-guidelines.mdcCursor rule
- .cursor/rules/system_probe_modules.mdcCursor rule
- agent-supply-chain-newsletterSkill
- alliumSkill
- anomalydetection-run-gensim-scenarioSkill
- auto-jiraSkill
- create-componentSkill
- create-config-fieldSkill
- create-core-checkSkill
- create-epic-recapSkill
- create-go-moduleSkill
- create-invoke-taskSkill
- create-prSkill
- create-release-noteSkill
- create-runtime-settingSkill
- create-status-providerSkill
- create-subcommandSkill
- cws-btfhub-syncSkill
- cws-iouring-coverageSkill
- describe-functional-changesSkill
- e2e-auditSkill
- explain-lading-configSkill
- follow-prSkill
- gpu-live-metric-validationSkill
- handle-pr-ci-failureSkill
- injector-devSkill
- locate-config-settingSkill
- quality-gate-size-analysisSkill
- review-pr-commentsSkill
- run-e2eSkill
- run-jiraSkill
- run-windows-e2eSkill
- triage-ci-failureSkill
- update-3rd-party-libsSkill
- update-otel-depsSkill
- write-e2eSkill
The file
We split this bazel-buildifier.mdc into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
When a change touches BUILD, BUILD.bazel, *.bzl, MODULE.bazel, or *.bazelrc, run:
- Distinctive: line 22
Do not commit until the test passes.
≈ “Common” is an estimate: at least 1 in 5 of the 6,668 Cursor rule 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
--- description: Run the buildifier test when Bazel files change globs: "**/*.bzl,**/*.bazel,**/BUILD,**/*.bazelrc" alwaysApply: false --- # Buildifier When a change touches `BUILD`, `BUILD.bazel`, `*.bzl`, `MODULE.bazel`, or `*.bazelrc`, run: ```sh bazel run //bazel/buildifier:test ``` That is the `bazel:run-buildifier-test` CI job. If it fails: ```sh bazel run //bazel/buildifier bazel run //bazel/buildifier:test ``` Do not commit until the test passes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

