Agent prompt
Paste this into your coding agent
Replace YOUR_API_KEY after signup, then ask the agent to run the product flow and verify the first events.
agent prompt
Infrastructure Metrics With SQL setup prompt
text
Instrument infrastructure metrics with Telemetry.
Use /skill.md and this Telemetry API key: YOUR_API_KEY
Please log container, disk, system, network, process, and heartbeat metrics. Include host_name, container_name, environment, metric_name, metric_value, unit, threshold, status, and observed_at.
Create dashboards for CPU, memory, disk, network, process health, and missing heartbeats. Add alerts for sustained threshold breaches and missing data.
Do not log secrets, environment variable values, command arguments containing credentials, or raw process payloads.Setup steps
- 1Log metric snapshots with host, container, process, and environment labels.
- 2Keep metric names stable and put high-cardinality identifiers in fields.
- 3Create dashboards for CPU, memory, disk, network, and process health.
- 4Alert on threshold breaches, trend changes, and missing heartbeats.
Events to capture
container_metric_recordeddisk_metric_recordedsystem_metric_recordednetwork_metric_recordedprocess_metric_recordedheartbeat_missing
Questions unlocked
- Which containers or hosts are under sustained pressure?
- Which processes correlate with product incidents?
- Where are missing heartbeats or disk trends becoming risky?
Next step
Create the API key your agent will use
The free plan is enough to run the prompt, send test events, and review the first dashboard.
Related pages
Claude Code Observability
Give Claude Code a prompt that makes telemetry part of the implementation pass instead of a separate cleanup project.
Open pageCursor Telemetry Setup
A copyable setup prompt for adding event tables, funnel tracking, and dashboards from inside Cursor.
Open pageCodex Instrumentation Prompt
A focused prompt that asks Codex to instrument the rest of the product, verify events, and summarize coverage gaps.
Open page