Skip to content

Commit

Permalink
Merge branch 'develop' into clark/search-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmcadoo committed Oct 24, 2024
2 parents 5894d04 + 2a2c465 commit bce0c1b
Show file tree
Hide file tree
Showing 11 changed files with 197 additions and 37 deletions.
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ module.exports = {
resolve: 'gatsby-remark-images',
options: {
maxWidth: 850,
linkImagesToOriginal: false,
linkImagesToOriginal: true,
backgroundColor: 'transparent',
disableBgImageOnAlpha: true,
},
Expand Down
62 changes: 37 additions & 25 deletions src/components/MDXContainer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {
ExternalLink,
Link,
Lightbox,
MDXLink,
MDX,
MarkdownContainer,
Expand Down Expand Up @@ -53,30 +52,43 @@ const defaultComponents = {
}
/>
) : (
<Lightbox>
<img
width={props.width ? props.width : 'auto'}
src={props.src}
// this prevents images from stretching if the width is set to a percent value
className={cx(props.className, props.width && 'unbound')}
alt={props.alt ? props.alt : 'Docs site'}
title={props.title}
style={
props.style
? {
...props.style,
borderRadius: '0.25rem',
maxWidth: '100%',
margin: '0 0.25rem',
}
: {
borderRadius: '0.25rem',
maxWidth: '100%',
margin: '0 0.25rem',
}
}
/>
</Lightbox>
<span
style={{
position: 'relative',
display: 'block',
textAlign: 'center',
margin: '1em 0',
}}
>
<a
href={props.src}
target="_blank"
rel="noreferrer"
style={{ display: 'inline-block' }}
>
<img
width={props.width ? props.width : 'auto'}
src={props.src}
alt={props.alt ? props.alt : 'Docs site'}
title={props.title}
style={
props.style
? {
...props.style,
borderRadius: '0.25rem',
maxWidth: '100%',
margin: '0 0.25rem',
}
: {
borderRadius: '0.25rem',
maxWidth: '100%',
margin: '0 0.25rem',
}
}
loading="lazy"
/>
</a>
</span>
),
DocTile: (props) => (
<DocTile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ This query shows the billable full platform users for the month. In other words,

```sql
FROM NrMTDConsumption
SELECT latest(FullPlatformUsersBillable)
SELECT latest(FullPlatformUsersBillable)
SINCE 3 hours ago
```

### Month-to-date core users
Expand All @@ -126,6 +127,7 @@ This query shows the number of core users you'd be billed for if you were billed
```sql
FROM NrMTDConsumption
SELECT latest(CoreUsersBillable)
SINCE 3 hours ago
```
### Estimated cost
Expand All @@ -135,6 +137,7 @@ Here's a query for getting the current month's cost for your full platform users
```sql
FROM NrMTDConsumption
SELECT latest(FullPlatformUsersBillable) * YOUR_PER_FULL_PLATFORM_USER_COST
SINCE 3 hours ago
```
### User queries for organizations without core users [#queries-non-core]
Expand Down Expand Up @@ -205,13 +208,15 @@ These queries apply for some older New Relic organizations that have only two us
```sql
FROM NrMTDConsumption
SELECT latest(FullPlatformUsersBillable) * YOUR_PER_FULL_PLATFORM_USER_COST
SINCE 3 hours ago
```

Here's an equivalent one for your core users:
```sql
FROM NrMTDConsumption
SELECT latest(CoreUsersBillable) * YOUR_PER_CORE_USER_COST
SINCE 3 hours ago
```
</Collapser>
</CollapserGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,11 @@ version.
| --- | --- | --- | --- |
| `@apollo/gateway` | 2.3.0 | 2.9.3 | `@newrelic/[email protected]` |
| `@apollo/server` | 4.0.0 | 4.11.0 | `@newrelic/[email protected]` |
| `@aws-sdk/client-bedrock-runtime` | 3.474.0 | 3.675.0 | 11.13.0 |
| `@aws-sdk/client-dynamodb` | 3.0.0 | 3.675.0 | 8.7.1 |
| `@aws-sdk/client-sns` | 3.0.0 | 3.675.0 | 8.7.1 |
| `@aws-sdk/client-sqs` | 3.0.0 | 3.675.0 | 8.7.1 |
| `@aws-sdk/lib-dynamodb` | 3.377.0 | 3.675.0 | 8.7.1 |
| `@aws-sdk/client-bedrock-runtime` | 3.474.0 | 3.677.0 | 11.13.0 |
| `@aws-sdk/client-dynamodb` | 3.0.0 | 3.677.0 | 8.7.1 |
| `@aws-sdk/client-sns` | 3.0.0 | 3.677.0 | 8.7.1 |
| `@aws-sdk/client-sqs` | 3.0.0 | 3.677.0 | 8.7.1 |
| `@aws-sdk/lib-dynamodb` | 3.377.0 | 3.677.0 | 8.7.1 |
| `@aws-sdk/smithy-client` | 3.47.0 | 3.374.0 | 8.7.1 |
| `@elastic/elasticsearch` | 7.16.0 | 8.15.1 | 11.9.0 |
| `@grpc/grpc-js` | 1.4.0 | 1.12.2 | 8.17.0 |
Expand Down Expand Up @@ -309,8 +309,8 @@ version.
| `mongodb` | 4.1.4 | 6.10.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 | 15.0.0 | 12.0.0 |
| `openai` | 4.0.0 | 4.68.1 | 11.13.0 |
| `next` | 13.4.19 | 15.0.1 | 12.0.0 |
| `openai` | 4.0.0 | 4.68.3 | 11.13.0 |
| `pg` | 8.2.0 | 8.13.0 | 9.0.0 |
| `pg-native` | 3.0.0 | 3.2.0 | 9.0.0 |
| `pino` | 7.0.0 | 9.5.0 | 8.11.0 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3499,7 +3499,7 @@ The Node.js agent variables that control error message redaction appear in the `
</th>
<td>
`true`
`false`
</td>
</tr>
Expand All @@ -3515,7 +3515,7 @@ The Node.js agent variables that control error message redaction appear in the `
</tbody>
</table>
When `false`, the agent will redact the messages of captured errors.
When `true`, the agent will redact the messages of captured errors.
</Collapser>
</CollapserGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: 'New Relic Flex: Build your own integration'
tags:
- Instrument everything
- Develop your own integrations
- nri-flex
translate:
- jp
metaDescription: Use New Relic's Flex integration tool to create a lightweight custom integration that reports event and metric data to New Relic.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,15 @@ The Windows services integration sends the following metadata to New Relic:
* `display_name`: Name of the service as viewed in the services snap-in.
* `process_id`: Process identifier of the service.
* `run_as`: Account name under which a service runs. Depending on the service type, the format of the account name may be `DomainName\Username` or `Username@DomainName` (UPN). The value is taken from the `StartName` attribute of the `Win32_Service` class, which can be `NULL` (in that case, the label is reported as an empty string).
<Callout variant="important">
If the `StartName` attribute is `NULL`, the service is logged on under the `LocalSystem` account. For kernel or system-level drive, it runs with a default object name that the the I/O system creates based on the service name, for example, `DWDOM\Admin`.
</Callout>
* `service_name`: Unique identifier of the service.
<Callout variant="important">
If the `StartName` attribute is `NULL`, the service is logged on under the `LocalSystem` account. For kernel or system-level drive, it runs with a default object name created by the I/O system based on the service name, for example, `DWDOM\Admin`.
The system converts `service_name` to lowercase per best practices. It replaces all spaces and periods with underscores. It isn't the the same as the service name on the Windows interface.
</Callout>

## Source code [#open-source]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
subject: Node.js agent
releaseDate: '2024-10-23'
version: 12.5.2
downloadLink: 'https://www.npmjs.com/package/newrelic'
security: []
bugs: ["Fixed amqplib instrumentation via ESM"]
features: ["Updated shim/when instrumentation to use tracer to run in context"]
---

## Notes

#### Features

* Updated shim/when instrumentation to use tracer to run in context ([#2642](https://github.com/newrelic/node-newrelic/pull/2642)) ([1a80ad5](https://github.com/newrelic/node-newrelic/commit/1a80ad56a6d502182a0db368f40443467f7943df))

#### Bug fixes

* Fixed amqplib instrumentation via ESM ([#2668](https://github.com/newrelic/node-newrelic/pull/2668)) ([a36deba](https://github.com/newrelic/node-newrelic/commit/a36deba7ba7b46c4947fcb83db0a4f97bd4c0bf1))

#### Documentation

* Remove `SECURITY.md` ([#2633](https://github.com/newrelic/node-newrelic/pull/2633)) ([41002cd](https://github.com/newrelic/node-newrelic/commit/41002cd1c423c378bfbe024ebe7dae03d02d2949))
* Updated compatibility report ([#2670](https://github.com/newrelic/node-newrelic/pull/2670)) ([281c0fa](https://github.com/newrelic/node-newrelic/commit/281c0fa3be096a0ef3eef25b0f51df7ae8bf50bf))
* Updated match custom-assertion jsdoc ([#2636](https://github.com/newrelic/node-newrelic/pull/2636)) ([c37abe5](https://github.com/newrelic/node-newrelic/commit/c37abe5eb4528493bb3950e376bf780d6cd29023))

#### Miscellaneous chores

* Upgraded `import-in-the-middle` to work around a bug introduced in 1.11.1 ([#2618](https://github.com/newrelic/node-newrelic/pull/2618)) ([9ad476a](https://github.com/newrelic/node-newrelic/commit/9ad476a765eee472f510239b4265d10f0a50c666))

#### Tests

* Migrated `aws-sdk-v2` and `aws-sdk-v3` tests to `node:test` ([#2620](https://github.com/newrelic/node-newrelic/pull/2620)) ([e0dc015](https://github.com/newrelic/node-newrelic/commit/e0dc01571087c3d53434d2d21d77206592137b66))
* Migrated `test/unit/shim` to `node:test` ([#2599](https://github.com/newrelic/node-newrelic/pull/2599)) ([8d1acff](https://github.com/newrelic/node-newrelic/commit/8d1acffabf29ba6e0b5e20a675b87a81f893fc0a))
* Migrated `test/versioned/amqplib` to `node:test` ([#2612](https://github.com/newrelic/node-newrelic/pull/2612)) ([7bdada6](https://github.com/newrelic/node-newrelic/commit/7bdada678c18997c268cf19c56262b870bae5673))
* Migrated `test/versioned/express` to `node:test` ([#2609](https://github.com/newrelic/node-newrelic/pull/2609)) ([bd2f1a5](https://github.com/newrelic/node-newrelic/commit/bd2f1a53f8e03810e3c0aa5d042b6b256ec7346b))
* Migrated bluebird versioned tests to `node:test` ([#2635](https://github.com/newrelic/node-newrelic/pull/2635)) ([6e28fad](https://github.com/newrelic/node-newrelic/commit/6e28fad70390ffaf4df7ccbc96c88f79bb5d2fe2))
* Migrated last group of unit tests to `node:test` ([#2624](https://github.com/newrelic/node-newrelic/pull/2624)) ([386f546](https://github.com/newrelic/node-newrelic/commit/386f54682128d0dda8ad073a57cd45109c927fe1))
* Migrated unit tests to `node:test` ([#2623](https://github.com/newrelic/node-newrelic/pull/2623)) ([86231b7](https://github.com/newrelic/node-newrelic/commit/86231b7dec5bc5807ae26a88a7b8f2ff1535d9c4))
* Updated tests that relied on `tspl` by awating the `plan.completed` instead of calling `end` to avoid flaky tests ([#2610](https://github.com/newrelic/node-newrelic/pull/2610)) ([935ac14](https://github.com/newrelic/node-newrelic/commit/935ac14dbff7d11e797d290fb24a0d791ac9a61a))
* Updated tests that used the context manager directly and instead use the tracer to access the segment context ([#2643](https://github.com/newrelic/node-newrelic/pull/2643)) ([b917b3e](https://github.com/newrelic/node-newrelic/commit/b917b3ea9416eaf64bf365f6f46a0d4eafdfc437))
* Updated the mininum version of `pg-native` in `pg-esm` tests to align with the pg tests ([#2616](https://github.com/newrelic/node-newrelic/pull/2616)) ([16be714](https://github.com/newrelic/node-newrelic/commit/16be71404dcea903f3f7b7d4d238cc0a416d7b79))
* Migrated `bunyan`, `pino`, and `winston` tests to `node:test` ([#2634](https://github.com/newrelic/node-newrelic/pull/2634)) ([69c1ab8](https://github.com/newrelic/node-newrelic/commit/69c1ab8951f8cd405986e879399dff716f839a78))
* Migrated `fastify` tests to `node:test` ([#2632](https://github.com/newrelic/node-newrelic/pull/2632)) ([b522477](https://github.com/newrelic/node-newrelic/commit/b522477168c2049b12bcfd39ae485f9e5374f724))
* Migrated block of unit tests to `node:test` ([#2607](https://github.com/newrelic/node-newrelic/pull/2607)) ([e33807b](https://github.com/newrelic/node-newrelic/commit/e33807b817852bb7cdc93c9b171250df17a3b867))
* Migrated block of unit tests to `node:test` ([#2604](https://github.com/newrelic/node-newrelic/pull/2604)) ([cd90ce1](https://github.com/newrelic/node-newrelic/commit/cd90ce11908edc4376a704153f44d4f3ddfb6866))
* Migrated block of unit tests to `node:test` ([#2593](https://github.com/newrelic/node-newrelic/pull/2593)) ([6d4d49e](https://github.com/newrelic/node-newrelic/commit/6d4d49e075d8c4c687d4730b65aa39177e384ce5))

#### Continuous integration

* Added delay to site extension publishing to wait for NPM ([#2665](https://github.com/newrelic/node-newrelic/pull/2665)) ([e412020](https://github.com/newrelic/node-newrelic/commit/e412020865bab187d8c7d274cdc6973946286a1f))


### Support statement:

We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about [keeping agents up to date](https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/).

See the New Relic Node.js agent EOL policy for information about [agent releases and support dates](https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/).
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
subject: Browser agent
releaseDate: "2024-10-22"
version: 1.270.0
features: ["Remove supportsSendBeacon runtime property","Add Firefox to LCP test matcher","Remove 'pageHide' from page end-of-lifecycle listener","Move deregisterDrain method to feature-base","Relocate aggregator from loader and improve agent internals"]
bugs: []
security: []
---

## v1.270.0

### Features

#### Remove supportsSendBeacon runtime property
Removes the supportsSendBeacon runtime property from our agent code. We no longer officially support browsers that cannot use the sendBeacon method, so there's no point in checking for it.

#### Add Firefox to LCP test matcher
Add Firefox versions 122 and above to LCP test matcher since versions 122 and above now support collection of LCP web vital timings.

#### Remove 'pageHide' from page end-of-lifecycle listener
Remove `pageHide` from page end-of-lifecycle listener since browser agent support for Safari 14.4 is deprecated

#### Move deregisterDrain method to feature-base
Moves the `deregisterDrain` method in order to standardize the implementation pattern to match the drain method.

#### Relocate aggregator from loader and improve agent internals
Styling and architectural changes that will reduce agent loader size by moving the Aggregator module to async chunk and removing the need for some configuration getters in the features. No behavioral change or significant performance impact from the agent is expected.

## Support statement

New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Older releases will no longer be supported when they reach [end-of-life](https://docs.newrelic.com/docs/browser/browser-monitoring/getting-started/browser-agent-eol-policy/). Release dates are reflective of the original publish date of the agent version.

New browser agent releases are rolled out to customers in small stages over a period of time. Because of this, the date the release becomes accessible to your account may not match the original publish date. Please see this [status dashboard](https://newrelic.github.io/newrelic-browser-agent-release/) for more information.

Consistent with our [browser support policy](https://docs.newrelic.com/docs/browser/new-relic-browser/getting-started/compatibility-requirements-browser-monitoring/#browser-types), v1.270.0 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 119-129, Edge 119-129, Safari 16-17, and Firefox 121-131. For mobile devices, v1.270.0 was built and tested for Android OS 15 and iOS Safari 16-18.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
subject: Browser agent
releaseDate: "2024-10-23"
version: 1.270.1
features: []
bugs: ["Remove undefined agentRuntime in Session Trace"]
security: []
---

## v1.270.1

### Bug fixes

#### Remove undefined agentRuntime in Session Trace
Remove an outdated reference to `agentRuntime` variable in the Trace feature released in 1.270.0. It caused undefined errors in sub-cases wherein max harvest nodes were reached.

## Support statement

New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Older releases will no longer be supported when they reach [end-of-life](https://docs.newrelic.com/docs/browser/browser-monitoring/getting-started/browser-agent-eol-policy/). Release dates are reflective of the original publish date of the agent version.

New browser agent releases are rolled out to customers in small stages over a period of time. Because of this, the date the release becomes accessible to your account may not match the original publish date. Please see this [status dashboard](https://newrelic.github.io/newrelic-browser-agent-release/) for more information.

Consistent with our [browser support policy](https://docs.newrelic.com/docs/browser/new-relic-browser/getting-started/compatibility-requirements-browser-monitoring/#browser-types), v1.270.1 of the Browser agent was built for and tested against these browsers and version ranges: Chrome 119-129, Edge 119-129, Safari 16-17, and Firefox 121-131. For mobile devices, v1.270.1 was built and tested for Android OS 15 and iOS Safari 16-18.
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,27 @@ This table is kept up to date and is the source of truth for capitalization. Mos
</td>
</tr>

<tr>
<td>
New Relic Retail Solution
</td>

<td>
New Relic retail product name
</td>

<td>
First use: New Relic Retail Solution (Note: This is not a product SKU.)

Subsequent uses: Retail Solution
</td>

<td>
Do not use: New Relic for Retail, New Relic solution for retail, NRRS
</td>
</tr>


<tr>
<td>
New Relic Vulnerability Management
Expand Down

0 comments on commit bce0c1b

Please sign in to comment.