Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to add global tag #86

Open
maxswjeon opened this issue Jun 4, 2022 · 1 comment
Open

Add ability to add global tag #86

maxswjeon opened this issue Jun 4, 2022 · 1 comment

Comments

@maxswjeon
Copy link

I'm using node cluster module for clustering. I want to tag logs and errors with process.pid. How can I do this?

@Lp-Francois
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants