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

chore: tune newrelic apm to reduce data ingestion #10408

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

vishnu-narayanan
Copy link
Member

@vishnu-narayanan vishnu-narayanan commented Nov 12, 2024

Pull Request Template

Description

  • Turn off monitoring in staging env
  • Set sampling to 10% for distributed tracing
  • Set sampling to default 10k (down from 30k) for log forwarding
  • Increase transaction threshold to 4 seconds from 2 seconds
  • Increase stack trace threshold from 0.5 seconds to 4 seconds

Fixes https://linear.app/chatwoot/issue/CW-3719/newrelic-finetune-tracing-and-metrics

Override via env variables when needed

NEW_RELIC_DISTRIBUTED_TRACING_ENABLED="false"
NEW_RELIC_TRANSACTION_TRACER_ENABLED="false"
NEW_RELIC_TRANSACTION_EVENTS_ENABLED="false"

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • TODO

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented on my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Copy link

linear bot commented Nov 12, 2024

@vishnu-narayanan vishnu-narayanan temporarily deployed to chatwoot-pr-10408 November 12, 2024 11:58 Inactive
@vishnu-narayanan vishnu-narayanan marked this pull request as draft November 12, 2024 11:58
@vishnu-narayanan vishnu-narayanan marked this pull request as ready for review November 20, 2024 15:13
@vishnu-narayanan vishnu-narayanan self-assigned this Dec 9, 2024
Copy link

github-actions bot commented Jan 9, 2025

🐢 Turtley slow progress alert! This pull request has been idle for over 30 days. Can we please speed things up and either merge it or release it back into the wild?

@github-actions github-actions bot added the stale label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants