Migrate Alerts from New Relic

Migrating alerts from New Relic to SigNoz involves recreating your alert conditions and notification channels in the SigNoz platform. This guide will help you transition your alerting setup effectively.

Understanding Alert Differences

Before migrating, it's important to understand the key differences between New Relic and SigNoz alerts:

FeatureNew RelicSigNozNotes
Alert TypesThreshold, NRQL, Anomaly, BaselineMetrics, Traces, Logs, Anomaly, ExceptionsSimilar coverage with different implementation
Notification ChannelsMultiple integrationsEmail, Slack, Teams, PagerDuty, Webhook, etc.Common channels supported
Query LanguageNRQLPromQL, ClickHouse SQLDifferent query languages for alert conditions
ManagementUI, API, TerraformUI, API, TerraformSimilar management options

Setting Up Notification Channels

Before migrating alerts, you'll need to set up notification channels in SigNoz. Both New Relic and SigNoz support various notification channels, though there are some differences in the available integrations.

Notification Channel Comparison

Notification ChannelNew RelicSigNoz
Email
Slack
Microsoft Teams
PagerDuty
OpsGenie
Webhook
Incident.ioVia Webhook
RootlyVia Webhook
ZendutyVia Webhook
ServiceNowVia Webhook
JiraVia Webhook
AWS EventBridgeVia Webhook
xMattersVia Webhook
VictorOps/SplunkVia Webhook

If a specific notification channel is not natively supported by SigNoz, you can use the Webhook channel type to integrate with these systems. This provides flexibility to connect with virtually any service that accepts webhook notifications.

To set up a notification channel in SigNoz:

  1. Navigate to Settings -> Alert Channel
  2. Click + New Alert Channel
  3. Select the channel type and configure the required settings

For detailed setup instructions, refer to the Alerts Notification Channel documentation.

Migrating Alert Conditions

SigNoz provides a comprehensive alert management system that supports:

Both Metrics-based and Anomaly-based alerts support using PromQL queries to define the alert condition, meaning you can use the same queries you used in New Relic NRQL alerts with appropriate translation.

Converting New Relic NRQL Alerts to SigNoz

Here are examples of converting common New Relic NRQL alert conditions to SigNoz:

Alert TypeNew Relic NRQLSigNoz Query
High CPU UsageSELECT average(cpuPercent) FROM SystemSample WHERE hostname = 'host1'avg(system_cpu_usage{host="host1"})
High Error RateSELECT percentage(count(*), WHERE error IS true) FROM Transactionsum(rate(http_server_request_count{status_code=~"5.."}[5m])) / sum(rate(http_server_request_count[5m])) * 100
High LatencySELECT average(duration) FROM Transaction WHERE appName = 'MyApp'avg(http_server_duration_milliseconds{service_name="MyApp"})

Using Terraform for Alert Management

If you manage alert rules as code in New Relic (for example, using newrelic Terraform provider), you can continue using the same approach when migrating to SigNoz by utilizing the SigNoz Terraform Provider.

Verifying Alert Migration

After migrating your alerts to SigNoz, verify that they're working correctly:

  1. Test alerts by temporarily lowering thresholds or triggering test conditions
  2. Verify that notifications are sent to the configured channels
  3. Monitor for any missed alerts during the transition period
  4. Gradually migrate all alerts, starting with non-critical ones

Next Steps

Once your alerts are successfully migrated to SigNoz, consider:

Was this page helpful?