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

Set up Newrelic and investigate disk usage issues #71

Closed
vinayvenu opened this issue Sep 18, 2023 · 4 comments
Closed

Set up Newrelic and investigate disk usage issues #71

vinayvenu opened this issue Sep 18, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@vinayvenu
Copy link
Member

vinayvenu commented Sep 18, 2023

Since release 4.0, we've been having consistently high disk usage on the prod db. ETL was shut down on Sep 15 and brought back up on Sep 18. During this time, EBS byte balance stayed high. This points to the ETL job being the cause of high disk usage. This story is to

Acceptance criteria

  1. Set up NewRelic on avni-etl so that we can identify these issues
  2. Identify and resolve bottlenecks causing high disk usage

Image

@vinayvenu vinayvenu moved this to Ready in Avni Product Sep 18, 2023
@vinayvenu vinayvenu added the bug Something isn't working label Sep 18, 2023
@petmongrels petmongrels moved this from Ready to In Progress in Avni Product Sep 18, 2023
@petmongrels petmongrels self-assigned this Sep 18, 2023
@petmongrels
Copy link
Contributor

new relic config added to keeweb.
this needs to be present in start.sh -Dnewrelic.environment=production -javaagent:/opt/newrelic/newrelic.jar (this doesn't seem be changed / managed by deploy scripts right now)

@petmongrels
Copy link
Contributor

sync telemetry insert seems to be taking a disproportionate amount of time compared to value added by it.

@vinayvenu
Copy link
Member Author

vinayvenu commented Sep 19, 2023 via email

petmongrels added a commit to avniproject/avni-server that referenced this issue Sep 19, 2023
@petmongrels
Copy link
Contributor

Created the index.
There are no other queries of big concern as of now on ETL. There are few slow ones but they are less frequently run, so not very time consuming. The RDS graph looks better (not sure it is only because of this or if we made other changes as well).

Image

@petmongrels petmongrels moved this from In Progress to Code Review Ready in Avni Product Sep 19, 2023
@vinayvenu vinayvenu moved this from Code Review Ready to Done in Avni Product Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants