SigNoz Cloud - This page is relevant for SigNoz Cloud editions.
Self-Host - This page is relevant for self-hosted SigNoz editions.

Alert Creation from Natural Language

Your recommendation service just went live in production. You need alerts configured now: high latency, error spikes, and service availability. But manually building alert rules means clicking through query builders, setting thresholds, and configuring notification channels.

You open your AI assistant, connected to SigNoz via the MCP server, and describe what you need in plain English.

Prerequisites

Step 1: Create Alerts from a Natural Language Prompt

Confirm the recommendation service is sending data. Then create three alerts: one for p99 latency above 2 seconds, one for error rate above 5%, and one for service availability.

Your assistant will first verify the service exists and is actively sending telemetry data, then create the alerts:

Using "demo-alerts" notification channel for all three alerts. Creating them now.

Alert 1: p99 latency above 2 seconds
✓ Created

Alert 2: error rate above 5%
✓ Created

Alert 3: Service availability — using alertOnAbsent to fire when no spans are received from the service.
✓ Created

All done. Here's the summary:

Recommendation service status: Sending data — 87 calls in the last hour (~0.024/sec), currently running at ~5.7% error rate.

Alerts created, all routed to demo-alerts, 5m evaluation window / 1m frequency:

1. P99 Latency > 2s (warning) — fires when recommendation's p99 trace duration exceeds 2000ms, recovers below 1500ms.
2. Error Rate > 5% (critical) — computed as errors / total_calls * 100 on recommendation traces, recovers below 3%.
3. No Data / Availability (critical) — fires if no spans arrive from the service for 5 minutes.

Two things worth flagging:

• Heads up on the error rate alert: the service is currently at ~5.7%, so this alert may fire immediately once evaluation starts. Let me know if you'd like the threshold raised or the window lengthened.
• I used a 5-minute absentFor for the availability alert. If you want something more sensitive (e.g., 2 minutes) or less noisy (e.g., 10 minutes), happy to adjust.

The alerts are now active and will notify you when thresholds are breached.

Final Summary

You now have three production-ready alerts configured from a simple prompt. Your recommendation service is being monitored for latency issues, error spikes, and availability problems. All without manually configuring query builders or notification channels.

Alerts View
Alerts View

Under the Hood

During this workflow, the MCP server called these tools:

StepMCP ToolWhat It Did
1signoz_list_servicesVerified the recommendation service exists and is actively sending telemetry data
1signoz_create_alertCreated the p99 latency alert with threshold and notification configuration
1signoz_create_alertCreated the error rate alert with percentage-based threshold
1signoz_create_alertCreated the service availability alert monitoring for data absence

If you need help with the steps in this topic, please reach out to us on SigNoz Community Slack.

If you are a SigNoz Cloud user, please use in product chat support located at the bottom right corner of your SigNoz instance or contact us at cloud-support@signoz.io.

Last updated: May 3, 2026

Edit on GitHub

Was this page helpful?

Your response helps us improve this page.

On this page

Is this page helpful?

Your response helps us improve this page.