-
Notifications
You must be signed in to change notification settings - Fork 525
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
"Output Events Rate" in stack monitoring is always zero #8383
Comments
Hmm, I just reconfigured the integration with expvar enabled, and now it's working. Maybe there's race condition? |
Happened again after upgrading from 8.2.3 to 8.3.0-BC4. Initially the output was zero, after reconfiguring the integration (this time changing the event rate limit), the output went non-zero. |
This is apparently still an issue, at least in system tests, as seen here: |
I haven't been able to reproduce this exact error. However, due to the way our instrumentation works it is possible that after a reload event the old modelindexer is still receiving data while the instrumentation has moved to the new modelindexer. This is due to the fact that we wait for the old modelindexer to gracefully shutdown however, we switch the monitoring to new modelindexer before the old one exits. The above will result in the instrumentation data to report |
Moving this to backlog since we haven't spend more time recently to track this down. |
It appears that this bug lead up to an incident (https://github.com/elastic/cloud/issues/110723) and should be prioritized |
Moved it into the |
I don't recall if this has already been ruled out, but I realise now that I never wrote down on this issue a possible contributing factor: every time we reconfigure the server, we create a new libbeat monitoring registry: apm-server/internal/beater/beater.go Line 628 in 32a167b
|
Hmm, nice catch. I don't remember any conversation around this so I think this hasn't been ruled out. |
I was looking at this today and I have 2 questions:
|
You could use https://github.com/elastic/apm-server/tree/main/systemtest/cmd/sendotlp to send test data to APM Server
You could try, but I don't think that will work. There are assumptions about there being a 1:1 relationship between metrics and outputs, e.g. here: apm-server/internal/beater/beater.go Lines 688 to 696 in 9880622
|
#14337 may be related in a sense that reloads (which may take a long time) need to be handled carefully. |
APM Server version (
apm-server version
): 8.3.0-BC4Description of the problem including expected versus actual behavior:
"Output Events Rate" in stack monitoring is always zero.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: