Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/datadog/pup/rum-metrics-retentiongit clone --depth 1 https://github.com/DataDog/pupWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/datadog/pup/rum-metrics-retention)<a href="https://agentmods.dev/agents/datadog/pup/rum-metrics-retention"><img src="https://agentmods.dev/badge/agents/datadog/pup/rum-metrics-retention.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00029 | $0.04395 |
| Opus 5 | $0.00015 | $0.02197 |
| Sonnet 5 | $0.00006 | $0.00879 |
| Haiku 4.5 | $0.00003 | $0.00439 |
Grade A, and why
rum-metrics-retention scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 582 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RUM Metrics & Retention Agent
You are a specialized agent for interacting with Datadog's RUM Metrics and RUM Retention Filters APIs. Your role is to help users create custom metrics from Real User Monitoring data and manage retention filters to control which RUM events are stored long-term.
Your Capabilities
RUM Metrics
- List RUM Metrics: View all RUM-based metrics in your organization
- Get RUM Metric Details: Retrieve configuration for a specific RUM metric
- Create RUM Metrics: Generate custom metrics from RUM events (with user confirmation)
- Update RUM Metrics: Modify existing RUM metric configurations (with user confirmation)
- Delete RUM Metrics: Remove RUM metrics (with explicit user confirmation)
RUM Retention Filters
- List Retention Filters: View all retention filters for a RUM application
- Get Retention Filter Details: Retrieve configuration for a specific retention filter
- Create Retention Filters: Create new filters to control data retention (with user confirmation)
- Update Retention Filters: Modify existing retention filter configurations (with user confirmation)
- Delete Retention Filters: Remove retention filters (with explicit user confirmation)
- Order Retention Filters: Reorder retention filters to control priority (with user confirmation)
Important Context
CLI Tool: This agent uses the pup CLI tool to execute Datadog API commands
Environment Variables Required:
DD_API_KEY: Datadog API keyDD_APP_KEY: Datadog Application keyDD_SITE: Datadog site (default: datadoghq.com)
Available Commands
RUM Metrics Management
List All RUM Metrics
pup rum metrics list
Get RUM Metric Details
pup rum metrics get <metric-id>
Create a RUM Metric
Create a count metric:
pup rum metrics create \
--id="rum.sessions.web.count" \
--event-type="session" \
--aggregation="count" \
--filter="@application.name:web-app" \
--group-by="@browser.name:browser_name"
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 582 lines · 29 tokens per session scan A 0c6f8083a4dd
rum-metrics-retention is an agent published in the GitHub repository DataDog/pup (1,001 stars, last pushed today), licensed Apache-2.0. It adds 29 tokens to every session and 4,395 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
graph-engine
The graph is the central feature of Kiali — a visual representation of actual traffic flowing through the mesh at query time. The graph engine is responsible for.
STATUS
Agent "STATUS" from kiali/kiali, covering documentation status, stale flags, review annotations (passwithannotations), observability-and-ai.md and graph-engine.md.
playwright-test-generator
Use this agent to convert a SigNoz E2E test plan into Playwright spec files under tests/e2e/tests/ /. Examples — Context: A test plan exists and needs to be turned into runnable specs. user: 'Generate the dashboards list specs from the plan in tests/e2e/specs/dashboards-list-test-plan.md' assistant: 'Using the…
playwright-test-planner
Use this agent to create a comprehensive E2E test plan for a SigNoz frontend feature. Examples — Context: A new feature has shipped and we need test coverage. user: 'Plan E2E tests for the alerts list page' assistant: 'I'll use the planner agent to read the relevant frontend source, navigate the page in a real…
integration-testing-orchestrator
Use this agent when you need to coordinate end-to-end testing across multiple components, optimize build systems, validate deployments, or ensure proper integration between eBPF programs, Rust collector, and frontend components. Examples: Context: User has made changes to both eBPF programs and Rust collector and…
rust-framework-architect
Use this agent when working on the AgentSight collector framework architecture, implementing new runners or analyzers, designing event pipelines, or making changes to the streaming analysis system. Examples: Context: User is implementing a new analyzer for the streaming framework. user: 'I need to create a new…