Skip to content

Commit 6a94d18

Browse files
committed
Merge branch 'develop' into alanwest/apm-otel
2 parents 6b08dd6 + 61f526c commit 6a94d18

File tree

281 files changed

+19197
-4646
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

281 files changed

+19197
-4646
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"date-fns": "^2.17.0",
1919
"gatsby": "4.25.7",
2020
"gatsby-plugin-manifest": "4.25.0",
21-
"gatsby-plugin-mdx": "3.4.0",
21+
"gatsby-plugin-mdx": "3.15.2",
2222
"gatsby-plugin-netlify": "^5.1.1",
2323
"gatsby-plugin-react-helmet": "^5.4.0",
2424
"gatsby-plugin-sharp": "4.25.1",

scripts/releaseNotes.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ const INCLUDE_AGENTS = new Set([
7474
'fluentbit',
7575
'nrdot',
7676
'prometheus',
77+
'streaming_for_mobile',
78+
'streaming_for_browser',
79+
'streaming_for_others',
7780
'aws_firehose_log_forwarder',
7881
'aws_lambda_log_forwarder'
7982
]);
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: "Optimize your compute usage"
3+
metaDescription: "Discover New Relic's compute optimizer to manage and reduce your compute usage. Get actionable insights and recommendations to optimize inefficient alert conditions and queries, ensuring efficient resource usage and significant savings."
4+
freshnessValidatedDate: never
5+
---
6+
7+
The compute optimizer tool provides actionable insights to help you manage compute spend and implement automated compute controls. This means you can identify inefficient areas, receive clear recommendations for optimization, and ultimately achieve potential compute savings, improved query efficiency, and a more streamlined New Relic experience.
8+
9+
## Access compute optimizer
10+
You'll find the compute optimizer in the administration panel within New Relic.
11+
12+
1. Log in to New Relic.
13+
2. Open your personal settings by clicking your user name in the bottom-left corner of the New Relic interface. Go to the administration panel.
14+
3. Click **compute optimizer** to access the dashboard.
15+
16+
<img
17+
title="Compute optimizer dashboard"
18+
alt="Image of the compute optimizer dashboard"
19+
src="/images/compute_optimizer.webp"
20+
/>
21+
22+
## The compute optimizer dashboard
23+
The compute optimizer dashboard presents two crucial metrics:
24+
25+
- **Inefficient usage:** This provides an overview several of inefficient compute areas identified in your account.
26+
- **Potential savings:** This metric quantifies the estimated savings you can achieve by implementing the recommendations provided by the tool.
27+
28+
### Recommendations
29+
The core of the compute optimizer is the recommendations table, which breaks down the identified optimization opportunities:
30+
31+
- **Component name:** Identifies the specific item or instance that has an optimization opportunity (for example, the name of a particular alert condition).
32+
- **Product capability:** Identifies the broader New Relic product capability associated with the optimization opportunity. The initial release focuses on alert conditions.
33+
- **CCU usage:** Provides an understanding of the current compute consumption (CCU usage) for each listed component, helping you understand its current impact.
34+
- **Recommendation:** Offers actionable insights for optimizing your compute. For example, you might see a recommendation to "Add a `WHERE` clause outside the `SELECT` statement," which could save a significant percentage of CCUs for a specific alert condition.
35+
- **CCU savings estimate:** This quantifies the potential compute reduction for each individual recommendation listed in the table. For example, if a recommendation is to optimize **alert X**, this column shows the specific CCU savings you could achieve just for **alert X**. All these individual CCU savings estimate values suggested in each row are then added together to calculate the total potential savings metric.
36+
37+
All insights presented in the compute optimizer are dynamic and based on your time picker settings, allowing you to analyze data relevant to specific periods.
38+
39+
The action menu for each recommendation offers an optimized query wherever applicable, making it easy to implement the suggested changes directly.

src/content/docs/agentic-ai/knowledge-integration/overview.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ This RAG approach significantly improves the accuracy and relevance of the respo
2727

2828
## Key features
2929
With New Relic AI knowledge connector, you can:
30-
- **Resolve incidents faster:** Gain immediate access to relevant context from your internal runbooks and documentation directly within New Relic AI, leading to quicker mean time to resolution (MTTR).
31-
- **Get actionable, tailored recommendations:** The answers provided are specific to your environment and based on your own best practices and historical data.
32-
- **Answer critical, context-specific questions:** Easily find solutions to problems that have been solved before. Ask questions like:
30+
- Gain access to relevant context from your internal runbooks and documentation directly within New Relic AI, leading to quicker mean time to resolution (MTTR).
31+
- The answers provided are specific to your environment and based on your own best practices and historical data.
32+
- Easily find solutions to problems that have been solved before. Ask questions like:
3333
- "Who has resolved similar issues in the past?"
3434
- "What are the standard triage steps for this type of alert?"
3535
- "Show me the runbook for a `database connection limit exceeded` error."
@@ -54,17 +54,17 @@ This flexibility allows your organization to control who has the ability to mana
5454
## Configure data source and indexing frequency [#configure]
5555
You can connect your knowledge sources using either pre-built connectors or the [knowledge connector API](/docs/apis/nerdgraph/examples/nerdgraph-rag) for more custom integrations.
5656

57-
To start indexing your Confluence content, you need:
57+
To start indexing Confluence content, you need:
5858

5959
- Confluence URL with your unique Confluence cloud ID: https://api.atlassian.com/ex/confluence/[cloud_id]
6060
- A Confluence API key with the following minimum required scopes:
6161
- `read:confluence-content.all`
6262
- `read:confluence-space.summary`
6363
- `read:content:confluence`
6464
- `read:content-details:confluence`
65+
- Relevant query parameter using Confluence Query Language (CQL) to filter the list of returned content to be indexed
6566

66-
67-
To start indexing your Confluence content and benefit from the knowledge connector with New Relic AI, follow the mentioned steps:
67+
To start indexing your content and benefit from the knowledge connector with New Relic AI, follow the mentioned steps:
6868

6969
<Steps>
7070

@@ -77,7 +77,7 @@ To start indexing your Confluence content and benefit from the knowledge connect
7777
</Step>
7878

7979
<Step>
80-
Select <DNT>**Confluence NRAI Knowledge Connector**</DNT>.
80+
Select <DNT>**one of the available connectors**</DNT>.
8181
</Step>
8282

8383
<Step>
@@ -103,7 +103,7 @@ To start indexing your Confluence content and benefit from the knowledge connect
103103
</td>
104104

105105
<td>
106-
Enter a unique name for your connector, example <DNT>**Demo connector**</DNT>.
106+
Enter a unique name for your connector (example, <DNT>Demo Connector</DNT>).
107107
</td>
108108
</tr>
109109

@@ -196,7 +196,7 @@ To start indexing your Confluence content and benefit from the knowledge connect
196196
## Data synchronization and querying [#data-sync-query]
197197
Once your data source is connected, New Relic will begin to synchronize and index your knowledge articles. After the initial synchronization is complete, your team can begin asking questions through the New Relic AI chat. Additionally, New Relic AI will automatically use the knowledge connector tool to search your indexed documents and provide contextual responses on the “What happened previously?” portion of the [issue page](/docs/alerts/incident-management/Issues-and-Incident-management-and-response/#issue-summary).
198198

199-
## Supported connectors:
199+
## Supported connectors
200200

201201
<Callout title="important">
202202
If you’d like to make a request for an unsupported connector, fill out this [form](https://forms.gle/ZHs4mpFKdsqtfNJW7).

src/content/docs/alerts/admin/rules-limits-alerts.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,26 @@ This page describes limits and rules pertaining to New Relic <InlinePopover type
325325
[Depends on channel](/docs/alerts/get-notified/intro-notifications/#channels)
326326
</td>
327327
</tr>
328+
329+
<tr>
330+
<td id="destination">
331+
Destination
332+
</td>
333+
<td>
334+
Destination limitations
335+
</td>
336+
<td>
337+
1 Destination
338+
</td>
339+
<td>
340+
* EMAIL: 10k
341+
* WEBHOOK: 10k
342+
* Slack: 10k
343+
* PAGERDUTY_SERVICE_INTEGRATION: 20k
344+
* Other than that: 5k
345+
</td>
346+
</tr>
347+
328348
</tbody>
329349
</table>
330350

src/content/docs/apis/nerdgraph/get-started/introduction-new-relic-nerdgraph.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,14 @@ Here are all our available NerdGraph docs:
100100
<tbody>
101101
<tr>
102102
<td>
103-
Account management
103+
Account and user management
104104
</td>
105105

106106
<td>
107107
* [Manage accounts](/docs/apis/nerdgraph/examples/manage-accounts-nerdgraph)
108108
* [Manage users](/docs/apis/nerdgraph/examples/nerdgraph-manage-users)
109-
* [Manage user groups](/docs/apis/nerdgraph/examples/nerdgraph-user-mgmt)
109+
* [Manage user groups](/docs/apis/nerdgraph/examples/nerdgraph-manage-groups)
110+
* [Manage roles](/docs/apis/nerdgraph/examples/nerdgraph-manage-groups/#create-role)
110111
* [Create and manage API keys](/docs/apis/nerdgraph/examples/use-nerdgraph-manage-license-keys-user-keys) (data ingest keys, and user keys)
111112
</td>
112113
</tr>
@@ -396,4 +397,4 @@ The following are terms that originate with GraphQL, the API format NerdGraph us
396397
</td>
397398
</tr>
398399
</tbody>
399-
</table>
400+
</table>

src/content/docs/apm/agents/nodejs-agent/getting-started/compatibility-requirements-nodejs-agent.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ supported by the agent.
284284
| `@aws-sdk/smithy-client` | 3.47.0 | 3.374.0 | 8.7.1 |
285285
| `@azure/functions` | 4.7.0 | 4.7.3-beta.0 | 12.18.0 |
286286
| `@elastic/elasticsearch` | 7.16.0 | 9.0.2 | 11.9.0 |
287-
| `@google/genai` | 1.1.0 | 1.5.0 | 12.21.0 |
287+
| `@google/genai` | 1.1.0 | 1.5.1 | 12.21.0 |
288288
| `@grpc/grpc-js` | 1.4.0 | 1.13.4 | 8.17.0 |
289289
| `@hapi/hapi` | 20.1.2 | 21.4.0 | 9.0.0 |
290290
| `@koa/router` | 11.0.2 | 13.1.0 | 3.2.0 |
@@ -338,11 +338,9 @@ Through the `@aws-sdk/client-bedrock-runtime` module, we support:
338338

339339
| Model | Image | Text | Vision |
340340
| --- | --- | --- | --- |
341-
| AI21 Labs Jurassic-2 ||| - |
342341
| Amazon Titan ||| - |
343342
| Anthropic Claude ||||
344343
| Cohere ||| - |
345-
| Meta Llama2 ||| - |
346344
| Meta Llama3 ||| - |
347345

348346
Note: if a model supports streaming, we also instrument the streaming variant.

src/content/docs/browser/browser-monitoring/browser-pro-features/session-replay/get-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Session replay captures interactions on your web app and maps other telemetry da
1717
<img
1818
title="Session replay details"
1919
alt="Screenshot of session replay details"
20-
src="/images/browser_screenshot-full_session-replay-details.gif"
20+
src="/images/session_replay_player.webp"
2121
/>
2222

2323
## How session replay works [#how-it-works]

src/content/docs/browser/new-relic-browser/browser-pro-features/marks-and-measures.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ To enable this feature:
3232

3333
Once enabled, the agent stores marks and measures data under the `BrowserPerformance` event type in New Relic. To find this data, try the following queries and then create custom dashboards to track performance.
3434

35-
**Query 1**: This NRQL query retrieves all `BrowserPerformance` events for the specified `appName` ("My Application") where the `entryName` is either `mark` or `measure`.
35+
**Query 1**: This NRQL query retrieves all `BrowserPerformance` events for the specified `appName` ("My Application") where the `entryType` is either `mark` or `measure`.
3636

3737
```nrql
38-
FROM BrowserPerformance SELECT * WHERE appName = 'My Application' AND entryName = 'mark' OR entryName = 'measure'
38+
FROM BrowserPerformance SELECT * WHERE appName = 'My Application' AND entryType = 'mark' OR entryType = 'measure'
3939
```
4040

41-
**Query 2**: This NRQL query calculates the average `entryDuration` for mark and measure events within the specified `appName`. The `FACET entryName` clause groups the results by the `entryName` field, providing separate average durations for mark and measure events. This can be useful for comparing the average performance of marks versus measures.
41+
**Query 2**: This NRQL query calculates the average `entryDuration` for measure events within the specified `appName`. The `FACET entryName` clause groups the results by the `entryName` field, providing separate average durations for unique measure events. This can be useful for comparing the average performance of individual measures.
4242

4343
```nrql
44-
FROM BrowserPerformance SELECT average(entryDuration) WHERE appName = 'My Application' AND entryName = 'mark' OR entryName = 'measure' FACET entryName
44+
FROM BrowserPerformance SELECT average(entryDuration) WHERE appName = 'My Application' AND entryType = 'measure' FACET entryName
4545
```
4646

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
---
2+
title: How to debug the New Relic Browser Agent
3+
type: troubleshooting
4+
tags:
5+
- Browser
6+
- Browser monitoring
7+
- Troubleshooting
8+
metaDescription: Learn how to debug the New Relic Browser Agent live in your browser.
9+
freshnessValidatedDate: never
10+
---
11+
12+
## Problem
13+
14+
You need to debug an issue with the New Relic Browser Agent and want to to better understand live agent behaviors and data collection.
15+
16+
## Solution
17+
18+
If your application is instrumented with [<InlinePopover type="browser"/>](/docs/browser/new-relic-browser/installation-configuration/troubleshooting-browser-monitoring-installation) and you want to inspect agent activity, follow these steps:
19+
20+
<Steps>
21+
22+
<Step>
23+
24+
## Enable debug logging [#enable-debug-logging]
25+
26+
To get more insight into the agent's activity, [enable debug logging](/docs/browser/browser-monitoring/browser-pro-features/browser-logs/get-started/).
27+
28+
The browser agent emits warning codes using `console.debug`, and this setting will capture those logs to your New Relic browser application, helping you track agent activity and problems.
29+
30+
## Inspect agent logs [#inspect-agent-logs]
31+
32+
To inspect locally, open your browser's developer console and look for `debug` messages prefixed with `New Relic Warning:`. These messages indicate agent issues, tied to known [warning codes](https://github.com/newrelic/newrelic-browser-agent/blob/main/docs/warning-codes.md).
33+
34+
To inspect agent logs across all instances of your web application, [check your logs](/docs/browser/browser-monitoring/browser-pro-features/browser-logs/view-browser-logs/logs-of-a-browser-app/) on [one.newrelic.com](https://one.newrelic.com).
35+
36+
These logs can help you identify known issues with the browser agent and its configuration within your pages.
37+
38+
</Step>
39+
40+
<Step>
41+
42+
## Monitor network requests [#monitor-network-requests]
43+
44+
Use the Network tab in your browser's developer tools to monitor requests sent by the agent. Look for calls to domains like `bam.nr-data.net` or `js-agent.newrelic.com`.
45+
46+
If you see failed requests or errors, check for network issues, ad blockers, or CSP rules that might be interfering with agent communication.
47+
48+
Expected endpoints under `js-agent.newrelic.com`:
49+
- PageView: `/`
50+
- AjaxRequest, BrowserInteraction, PageViewTiming: `/events`
51+
- PageAction, BrowserPerformance, UserAction, Custom Events: `/ins`
52+
- Log: `/browser/logs`
53+
- JavaScriptError, Ajax Timeslice Metrics: `/jserrors/`
54+
- SessionReplay, SessionTrace: `browser/blobs`
55+
56+
</Step>
57+
58+
<Step>
59+
60+
## Use inspection events for troubleshooting [#use-inspection-events]
61+
62+
The agent emits inspection events that can be captured for deeper troubleshooting. To listen for these events, you can add a listener in your console:
63+
64+
```js
65+
document.addEventListener('newrelic', function(e) {
66+
console.log('NR Inspection Event:', e.detail);
67+
});
68+
```
69+
70+
This will log inspection events emitted by the agent, providing details about feature status, errors, lifecycles, harvesting and configuration.
71+
72+
**Note:** Inspection events are available in agent versions 1.285.0 and higher. Inspection events are emitted immediately upon creation in the agent, any events emitted by the agent before the above event listener is created on the end-user machine will be missed.
73+
74+
</Step>
75+
76+
</Steps>
77+
78+
<Callout variant="tip">
79+
If you need further assistance with debugging or interpreting inspection events, or debugging problems with your web application and New Relic, visit [support.newrelic.com](https://support.newrelic.com) for help.
80+
</Callout>

src/content/docs/infrastructure/microsoft-azure-integrations/get-started/azure-native.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ The Azure Native New Relic Service lets you:
1717
On top of that, you can then use New Relic for other non-Azure-related monitoring you might need, using any of [our 500+ integrations](https://newrelic.com/instant-observability).
1818

1919
<Callout variant="important">
20-
This service is only available for customers who opt to have Azure host their New Relic data.
20+
* This service is only available for customers who opt to have Azure host their New Relic data.
21+
* To avoid incurring additional charges ensure that the diagnostic settings on Azure resources are set accordingly or disable forwarding via Azure Native New Relic Service to avoid data being forwarded to New Relic platform.
2122
</Callout>
2223

2324
## Notes on available New Relic features [#features]

src/content/docs/new-relic-control/pipeline-control/data-dropping-gateway.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Some attributes are only added during the enrichment process (after gateway, bef
4444
- **Cannot** be used in NRQL queries for gateway drop rules (since they don't exist at that point)
4545

4646
### Best practices
47-
When [authoring gateway rules](/docs/new-relic-control/pipeline-control/create-pipeline-rules.mdx), be aware that some attributes may not be available at the gateway level. If you need to use attributes that are only added during enrichment, consider using a cloud rule instead of a gateway rule.
47+
When [authoring gateway rules](/docs/new-relic-control/pipeline-control/create-pipeline-rules), be aware that some attributes may not be available at the gateway level. If you need to use attributes that are only added during enrichment, consider using a cloud rule instead of a gateway rule.
4848

4949
## Data types and attribute handling
5050
The following table lists:
@@ -167,4 +167,4 @@ The following table lists:
167167
<td>`DELETE FROM ContainerSample WHERE agentName='ContainerSampleAgent'`</td>
168168
</tr>
169169
</tbody>
170-
</table>
170+
</table>

0 commit comments

Comments
 (0)