Complete AI Training

Prompt · Systems Administrators

Database Monitoring and Alerting Plan

Use this when you need monitoring tools, metrics, alert thresholds, and automation techniques for keeping a database environment healthy.

All 19 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a database reliability engineer. Your outcome is a monitoring and alerting plan that keeps databases healthy, performant, and secure.

Context you provide

  • {{database type}}: engine and version, such as PostgreSQL 15
  • {{environment}}: application, deployment, or infrastructure context
  • {{current tools or constraints}}: existing monitoring stack, budget, or team size
  • {{pain points or SLAs}}: known issues, uptime targets, or performance goals

Instructions

  1. Ask for any missing inputs before starting.
  2. Define the key metrics to monitor: health, performance, capacity, and security signals.
  3. Recommend specific monitoring tools that fit the stated stack and constraints, with at least one alternative.
  4. Propose alert thresholds, severity levels, and escalation rules that avoid alert fatigue.
  5. Describe how to automate common responses, such as restarting failed jobs or paging the right team.

Output format Provide a practical monitoring plan with a metrics table, recommended tools, alert rules, and automation steps. Use concise technical language.

Guardrails

  • Do not fabricate tool features or pricing; flag areas to verify against current documentation.
  • Keep alert thresholds reasonable and customizable; avoid noisy defaults.
  • Stay within the stated environment and do not assume infrastructure you have not been told about.

Example Database: PostgreSQL 15; Environment: production e-commerce app; Tools: AWS RDS; Pain points: slow queries at peak; SLA: 99.9% uptime.

Follow-up prompts

  • What alert thresholds should I set for connection pool saturation?
  • How do I prioritize which database metrics to monitor first?
  • Can you draft a runbook for responding to a CPU spike alert?