-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19910 from newrelic/translations-c1b67634
Updated translations - (machine translation)
- Loading branch information
Showing
12 changed files
with
1,394 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
171 changes: 171 additions & 0 deletions
171
.../es/docs/alerts/get-notified/new-relic-webhook-for-microsoft-teams-workflow.mdx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,171 @@ | ||
--- | ||
title: Webhook de New Relic para el flujo de trabajo de Microsoft Teams | ||
tags: | ||
- Alerts | ||
- Incident intelligence | ||
- New Relic webhook for Microsoft Teams workflow | ||
metaDescription: Read about how to add a New Relic webhook for Microsoft Teams workflow. | ||
freshnessValidatedDate: never | ||
translationType: machine | ||
--- | ||
|
||
Microsoft retirará el servicio de conectores basado en webhooks de Microsoft 365 en Teams a fines de 2025. Para continuar recibiendo la notificación de alerta de New Relic, puede crear un flujo de trabajo dentro de Microsoft Teams usando la aplicación flujo de trabajo. Este documento proporciona instrucciones para actualizar sus destinos de alerta y flujo de trabajo de New Relic para garantizar una transición fluida y alertas ininterrumpidas en sus canales de Teams. Para obtener más información sobre cómo retirar los servicios de Conectores de Office 365, consulte [el blog para desarrolladores de Microsoft](https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/). | ||
|
||
**Prerrequisitos:** | ||
|
||
* Cree un nuevo flujo de trabajo en Microsoft Teams para las alertas de New Relic. Luego de crear el flujo de trabajo, copie la URL de la solicitud POST. Necesitarás esta URL en New Relic. Para obtener más información, consulte [la documentación de Microsoft para crear un flujo de trabajo en Teams](https://support.microsoft.com/en-us/office/create-incoming-webhooks-with-workflows-for-microsoft-teams-8ae491c7-0394-4861-ba59-055e33f75498). | ||
|
||
**Para agregar un webhook de New Relic para el flujo de trabajo de Microsoft Teams:** | ||
|
||
1. Actualizar el destino del webhook existente: | ||
|
||
1. Vaya a **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Alerts > Enrich and Notify > Destinations**. | ||
2. Haga clic en el destino del webhook requerido vinculado a Microsoft Teams para editarlo. | ||
3. Luego de crear un flujo de trabajo en Teams, en el campo **Endpoint URL**, reemplace la URL existente con una nueva URL. | ||
<img title="Destinations update page" alt="Destinations update page." src="/images/alerts_destination_enpointurl.webp" /> | ||
4. Haga clic en **Update destination**. | ||
|
||
2. Actualizar el flujo de trabajo del webhook existente: | ||
|
||
1. Vaya a **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) &gt; Alerts &gt; Enrich and Notify &gt; Workflows**. | ||
2. Para editar la carga útil de notificación, haga clic en el flujo de trabajo requerido vinculado con el destino. | ||
<img title="Workflow update page" alt="Workflow update page." src="/images/alerts_workflow_payload.webp" /> | ||
3. En la pantalla <DNT>Edit notification message</DNT> , en el campo **Template** , copie y pegue la siguiente carga útil: | ||
|
||
```json | ||
{ | ||
"type": "message", | ||
"attachments": [ | ||
{ | ||
"contentType": "application/vnd.microsoft.card.adaptive", | ||
"contentUrl": null, | ||
"content": { | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.2", | ||
"msteams": { "width": "full" }, | ||
"body": [ | ||
{ | ||
"type": "ColumnSet", | ||
"columns": [ | ||
|
||
{ | ||
"type": "Column", | ||
"items": [ | ||
{ | ||
"type": "Image", | ||
"style": "Person", | ||
"url": "https://avatars.slack-edge.com/2022-06-02/3611814361970_f6a28959c2e7258660ea_512.png", | ||
"size": "Small" | ||
} | ||
], | ||
"width": "auto" | ||
}, | ||
|
||
{ | ||
"type": "Column", | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"size": "large", | ||
"weight": "bolder", | ||
"text": "{{ priorityText }} priority issue is {{#if issueClosedAt}}CLOSED{{else}}{{#if issueAcknowledgedAt}}ACKNOWLEDGED{{else}}ACTIVATED{{/if}}{{/if}}" | ||
}, | ||
{ | ||
"type": "TextBlock", | ||
"size": "large", | ||
"wrap": "true", | ||
"maxLines": "2", | ||
"weight": "bolder", | ||
"text": "[{{ issueTitle }}]({{ issuePageUrl }})" | ||
} | ||
], | ||
"width": "stretch" | ||
} | ||
] | ||
}, | ||
{{#if accumulations.conditionDescription.[0]}} | ||
{ | ||
"type": "TextBlock", | ||
"text": {{ json accumulations.conditionDescription.[0] }}, | ||
"wrap": true | ||
}, | ||
{{/if}} | ||
{{#eq "Not Available" violationChartUrl}} | ||
{{else}} | ||
{ | ||
"type": "Image", | ||
"url": {{ json violationChartUrl }} | ||
}, | ||
{{/eq}} | ||
{ | ||
"type": "FactSet", | ||
"facts": [ | ||
{ | ||
"title": "*Impacted entities:*", | ||
"value": "{{#each entitiesData.names}}{{#lt @index 5}}{{this}}{{#unless @last}},{{/unless}}{{/lt}}{{/each}}" | ||
}, | ||
{{#if accumulations.policyName }} | ||
{ | ||
"title": "*Policy:*", | ||
"value": {{ json accumulations.policyName.[0]}} | ||
}, | ||
{{/if}} | ||
{{#if accumulations.conditionName }} | ||
{ | ||
"title": "*Condition:*", | ||
"value": {{ json accumulations.conditionName.[0]}} | ||
}, | ||
{{#eq impactedEntitiesCount 1}} | ||
{{else}} | ||
{ | ||
"title": "*Total Incidents:*", | ||
"value": {{ json impactedEntitiesCount}} | ||
}, | ||
{{/eq}} | ||
{{/if}} | ||
{ | ||
"title": "Workflow Name:", | ||
"value": {{ json workflowName }} | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "ActionSet", | ||
"actions": [ | ||
{ | ||
"type": "Action.OpenUrl", | ||
"title": "📥 Acknowledge", | ||
"url": {{ json issueAckUrl }} | ||
}, | ||
{ | ||
"type": "Action.OpenUrl", | ||
"title": "✔️ Close", | ||
"url": {{ json issueCloseUrl }} | ||
} | ||
{{#if accumulations.deepLinkUrl}} | ||
,{ | ||
"type": "Action.OpenUrl", | ||
"title": "🔎 View Query", | ||
"url": {{ json accumulations.deepLinkUrl.[0] }}, | ||
"mode": "secondary" | ||
} | ||
{{/if}} | ||
{{#if accumulations.runbookUrl}} | ||
,{ | ||
"type": "Action.OpenUrl", | ||
"title": "📕 View Runbook", | ||
"url": {{ json accumulations.runbookUrl.[0] }}, | ||
"mode": "secondary" | ||
} | ||
{{/if}} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
``` | ||
|
||
4. Haga clic en **Save message**. |
This file contains 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
This file contains 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
Oops, something went wrong.