Skip to content

Commit

Permalink
Merge branch 'develop' into NR-359962-sequence-filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
adutta-newrelic committed Feb 1, 2025
2 parents 7cf8b76 + ae0cdc8 commit 6a56813
Show file tree
Hide file tree
Showing 68 changed files with 2,749 additions and 1,449 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/agent-release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ name: Generate Agent Release Notes
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *' # 7PM PDT
- cron: '0 0 * * *' # At 00:00 UTC
- cron: '0 6 * * *' # At 06:00 UTC
- cron: '0 12 * * *' # At 12:00 UTC
- cron: '0 18 * * *' # At 18:00 UTC

jobs:
generate-json:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"rehype-format": "^5.0.0",
"rehype-parse": "^7.0.1",
"rehype-remark": "^8.0.0",
"remark-gfm": "^3.0.1",
"remark-rehype": "^8.0.0",
"rss": "^1.2.2",
"sequelize": "^6.21.3",
Expand Down
2 changes: 2 additions & 0 deletions scripts/actions/deserialize-html.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { encode as htmlEncode } from 'html-entities';

import handlers from './utils/handlers.mjs';
import { configuration } from './configuration.js';
import remarkGfm from 'remark-gfm';

/**
* Deserialize a node from the HTML AST into a node for the MDX AST.
Expand Down Expand Up @@ -142,6 +143,7 @@ const processor = unified()
// remark-mdx must come before remark-stringify, because it adds handlers
// for MDX nodes like `mdxJsxTextElement` and otherwise, remark-stringfy
// won't know how to stringify those nodes.
.use(remarkGfm)
.use(remarkMdx)
.use(stringify, {
bullet: '*',
Expand Down
2 changes: 2 additions & 0 deletions scripts/actions/serialize-mdx.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import toMDAST from 'remark-parse10';
import frontmatter from 'remark-frontmatter5';
import remarkMdx from 'remark-mdx2.3';
import remark2rehype from 'remark-rehype10';
import remarkGfm from 'remark-gfm';
import addClasses from 'rehype-add-classes';
import rehypeStringify from 'rehype-stringify10';
import format from 'rehype-format';
Expand Down Expand Up @@ -42,6 +43,7 @@ const mdxSpanExpression = (h, node) => {
const processor = unified()
.use(toMDAST)
.use(remarkMdx)
.use(remarkGfm)
.use(frontmatter, ['yaml'])
.use(fencedCodeBlock)
.use(customHeadingIds)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ To learn more about specific permissions, select a category below, or try search
* <DNT>**Application settings**</DNT>: relates to browser application settings.
* <DNT>**Domain conditions**</DNT>: relates to [browser domain conditions](/docs/browser/new-relic-browser/configuration/monitor-or-block-specific-domains-subdomains).
* <DNT>**Segment allow lists**</DNT>: relates to segmenting [allow lists](/docs/browser/new-relic-browser/configuration/group-browser-metrics-urls).
* <DNT>**View session replays**</DNT>: relates to [viewing replays.](/docs/browser/browser-monitoring/browser-pro-features/session-replay).
* <DNT>**View session replays**</DNT>: relates to [viewing replays.](/docs/browser/browser-monitoring/browser-pro-features/session-replay/get-started).
</Collapser>

<Collapser
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ To manage your users' user type from Okta:

4. Next, you'll configure your Okta user profile to have this field. Steps:
* In the <DNT>**Profile editor**</DNT>, go to <DNT>**Users**</DNT> and click the <DNT>**User (default)**</DNT> profile.
* Add a new <DNT>**New Relic user type**</DNT> attribute to that profile ([see Okta user profile instructions](https://developer.okta.com/docs/concepts/user-profiles/#universal-directory-schemas)). How you set this will depend on your own setup and preferences for defining user type. Note that the expected values for user type are `Basic User`, `Core User`, and `Full User`. Below is an example with information filled in.
* Add a new <DNT>**New Relic user type**</DNT> attribute to that profile ([see Okta user profile instructions](https://developer.okta.com/docs/concepts/user-profiles/#universal-directory-schemas)). How you set this will depend on your own setup and preferences for defining user type. Note that the expected values for user type are `Basic User`, `Core User`, and `Full User`, which all are case sensitive. Below is an example with information filled in.
<img title="Set Okta user profile to have new attribute" alt="Set Okta user profile to have new attribute" src="/images/accounts_screenshot-crop_Okta-add-user-type-to-profile.webp"/>

5. In the <DNT>**People**</DNT> section, define the user type for your users. How you do this will depend on your setup and preferences. For example, you may choose to set this manually by setting each user’s user type, or you may use Okta to manage these in bulk.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -529,13 +529,13 @@ Once your SCIM API integration is complete, all users brought into New Relic sta

The user's type attribute is defined in the [custom schema](/docs/accounts/accounts/automated-user-management/scim-support-automated-user-management#user-type) `urn:ietf:params:scim:schemas:extension:newrelic:2.0:User`. Include this schema and the `nrUserType` string attribute in your create or update request to set a user's type.

Valid values for `nrUserType` include:
Valid values for `nrUserType` include, which all are case sensitive:

* `Full User`
* `Core User`
* `Basic User`

To create a new `Basic user` send a `POST` request `/scim/v2/Users` and include the custom New Relic schema extension:
To create a new `Basic User` send a `POST` request `/scim/v2/Users` and include the custom New Relic schema extension:

```shell
curl -X 'POST' -H 'Content-Type: application/json' -H "Authorization: Bearer $YOUR_TOKEN" 'https://scim-provisioning.service.newrelic.com/scim/v2/Users' --data-binary @- <<EOF
Expand Down
66 changes: 66 additions & 0 deletions src/content/docs/agentic-ai/alert-intelligence-tool.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
title: Alert Intelligence Tool
metaDescription: "The Alert Intelligence Tool within New Relic's Agentic Integration enhances your ability to assess application health and performance through the agentic integration with our partners."
tags:
- GitHub Copilot Integration
- New Relic AI
- Agentic AI
freshnessValidatedDate: never
---


The Alert Intelligence Tool within New Relic's Agentic Integration enhances your ability to assess application health and performance through the agentic integration with our partners. This tool allows users to inquire about alerts and anomalies related to their applications, providing real-time insights and facilitating efficient troubleshooting. This tool provides detailed insights into your application's alert history and current issues, enabling you to quickly identify and address any problems that may arise, ensuring a smooth and reliable user experience.


Your access to the New Relic platform grants you comprehensive visibility into all data related to your application


### Alert Intelligence features [#features]

The Alert Intelligence tool offers a range of features to help you monitor and analyze your application's performance:

- **Aggregate report**: Provides a comprehensive summary of key alert metrics directly within your preferred partner agentic chat experience, such as:

- **Security Vulnerabilities:** Identification of new security vulnerabilities detected in the monitored timeframe.
- **Log issues:** Detection of errors, warnings, or other log-related issues.
- **Tracing information:** Detailed tracing data for in-depth analysis.
- **Golden signals:** Alerts indicating anomalous values in latency, traffic, errors, or saturation.
- **Threshold alerts:** Notifications for alerts that exceed predefined thresholds.
- **Error reporting:** Comprehensive error tracking and reporting capabilities.
- **Direct links:** Provides direct links to New Relic for further investigation of any issues discovered, allowing for deeper insights and analysis.

- **Alert analysis**: Offers a detailed analysis of the alert history, including the alert type, severity, and any issues encountered.



### Use the Alert Intelligence [#use]


**Prerequisites:**

- Ensure that you have enabled [New Relic AI](/docs/new-relic-solutions/new-relic-one/core-concepts/new-relic-ai/#enable) and configured [alerts](/docs/alerts/overview/).

**To use alert intelligence:**

<table>
<thead>
<tr>
<th>Action</th>
<th>Example prompt</th>
</tr>
</thead>
<tbody>
<tr>
<td>To generate a Alert Intelligence report</td>
<td>`@newrelic I just got paged by an alert? What happened`</td>
</tr>
<tr>
<td>To analyze a specific alert</td>
<td>`@newrelic analyze alert <alert_id>`</td>
</tr>
<tr>
<td>To focus on a specific service or time frame</td>
<td>`@newrelic check for recent alerts related to <service_name> in the past <time frame>`</td>
</tr>
</tbody>
</table>
68 changes: 68 additions & 0 deletions src/content/docs/agentic-ai/change-intelligence-tool.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
title: Change Intelligence Tool
metaDescription: "The Change Intelligence tool in New Relic provides detailed insights into your application's performance and stability following each new deployment, enabling you to swiftly identify and address any issues that may arise, ensuring a smooth and reliable user experience."
tags:
- GitHub Copilot Integration
- New Relic AI
- Agentic AI
freshnessValidatedDate: never
---


The Change Intelligence Tool within New Relic's Agentic Integration enhances your ability to assess application performance through the agentic integration with our partners. This tool allows users to inquire about performance metrics and system behavior following application deployment to provide real-time insights and facilitate efficient post-deployment analysis. This tool provides detailed insights into your application's performance and stability following each new deployment. This enables you to quickly identify and address any issues that may arise, ensuring a smooth and reliable user experience.

Your access to the New Relic platform grants you comprehensive visibility into all data related to your application.


### Change Intelligence features [#features]

The Change Intelligence tool offers a range of features to help you monitor and analyze your application's performance post-deployment:

- Tracking application performance post-deployment.
- **Aggregate report**: Provides a comprehensive summary of key performance metrics directly within your native GitHub Copilot experience, such as:

- **Security vulnerabilities**: Identification of new security vulnerabilities detected since the last deployment.
- **Log issues**: Detection of errors, warnings, or other log-related issues.
- **Tracing information**: Detailed tracing data for in-depth analysis.
- **Golden signals**: Alerts indicating anomalous values in latency, traffic, errors, or saturation.
- **Threshold alerts**: Notifications for alerts that exceed predefined thresholds.
- **Error reporting**: Comprehensive error tracking and reporting capabilities.

- **Direct links**: Provides direct links to New Relic for further investigation of any issues discovered, allowing for deeper insights and analysis.
- **Deployment analysis**: Offers a detailed analysis of the deployment process, including the deployment number, status, and any issues encountered.


### Use the Change Intelligence [#use]


**Prerequisites:**

- Ensure that you have enabled both [New Relic AI](/docs/new-relic-solutions/new-relic-one/core-concepts/new-relic-ai/#enable) and [Change Tracking](/docs/change-tracking/change-tracking-introduction/).

<Callout variant="tip" title="tip">

For more information on integrating the New Relic Change Tracking feature with GitHub Actions, refer [Track changes with Github Actions](/docs/change-tracking/ci-cd/change-tracking-github-actions).

</Callout>


**To use change intelligence:**

<table>
<thead>
<tr>
<th>Action</th>
<th>Example prompt</th>
</tr>
</thead>
<tbody>
<tr>
<td>To generate a Change Intelligence report</td>
<td>`@newrelic how did my deployment for <entity_name> go?`</td>
</tr>
<tr>
<td>To analyze a specific deployment</td>
<td>`@newrelic analyze deployment <deployment_number>` or `<deployment_number>`</td>
</tr>
</tbody>
</table>
56 changes: 56 additions & 0 deletions src/content/docs/agentic-ai/github-copilot-integration.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
title: New Relic Agent for GitHub Copilot
metaDescription: "The New Relic agent for GitHub Copilot extension provides intelligent insights and guidance tailored to optimize application performance, monitor infrastructure, and manage deployments—all seamlessly integrated within GitHub Copilot."
tags:
- GitHub Copilot Integration
- New Relic AI
- Agentic AI
freshnessValidatedDate: never
---

The New Relic agent for GitHub Copilot extension provides intelligent insights and guidance tailored to optimize application performance, monitor infrastructure, and manage deployments—all seamlessly integrated within GitHub Copilot.

This guide will walk you through the process of installing and using the New Relic agent within the GitHub Copilot extension.

## Install the New Relic Agent in GitHub Copilot [#install-new-relic-agent]

### Prerequisites [#prerequisites]

Before you begin, make sure that the following prerequisites are met to ensure a smooth setup process:

- An IDE is installed on your system.
- You have access to [GitHub Copilot](https://github.com/features/copilot).
- The GitHub Copilot extension is installed in your IDE. For more information, refer [GitHub Copilot documentation](https://docs.github.com/en/copilot/managing-copilot/configure-personal-settings/installing-the-github-copilot-extension-in-your-environment).
- The [GitHub Copilot extension policy](https://docs.github.com/en/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#setting-a-policy-for-github-copilot-extensions-in-your-organization) is enabled for your organization.

<Callout variant="tip" title="tip">
If you want to restrict access to GitHub Copilot for certain roles, configure the settings on GitHub. To restrict access to New Relic AI for specific roles or employees, you can use New Relic's Role-Based Access Control (RBAC). For more information, refer [New Relic user management](/docs/accounts/accounts-billing/new-relic-one-user-management/user-management-concepts/#understand-concepts).
</Callout>

**To install New Relic Agent in GitHub Copilot:**

1. On GitHub MarketPlace, go to [New Relic Agent](https://github.com/marketplace/newrelic-copilot-extension).
2. Click **Add > Install it for free**.

After the agent is installed, you can use it within the GitHub Chat extension in your IDE. For more information, refer [using the New Relic Agent in Copilot](#communicate-with-new-relic-agent-in-gitHub-copilot).


## Communicate with New Relic Agent in GitHub Copilot [#communicate-with-new-relic-agent-in-gitHub-copilot]

The New Relic agent within Github Copilot can assist with a variety of tasks and offer valuable insights. To interact with the New Relic Agent, in the Copilot chat input box, type `@newrelic`.

### Sign-in to New Relic Agent [#sign-in]

When you initiate conversation for the first-time with New Relic Agent, you will be prompted to sign in. Follow the instructions to complete the sign-in process.

### Chat message structure [#chat-message-structure]

To interact with the New Relic Agent, enter your prompt as follows:

``` @newrelic <your message> ```

Where:

- `@newrelic`: Interaction with the New Relic Agent.
- `<your message>`: Action to submit to the agent for processing.

60 changes: 60 additions & 0 deletions src/content/docs/agentic-ai/introduction-agentic-ai.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
title: Getting Started with New Relic Agentic Integration
metaDescription: "New Relic's Agentic Integration provides an AI-driven solution to automate and optimize observability workflows, enhancing system management and monitoring"
tags:
- GitHub Copilot Integration
- New Relic AI
- Agentic AI
freshnessValidatedDate: never
---

<Callout title="preview">
We're still working on this feature, but we'd love for you to try it out!

This feature is currently provided as part of a preview program pursuant to our [pre-release policies](/docs/licenses/license-information/referenced-policies/new-relic-pre-release-policy).
</Callout>

New Relic's Agentic Integration provides an AI-driven solution to automate and optimize observability workflows, enhancing system management and monitoring. This integration facilitates seamless operations by automating repetitive tasks through AI agents, reducing manual intervention. By integrating seamlessly with platforms such as, GitHub Copilot, Amazon Q, Gemini Code Assist, and ServiceNow, Agentic Integrations transform complex workflows into seamless operations.


## Key features [#features]

- **Intelligent automation:** Leverage AI to automate and streamline complex workflows, reducing the need for manual tool-switching and enhancing productivity.
- **Enhanced observability:** Gain comprehensive insights into your systems, enabling faster detection, analysis, and resolution of incidents.
- **Seamless integration:** Connect with popular platforms such as GitHub Copilot to bring powerful analytics and insights directly into your existing workflows.

## Current integrations [#integrations]

### GitHub Copilot [#github-copilot]

Integrate New Relic insights directly into your IDE with GitHub Copilot. You can use Agent AI to access logs, errors, and recommendations without leaving your coding environment. It provides real-time insights as they develop and deploy the code.

This integration offers:

- Automated deployment checks.
- Real-time alerts and error tracking.
- Probabilistic recommendations for deployment actions.

For more information, refer [Getting Started with New Relic Agent for GitHub Copilot](/docs/agentic-ai/github-copilot-integration).

## Tools [#tools]

Each agentic integration comes with various tools to use New Relic platform capabilities and provide observability insights, alerts, and predictions:

- **[Change Intelligence Tool:](/docs/agentic-ai/change-intelligence-tool)** The change intelligence tool assists you to understand and mitigate potential risks by providing comprehensive change analysis and forecasting. You can use this tool to gain instant insights into the impact of system changes. It helps you to assess the potential risks associated with deployments and configuration modifications. For more information, refer [Change Intelligence Tool](/docs/agentic-ai/change-intelligence-tool).

- **[Alert Intelligence Tool](/docs/agentic-ai/alert-intelligence-tool):** The Alert Intelligence tool offers advanced alert analysis to swiftly resolve incidents. It provides real-time notifications and immediate recommendations to prevent escalation. For more information, refer [Alert Intelligence Tool](/docs/agentic-ai/alert-intelligence-tool).


## Pricing [#pricing]


Your use of Agentic Integrations are billable during preview in accordance with your Order as an Advanced Compute Product regardless of user type. For Advanced Compute Product features, related New Relic Query Language queries (NRQLS) are also billable as Advanced Compute. New Relic intends to release Agentic Integrations as an Advanced Compute Product feature once generally available.

For further details on pricing, please contact our sales team or refer to your Order.



## Stay updated [#stay-updated]

This page will be continuously updated with new documentation and resources. We're committed to providing you with the leading edge in observability technology. Stay tuned for the latest developments and opportunities.
Loading

0 comments on commit 6a56813

Please sign in to comment.