New to Kestra?
Use blueprints to kickstart your first workflows.
Audits New Relic APM applications for Apdex user satisfaction score degradation, evaluates latency SLA breaches, and alerts SRE teams via Slack.
Audits New Relic APM performance metrics to detect end-user satisfaction degradation, slow database transactions, and service latency anomalies.
If conditional task.flowchart TD
A[Schedule Trigger: Every 15 Minutes] --> B[Task: evaluate_newrelic_apdex]
B --> C{Task: check_apdex_degradation}
C -- Apdex Below Threshold --> D[Task: notify_slack_apdex_degradation]
C -- Nominal Performance --> E[Task: log_healthy_apdex]
D --> F[Task: export_apdex_manifest]
E --> F
While New Relic provides alerting policies, configuring custom multi-condition evaluations with contextual Slack actions across fragmented microservices requires substantial configuration overhead. Kestra offers a version-controlled, scheduled orchestration flow that queries New Relic REST APIs, evaluates complex satisfaction scores, maintains audit histories, and integrates seamlessly into incident response automation loops without extra agent daemons.
| Name | Type | Default | Description |
|---|---|---|---|
newRelicAppId |
STRING |
12345678 |
Numeric application ID for the target APM service in New Relic. |
minApdexThreshold |
FLOAT |
0.85 |
Minimum acceptable Apdex satisfaction score (ranging from 0.0 to 1.0) before alerting. |
newRelicApiKey |
SECRET |
None |
Encrypted New Relic REST API key or User API key with APM Read scope. |
slackWebhookUri |
SECRET |
None |
Encrypted Slack Incoming Webhook endpoint for alerting Service Reliability teams. |
Primary execution outputs exported by export_apdex_manifest:
app_name: Evaluated New Relic application service name.current_apdex: Real-time calculated Apdex satisfaction index.response_time_ms: Average transaction response duration in milliseconds.is_degraded: Boolean flag indicating whether Apdex breached threshold.recommended_action: Actionable remediation advice and triage links.Example expression: {{ outputs.export_apdex_manifest.value.is_degraded }}
NEW_RELIC_API_KEY: New Relic API authentication key.SLACK_WEBHOOK_URL: Slack Incoming Webhook URL.newRelicAppId to your target APM application ID from New Relic One.https://api.eu.newrelic.com. Ensure your API endpoint matches account region.T) configured in New Relic application settings.io.kestra.plugin.core.flow.ForEach.