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 troubleshoot pipeline metrics problem #91439

Merged

Conversation

masseyke
Copy link
Member

@masseyke masseyke commented Nov 8, 2022

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.

@masseyke masseyke added >non-issue :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP v8.5.1 v8.6.0 labels Nov 8, 2022
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label Nov 8, 2022
@joegallo joegallo changed the title Improving logging to troubelshoot pipeline metrics problem Improving logging to troubleshoot pipeline metrics problem Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >non-issue Team:Data Management Meta label for data/management team v8.5.2 v8.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants