Skip to content

Commit

Permalink
Merge branch 'develop' into nb-k8s-troubleshooting-NR-266842
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaenam authored Sep 26, 2024
2 parents 174fa74 + c6db9d3 commit 5cab933
Show file tree
Hide file tree
Showing 386 changed files with 8,199 additions and 10,245 deletions.
2 changes: 1 addition & 1 deletion .github/auto_assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ reviewers:
- rhetoric101
- ally-sassman
- jeff-colucci
- bradleycamacho
- nbaenam
- cbehera-newrelic
- akristen
- adutta-newrelic

# A number of reviewers added to the pull request
# Set 0 to add all the reviewers (default: 0)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
"scripts": {
"add-files-to-translate": "node scripts/actions/add-files-to-translation-queue.js",
"build:production": "ENVIRONMENT=production yarn run build",
"build": "node scripts/createNetlifyRedirects.mjs & NODE_OPTIONS='--max-old-space-size=5120' gatsby build --prefix-paths",
"build": "scripts/build.sh",
"check-for-outdated-translations": "node scripts/actions/check-for-outdated-translations.js",
"clean": "gatsby clean",
"convert-to-webp": "node scripts/convertPNGs.mjs",
Expand Down Expand Up @@ -237,4 +237,4 @@
"bugs": {
"url": "https://github.com/newrelic/docs-website/issues"
}
}
}
8 changes: 8 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

if [[ -z "${BUILD_LANG}" ]]; then
echo "BUILD_LANG env var required 🥸 set BUILD_LANG=en for a default build"
exit 1
else
exec node scripts/createNetlifyRedirects.mjs & NODE_OPTIONS='--max-old-space-size=5120' gatsby build --prefix-paths
fi
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ You can interact with the title template in two ways: through the UI or using Gr
id="template-ui"
title="Create a title template in the UI"
>
1. Navigate to the NRQL condition builder. For instructions, see [Alert conditions](docs/alerts-applied-intelligence/new-relic-alerts/alert-conditions/alert-conditions/).
1. Navigate to the NRQL condition builder. For instructions, see [Alert conditions](/docs/alerts-applied-intelligence/new-relic-alerts/alert-conditions/alert-conditions/).
2. Create your NRQL condition.
3. In the final step, **Add details**, enter your title template in the **Title template** field.
4. Save the condition.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3806,7 +3806,7 @@ Module dependency metrics can be configured in a variety of ways in the Go agent
## New Relic IAST [#go-IAST]
[New Relic Interactive Applications Security Testing](https://docs.newrelic.com/docs/iast/introduction/) (IAST) tests your applications for any exploitable vulnerability by replaying the generated HTTP request with vulnerable payloads. You can enable New Relic IAST by updating your Go app code with configurations that are passed to the INIT function. You can also make these configurations through a YAML file or with environment variables.
[New Relic Interactive Applications Security Testing](/docs/iast/introduction/) (IAST) tests your applications for any exploitable vulnerability by replaying the generated HTTP request with vulnerable payloads. You can enable New Relic IAST by updating your Go app code with configurations that are passed to the INIT function. You can also make these configurations through a YAML file or with environment variables.
Options set using INIT functions take precedence over environment or YAML configurations. That said, we recommend enabling IAST using a YAML file because those configurations will pass to other agents in your environment.
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,6 @@ You can also control the browser agent via APM agent API calls. For more informa

## Extend custom instrumentation [#custom-instrumentation]

For more information about using the custom instrumentation APIs, see [Node.js custom instrumentation](docs/apm/agents/nodejs-agent/extend-your-instrumentation/nodejs-custom-instrumentation/).
For more information about using the custom instrumentation APIs, see [Node.js custom instrumentation](/docs/apm/agents/nodejs-agent/extend-your-instrumentation/nodejs-custom-instrumentation/).

To add custom instrumentation in ES module applications, please refer to our [ES module](/docs/apm/agents/nodejs-agent/installation-configuration/es-modules) documentation or [example application](https://github.com/newrelic/newrelic-node-examples/tree/4284ee7eab69708238db0a44f97ff7e839e165cf/esm-app) in GitHub.
Original file line number Diff line number Diff line change
Expand Up @@ -276,19 +276,19 @@ version.
| `@apollo/gateway` | 2.3.0 | 2.9.1 | `@newrelic/[email protected]` |
| `@apollo/server` | 4.0.0 | 4.11.0 | `@newrelic/[email protected]` |
| `@aws-sdk/client-bedrock-runtime` | 3.474.0 | 3.654.0 | 11.13.0 |
| `@aws-sdk/client-dynamodb` | 3.0.0 | 3.654.0 | 8.7.1 |
| `@aws-sdk/client-dynamodb` | 3.0.0 | 3.656.0 | 8.7.1 |
| `@aws-sdk/client-sns` | 3.0.0 | 3.654.0 | 8.7.1 |
| `@aws-sdk/client-sqs` | 3.0.0 | 3.654.0 | 8.7.1 |
| `@aws-sdk/lib-dynamodb` | 3.377.0 | 3.654.0 | 8.7.1 |
| `@aws-sdk/lib-dynamodb` | 3.377.0 | 3.656.0 | 8.7.1 |
| `@aws-sdk/smithy-client` | 3.47.0 | 3.374.0 | 8.7.1 |
| `@elastic/elasticsearch` | 7.16.0 | 8.15.0 | 11.9.0 |
| `@grpc/grpc-js` | 1.4.0 | 1.11.3 | 8.17.0 |
| `@hapi/hapi` | 20.1.2 | 21.3.10 | 9.0.0 |
| `@koa/router` | 11.0.2 | 13.1.0 | 3.2.0 |
| `@langchain/core` | 0.1.17 | 0.3.2 | 11.13.0 |
| `@langchain/core` | 0.1.17 | 0.3.3 | 11.13.0 |
| `@nestjs/cli` | 9.0.0 | 10.4.5 | 10.1.0 |
| `@prisma/client` | 5.0.0 | 5.19.1 | 11.0.0 |
| `@smithy/smithy-client` | 2.0.0 | 3.3.2 | 11.0.0 |
| `@smithy/smithy-client` | 2.0.0 | 3.3.4 | 11.0.0 |
| `amqplib` | 0.5.0 | 0.10.4 | 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 @@ -309,8 +309,8 @@ version.
| `mongodb` | 4.1.4 | 6.9.0 | 1.32.0 |
| `mysql` | 2.2.0 | 2.18.1 | 1.32.0 |
| `mysql2` | 2.0.0 | 3.11.3 | 1.32.0 |
| `next` | 13.4.19 | 14.2.12 | 12.0.0 |
| `openai` | 4.0.0 | 4.62.1 | 11.13.0 |
| `next` | 13.4.19 | 14.2.13 | 12.0.0 |
| `openai` | 4.0.0 | 4.63.0 | 11.13.0 |
| `pg` | 8.2.0 | 8.13.0 | 9.0.0 |
| `pg-native` | 2.0.0 | 3.2.0 | 9.0.0 |
| `pino` | 7.0.0 | 9.4.0 | 8.11.0 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def slow_action
end
```
For more information, see [add_method_tracer in the New Relic RubyDoc](https://www.rubydoc.info/gems/newrelic_rpm/NewRelic/Agent/MethodTracer#trace_execution_scoped-instance_method). If you aren't sure if a transaction already exists or need to start a new one, see [instrumenting a section of code](https://docs.newrelic.com/docs/apm/agents/ruby-agent/api-guides/ruby-custom-instrumentation/#in-transaction) under Advanced Custom Instrumentation.
For more information, see [add_method_tracer in the New Relic RubyDoc](https://www.rubydoc.info/gems/newrelic_rpm/NewRelic/Agent/MethodTracer#trace_execution_scoped-instance_method). If you aren't sure if a transaction already exists or need to start a new one, see [instrumenting a section of code](/docs/apm/agents/ruby-agent/api-guides/ruby-custom-instrumentation/#in-transaction) under Advanced Custom Instrumentation.

## Naming transactions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Because the API is intended to be called every time a new user ID has entered sc

## Version tracking: Use metadata to see what version produced an error [#version-tracking]

[Errors inbox](https://docs.newrelic.com/docs/errors-inbox/version-tracking/) will automatically track which versions of your software are producing errors. Any version data will also display in [CodeStream](/docs/codestream/how-use-codestream/performance-monitoring/#buildsha).
[Errors inbox](/docs/errors-inbox/version-tracking/) will automatically track which versions of your software are producing errors. Any version data will also display in [CodeStream](/docs/codestream/how-use-codestream/performance-monitoring/#buildsha).

Set one of the following environment variables to help identify which versions of your software produce errors.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ For more information, see the [npm browser installation documentation](https://w

## Description [#log-description]

When you execute this function with a valid message and elective options, the browser agent records the data as a single `log` event. See the [Logs UI](https://docs.newrelic.com/docs/logs/ui-data/use-logs-ui/) for more information about log events. Any custom attributes supplied to the API call in the `options` argument (`options.customAttributes`) will be appended as top-level attributes on the log event. You can control the `level` of the captured log by supplying a `level` to the `options` argument (`options.level`), which defaults to `info`.
When you execute this function with a valid message and elective options, the browser agent records the data as a single `log` event. See the [Logs UI](/docs/logs/ui-data/use-logs-ui/) for more information about log events. Any custom attributes supplied to the API call in the `options` argument (`options.customAttributes`) will be appended as top-level attributes on the log event. You can control the `level` of the captured log by supplying a `level` to the `options` argument (`options.level`), which defaults to `info`.

## Parameters [#log-parameters]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ For more information, see the [npm browser installation documentation](https://w

## Description [#wrap-description]

After you provide this method with a valid parent container and child function name, the browser agent will record a new log event every time the wrapped function is invoked. The first argument is passed to the invoked function as the log's message. See the [Logs UI](https://docs.newrelic.com/docs/logs/ui-data/use-logs-ui/) for more information about log events.
After you provide this method with a valid parent container and child function name, the browser agent will record a new log event every time the wrapped function is invoked. The first argument is passed to the invoked function as the log's message. See the [Logs UI](/docs/logs/ui-data/use-logs-ui/) for more information about log events.

Optional configurations can be passed along with these captured logs with the `options` argument. Any custom attributes supplied to the API call in the `options` argument (`options.customAttributes`) will be appended as top-level attributes on every log event created by this wrapper. You can control the `level` of the captured log by supplying a `level` to the `options` argument (`options.level`), which defaults to `info`. Note that once successfully wrapped, the function's logging detection can't be altered.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ The updated SPA monitoring experience is designed to eliminate these problems an
* Focus on key metrics: While reported data remains largely unchanged, the new experience no longer tracks JavaScript execution or callback duration within interactions, streamlining the reported information.
* Reduced interaction durations: Expect significantly shorter interaction durations, particularly for route changes. Initial page loads will see a slight reduction.
* API updates:
* New optional argument `.interaction({waitForEnd: true})` added to the [`.interaction()`](https://docs.newrelic.com/docs/browser/new-relic-browser/browser-apis/interaction/) function: This allows customization of user interaction end time. The existing `.interaction()` functionality remains unchanged.
* Deprecated API: The function [`createTracer`](https://docs.newrelic.com/docs/browser/new-relic-browser/browser-apis/createtracer/): While still functional, the `createTracer` function is deprecated as it no longer keeps interactions open or times callbacks. Note: If you continue to use `createTracer` with the new SPA experience,`BrowserTiming` events will not be created.
* New optional argument `.interaction({waitForEnd: true})` added to the [`.interaction()`](/docs/browser/new-relic-browser/browser-apis/interaction/) function: This allows customization of user interaction end time. The existing `.interaction()` functionality remains unchanged.
* Deprecated API: The function [`createTracer`](/docs/browser/new-relic-browser/browser-apis/createtracer/): While still functional, the `createTracer` function is deprecated as it no longer keeps interactions open or times callbacks. Note: If you continue to use `createTracer` with the new SPA experience,`BrowserTiming` events will not be created.

## Try out the new browser SPA monitoring experience [#enable-feature]

Expand Down Expand Up @@ -82,7 +82,7 @@ The updated SPA monitoring experience is designed to eliminate these problems an

* `AjaxRequest` association:
* Potential exclusion from interactions: Ajax requests that initiated near the end of previous interactions might now be excluded due to shortened interaction durations.
* Manual extension: If you need a request to be attributed to a specific interaction, use the argument `.interaction({waitForEnd: true})` added to the [`.interaction()`](https://docs.newrelic.com/docs/browser/new-relic-browser/browser-apis/interaction/) function to keep the interaction open until the request fires, then `.end()` the interaction. This will associate the request to the interaction.
* Manual extension: If you need a request to be attributed to a specific interaction, use the argument `.interaction({waitForEnd: true})` added to the [`.interaction()`](/docs/browser/new-relic-browser/browser-apis/interaction/) function to keep the interaction open until the request fires, then `.end()` the interaction. This will associate the request to the interaction.

## Leave feedback [#feedback]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ freshnessValidatedDate: never

On the <DNT>**Data retention**</DNT> UI page, located in the [data management hub](https://one.newrelic.com/data-management-hub), you can review and manage how long different types of data are stored. You may want shorter retention for some data types in order to protect sensitive information, or you may want longer retention (up to seven years) to be able to see and analyze data and trends over a longer period.

To learn about plans and costs for changing retention, see [Data options: Data Plus and original](https://docs.newrelic.com/docs/accounts/accounts-billing/new-relic-one-pricing-billing/data-ingest-billing/#upgrade-data-plus).
To learn about plans and costs for changing retention, see [Data options: Data Plus and original](/docs/accounts/accounts-billing/new-relic-one-pricing-billing/data-ingest-billing/#upgrade-data-plus).

## Extend your data retention for long-term analysis and compliance

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ To ensure you're working with the most relevant distributed tracing insights, he
* To access insights, adjust the time range to focus on a period within the last week.
* `No data from your entity`:
* This message suggests that your service isn't currently reporting distributed tracing data.
* To unlock these valuable insights, set up distributed tracing for your service by following the [guided install](https://onenr.io/0OQM6lV3DwG). If you're new to distributed tracing, start by reading the [Distributed tracing: Planning guide](https://docs.newrelic.com/docs/distributed-tracing/concepts/distributed-tracing-planning-guide/).
* To unlock these valuable insights, set up distributed tracing for your service by following the [guided install](https://onenr.io/0OQM6lV3DwG). If you're new to distributed tracing, start by reading the [Distributed tracing: Planning guide](/docs/distributed-tracing/concepts/distributed-tracing-planning-guide/).
* `No data from related entities`;
* This message indicates your service is reporting data but its dependencies aren't.
* By [enabling distributed tracing for your services](https://onenr.io/0OQM6lV3DwG), your dependencies should also be automatically enabled.
2 changes: 1 addition & 1 deletion src/content/docs/errors-inbox/browser-tab.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Here are some reasons you don't see a stack trace for an error:

* You've captured the error before the New Relic agent sees it.

* If the error occurs during multiple [harvest cycles](http://[cycle](docs.newrelic.com/docs/using-new-relic/welcome-new-relic/get-started/glossary#harvest-cycle)) in the same user visit, only error events reported during the first harvest cycle will have a stack trace recorded.
* If the error occurs during multiple [harvest cycles](/docs/new-relic-solutions/get-started/glossary/#harvest-cycle) in the same user visit, only error events reported during the first harvest cycle will have a stack trace recorded.

### Solutions for reporting stack traces [#solutions]

Expand Down
Loading

0 comments on commit 5cab933

Please sign in to comment.