Skip to content

Commit

Permalink
Merge branch 'develop' into NR-343902-ccus-for-alert-conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
adutta-newrelic committed Jan 16, 2025
2 parents 8302518 + 0f63be6 commit ec7dc30
Show file tree
Hide file tree
Showing 174 changed files with 8,580 additions and 5,401 deletions.
4 changes: 3 additions & 1 deletion scripts/releaseNotes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ const INCLUDE_AGENTS = new Set([
'python',
'ruby',
'sdk',
'fluentbit'
'fluentbit',
'nrdot',
'prometheus'
]);

const generateReleaseNoteObject = async (filePath) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ AI monitoring allows agents to recognize and capture AI data. AI monitoring has

When you disable distributed tracing or enable high security mode, the agent will not capture AI data.

<Callout variant="important">
You should not enable AI monitoring if you're a [FedRAMP customer](/docs/security/security-privacy/compliance/certificates-standards-regulations/fedramp-moderate), because AI and AI-based technologies are not currently FedRAMP authorized.
</Callout>

## Compatible AI libraries [#compatibility]

AI monitoring is compatible with these agent versions and AI libraries:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
---
title: New Relic webhook for Microsoft Teams workflow
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
---

Microsoft is retiring Microsoft 365 webhook-based Connectors service in Teams by the end of 2025. To continue receiving New Relic alert notifications, you can create a workflow within Microsoft Teams using the Workflows app. This document provides instructions for updating your New Relic alert destinations and workflows to ensure a smooth transition and uninterrupted alerts in your Teams channels. For more information about retiring the Office 365 Connectors services, refer [Microsoft developer blog](https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/).



**Prerequisites:**

* Create a new workflow in Microsoft Teams for New Relic alerts. After creating the workflow, copy the POST request URL. You will need this URL in New Relic. For more information, refer to [Microsoft's documentation to create workflows in Teams](https://support.microsoft.com/en-us/office/create-incoming-webhooks-with-workflows-for-microsoft-teams-8ae491c7-0394-4861-ba59-055e33f75498).


**To add a New Relic webhook for Microsoft Teams workflow:**


1. Update existing webhook destination:
1. Go to **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Alerts > Enrich and Notify > Destinations**.
2. Click the required webhook destination linked to Microsoft Teams to edit.
3. After creating workflows in Teams, in the **Endpoint URL** field, replace the existing URL with a new URL.
<img
title="Destinations update page"
alt="Destinations update page."
src="/images/alerts_destination_enpointurl.webp"
/>
4. Click **Update destination**.
2. Update existing webhook workflow:
1. Go to **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Alerts > Enrich and Notify > Workflows**.
2. To edit the notification payload, click the required workflow linked with the destination.
<img
title="Workflow update page"
alt="Workflow update page."
src="/images/alerts_workflow_payload.webp"
/>
3. On the <dnt>Edit notification message</dnt> screen, in the **Template** field, copy and paste the following payload:
```json
{
"type": "message",
"attachments": [
{
"contentType": "application/vnd.microsoft.card.adaptive",
"contentUrl": null,
"content": {
"$schema": "https://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.2",
"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": "medium"
}
],
"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. Click **Save message**.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ There are several ways you can install the .NET agent, which means there are sev

If you have other installations, see these install docs for those setups for more context:

* [Azure Web Apps](/docs/apm/agents/net-agent/azure-installation/install-net-agent-azure-web-apps/#site-extention-update)
* Docker: [for Windows](/install/dotnet/?deployment=windowsInstall&docker=yesDocker) | for [Linux](/install/dotnet/?deployment=linux&docker=yesDocker)
* [Nuget](/docs/apm/agents/net-agent/install-guides/install-net-agent-using-nuget)

Expand Down Expand Up @@ -77,7 +76,8 @@ Follow the update instructions for your agent:
>
To update the .NET agent for an Azure Web App using the New Relic Azure site extension follow the installation instructions to:

* Install the latest version of the New Relic Azure site extension, which updates the agent files to the latest version.
* Remove the New Relic Azure site extension, this uninstalls the agent
* Re-install the latest version of the New Relic Azure site extension using [these installation instructions](/install/dotnet/?deployment=azure&azure=azuresiteextension), which installs the latest version of the agent.
* Restart the web app to start the updated agent.
</Collapser>
</CollapserGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,22 +274,22 @@ version.
| Package name | Minimum supported version | Latest supported version | Introduced in* |
| --- | --- | --- | --- |
| `@apollo/gateway` | 2.3.0 | 2.9.3 | `@newrelic/[email protected]` |
| `@apollo/server` | 4.0.0 | 4.11.2 | `@newrelic/[email protected]` |
| `@aws-sdk/client-bedrock-runtime` | 3.474.0 | 3.716.0 | 11.13.0 |
| `@aws-sdk/client-dynamodb` | 3.0.0 | 3.716.0 | 8.7.1 |
| `@aws-sdk/client-sns` | 3.0.0 | 3.716.0 | 8.7.1 |
| `@aws-sdk/client-sqs` | 3.0.0 | 3.716.0 | 8.7.1 |
| `@aws-sdk/lib-dynamodb` | 3.377.0 | 3.716.0 | 8.7.1 |
| `@apollo/server` | 4.0.0 | 4.11.3 | `@newrelic/[email protected]` |
| `@aws-sdk/client-bedrock-runtime` | 3.474.0 | 3.723.0 | 11.13.0 |
| `@aws-sdk/client-dynamodb` | 3.0.0 | 3.724.0 | 8.7.1 |
| `@aws-sdk/client-sns` | 3.0.0 | 3.723.0 | 8.7.1 |
| `@aws-sdk/client-sqs` | 3.0.0 | 3.723.0 | 8.7.1 |
| `@aws-sdk/lib-dynamodb` | 3.377.0 | 3.724.0 | 8.7.1 |
| `@aws-sdk/smithy-client` | 3.47.0 | 3.374.0 | 8.7.1 |
| `@elastic/elasticsearch` | 7.16.0 | 8.17.0 | 11.9.0 |
| `@grpc/grpc-js` | 1.4.0 | 1.12.5 | 8.17.0 |
| `@hapi/hapi` | 20.1.2 | 21.3.12 | 9.0.0 |
| `@koa/router` | 11.0.2 | 13.1.0 | 3.2.0 |
| `@langchain/core` | 0.1.17 | 0.3.27 | 11.13.0 |
| `@nestjs/cli` | 9.0.0 | 10.4.9 | 10.1.0 |
| `@opensearch-project/opensearch` | 2.1.0 | 2.13.0 | 12.10.0 |
| `@prisma/client` | 5.0.0 | 6.1.0 | 11.0.0 |
| `@smithy/smithy-client` | 2.0.0 | 3.5.2 | 11.0.0 |
| `@opensearch-project/opensearch` | 2.1.0 | 3.0.0 | 12.10.0 |
| `@prisma/client` | 5.0.0 | 6.2.1 | 11.0.0 |
| `@smithy/smithy-client` | 2.0.0 | 4.1.0 | 11.0.0 |
| `amqplib` | 0.5.0 | 0.10.5 | 2.0.0 |
| `apollo-server` | 3.0.0 | 3.13.0 | `@newrelic/[email protected]` |
| `apollo-server-express` | 3.0.0 | 3.13.0 | `@newrelic/[email protected]` |
Expand All @@ -299,7 +299,7 @@ version.
| `cassandra-driver` | 3.4.0 | 4.7.2 | 1.7.1 |
| `connect` | 3.0.0 | 3.7.0 | 2.6.0 |
| `express` | 4.6.0 | 4.21.2 | 2.6.0 |
| `fastify` | 2.0.0 | 5.2.0 | 8.5.0 |
| `fastify` | 2.0.0 | 5.2.1 | 8.5.0 |
| `generic-pool` | 3.0.0 | 3.9.0 | 0.9.0 |
| `ioredis` | 4.0.0 | 5.4.2 | 1.26.2 |
| `kafkajs` | 2.0.0 | 2.2.4 | 11.19.0 |
Expand All @@ -310,16 +310,16 @@ version.
| `mongodb` | 4.1.4 | 6.12.0 | 1.32.0 |
| `mysql` | 2.2.0 | 2.18.1 | 1.32.0 |
| `mysql2` | 2.0.0 | 3.12.0 | 1.32.0 |
| `next` | 13.4.19 | 15.1.3 | 12.0.0 |
| `openai` | 4.0.0 | 4.77.0 | 11.13.0 |
| `next` | 13.4.19 | 15.1.4 | 12.0.0 |
| `openai` | 4.0.0 | 4.77.4 | 11.13.0 |
| `pg` | 8.2.0 | 8.13.1 | 9.0.0 |
| `pg-native` | 3.0.0 | 3.2.0 | 9.0.0 |
| `pino` | 7.0.0 | 9.6.0 | 8.11.0 |
| `q` | 1.3.0 | 1.5.1 | 1.26.2 |
| `redis` | 3.1.0 | 4.7.0 | 1.31.0 |
| `restify` | 11.0.0 | 11.1.0 | 2.6.0 |
| `superagent` | 3.0.0 | 10.1.1 | 4.9.0 |
| `undici` | 5.0.0 | 7.2.0 | 11.1.0 |
| `undici` | 5.0.0 | 7.2.1 | 11.1.0 |
| `when` | 3.7.0 | 3.7.8 | 1.26.2 |
| `winston` | 3.0.0 | 3.17.0 | 8.11.0 |

Expand Down Expand Up @@ -370,7 +370,6 @@ Through the `openai` module, we support:
| --- | --- | --- | --- | --- | --- |
|||||||


{/* end: compat-table */}

## Connect the agent to other New Relic features [#digital-intelligence-platform]
Expand Down
Loading

0 comments on commit ec7dc30

Please sign in to comment.