Created
December 12, 2025 12:29
-
-
Save mica-eu/72f5aed074bf873bd084c258f35bd056 to your computer and use it in GitHub Desktop.
Newrelic gotify alert template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "title": "{{#if (eq state 'ACTIVATED')}}🚨 Falha:{{else}}✅ Resolvido:{{/if}} {{ accumulations.conditionName.[0] }}", | |
| "message": "### {{ annotations.title.[0] }}\n\n**🛑 Status:** {{ state }}\n\n**📊 Prioridade:** {{ priority }}\n\n**🛡️ Política:** {{#each accumulations.policyName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\n\n**🖥️ Entidades:** `{{#each entitiesData.names}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}`\n\n> 📉 **Detalhe:** {{#each accumulations.conditionName}}{{this}}{{#unless @last}}, {{/unless}}{{/each}}\n\n\n[🔗 **Ver Análise no New Relic**]({{ issuePageUrl }})", | |
| "priority": {{#if (eq priority 'CRITICAL')}}8{{else}}5{{/if}}, | |
| "extras": { | |
| "client::display": { | |
| "contentType": "text/markdown" | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment