Skip to content

Commit

Permalink
mw_serverless flag added
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjoyment committed Nov 12, 2024
1 parent a8060a8 commit c3fa489
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 @@ -38,6 +38,7 @@ module.exports.track = (args = {}) => {
[SemanticResourceAttributes.SERVICE_NAME]: config.serviceName,
'mw_agent': true,
"channel": "vercel",
'mw_serverless': true,
'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.5",
"version": "1.2.6",
"description": "Agent APM for NextJs",
"main": "index.node.js",
"scripts": {
Expand Down

0 comments on commit c3fa489

Please sign in to comment.