nestjs-sentry
nestjs-sentry copied to clipboard
Add ability to add global tag
I'm using node cluster module for clustering. I want to tag logs and errors with process.pid. How can I do this?
Hey! I was trying to achieve the same to add the kubernetes namespace as a tag. You can use initialScope.tags from the init config for this: https://docs.sentry.io/platforms/javascript/configuration/options/#initial-scope