Skip to content

Commit

Permalink
Merge pull request #6394 from bizob2828/node-docs-cleanup
Browse files Browse the repository at this point in the history
chore: added Next.js to Node.js agent list of supported frameworks and included table row for logs enrichers
  • Loading branch information
barbnewrelic committed Mar 2, 2022
2 parents 3f39050 + 1cebf84 commit 6f79f29
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Expand Up @@ -144,6 +144,7 @@ Errors resulting in unhandled rejections are not scoped to the transaction that
* [Hapi](https://www.npmjs.com/package/hapi)
* [Koa](https://www.npmjs.com/package/koa) 2.0.0 or higher ([external module](https://github.com/newrelic/node-newrelic-koa) loaded with the agent)
* [Fastify](https://www.npmjs.com/package/fastify)
* [Next.js](https://www.npmjs.com/package/next) 12.0.9 or higher

If you are using a supported framework with default routers, the Node.js agent can read these frameworks' route names as is. However, if you want more specific names than are provided by your framework, you may want to use one or more of the tools New Relic provides with the [Node.js transaction naming API](/docs/nodejs/nodejs-transaction-naming-api).

Expand Down Expand Up @@ -320,7 +321,7 @@ As a standard [security measure for data collection](/docs/accounts-partnerships

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

The Node.js agent integrates with other features to give you observability across your entire stack:
The Node.js agent integrates with other features to give you observability across your entire stack:

<table>
<thead>
Expand Down
Expand Up @@ -77,6 +77,17 @@ After installing the Node.js agent, extend your instrumentation:
</td>
</tr>

<tr>
<td>
Logs in context
</td>

<td>
* To enrich [winston](https://github.com/winstonjs/winston) log data, use our [Winston Log Enricher](/docs/logs/logs-context/configure-logs-context-nodejs/#nodejs-winston).
* To enrich [pino](https://github.com/pinojs/pino) log data, use our [Pino Log Enricher](/docs/logs/logs-context/configure-logs-context-nodejs/#nodejs-pino).
</td>
</tr>

<tr>
<td>
Traces
Expand Down

0 comments on commit 6f79f29

Please sign in to comment.