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

APM is processing tons of metric events #29

Open
SimonSimCity opened this issue Aug 19, 2019 · 5 comments
Open

APM is processing tons of metric events #29

SimonSimCity opened this issue Aug 19, 2019 · 5 comments

Comments

@SimonSimCity
Copy link
Member

Using my monitoring tool for the APM of my ELK stack, I see that it processes a ton of metric events. When restarting the meteor application, it drops to almost 1k/minute, but it keeps steadily rising again - slowly but steadily, and it looks it rises the more transactions or spans are reported by the system. I got it skyrocketing up to 80k/m. The amount of incoming requests per minute is constantly around 45/m, so I guess it has to do with the data that's sent per request.

Any hint?

@kschingiz
Copy link
Collaborator

@SimonSimCity yes, we have found performance issues caused by meteor-elastic-apm. We are currently investigating it. I think this issue is related to meteor-measured package. These issues appeared when I have integrated meteor-elastic-apm with meteor-measured.
Tomorrow I solve it.
Try to disable meteor-measured and let me know the result.

@SimonSimCity
Copy link
Member Author

I'll only disable the additional metrics added in this package, just to see if this problem is related to this package or to elastic-apm-node. Looking forward to your result.

@SimonSimCity
Copy link
Member Author

SimonSimCity commented Aug 20, 2019

Maybe an update to version 2.15.0 of https://github.com/elastic/apm-agent-nodejs would already help it: elastic/apm-agent-nodejs#1273

I could at least prove that it still increases when disabling the metrics added by this extension.

@kschingiz
Copy link
Collaborator

@SimonSimCity seems like it's issue from elastic nodejs agent. I will try to update the version. Thanks!

@SimonSimCity
Copy link
Member Author

I've now a bit of time to report my findings. The update to 2.15.0 in deed reduced the amount of metrics sent to the APM system, but on the cost of harming other metrics.

I now e.g. do not get a metric for my event-loop-delay anymore if there's a high load on the server. I'll have to debug this and come up with a proper approach to tackle it.

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