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

[User Feedback] Consider enabled_environments #68064

Closed
sentry-io bot opened this issue Apr 2, 2024 · 1 comment
Closed

[User Feedback] Consider enabled_environments #68064

sentry-io bot opened this issue Apr 2, 2024 · 1 comment
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 2, 2024

Sentry Feedback: JAVASCRIPT-2SAH

Metrics should consider config.enabled_environments = ['staging', 'production']

should not track metrics for development env

contact_email michaels@tripletech.co.il
name Michael Shapiro
source new_feedback_envelope
@matejminar
Copy link
Member

matejminar commented Apr 8, 2024

Thanks for the feedback, we'll address this in getsentry/sentry-ruby#2287.

In the meantime, we recommend utilizing a common before_emit_metrics hook in the SDK to filter out metrics you want to be ignored (e.g., based on environment).

@github-actions github-actions bot locked and limited conversation to collaborators Apr 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Development

No branches or pull requests

2 participants