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

Improving logging to troubelshoot pipeline metrics problem (#91439) #91627

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

masseyke
Copy link
Member

We think that we have tracked down the problem of negative metrics (#90319) to be an exception happening in a pipeline. Unfortunately we're not currently getting any information about that exception in order to prevent it. This PR logs the exception when it detects the problem of a listener being called more than once (which is the source of the metrics problem). If the exception can be null, it logs it as a new RuntimeException(e) so that we still get information about the stack regardless.
Backport of #91439

@masseyke masseyke added backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v8.5.2 labels Nov 16, 2022
@elasticsearchmachine elasticsearchmachine merged commit ab2bd40 into elastic:8.5 Nov 16, 2022
@masseyke masseyke deleted the backport/8.5/pr-91439 branch November 16, 2022 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v8.5.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants