Skip to content

Commit

Permalink
ENG-4109: Attribute 'channel' added in trace
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjoyment committed Nov 11, 2024
1 parent a697d22 commit a8060a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.node.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module.exports.track = (args = {}) => {
const _resourceAttributes = {
[SemanticResourceAttributes.SERVICE_NAME]: config.serviceName,
'mw_agent': true,
"channel": "vercel",
'project.name': config.projectName,
...(config.accessToken && {'mw.account_key': config.accessToken}),
...(config.accessToken && {'accessToken': config.accessToken}),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@middleware.io/agent-apm-nextjs",
"version": "1.2.4",
"version": "1.2.5",
"description": "Agent APM for NextJs",
"main": "index.node.js",
"scripts": {
Expand Down

0 comments on commit a8060a8

Please sign in to comment.