Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,15 @@ Event sources
| `appsec/` | Application Security Monitoring |
| `tags/` | Tag extraction and propagation |
| `fips/` | FIPS mode cryptography support |

## Gotchas

### Be careful adding logs inside the logs pipeline

The extension re-ingests its own stdout/stderr as logs, so a line logged while handling a log
(in `logs/` — processor, agent, flusher) feeds back through the same pipeline. In a
per-log-line hot path this self-amplifies into a flood of both CloudWatch and Datadog logs,
worst at `DD_LOG_LEVEL=debug`.

Avoid logging in this area unless necessary; prefer a temporary instrumented build, or surface
signal via a metric instead.
Loading