Skip to content

abort metrics parsing on failed docker exec calls - #23

Open
kujenga wants to merge 1 commit into
tedder:mainfrom
kujenga:at/error-handling
Open

abort metrics parsing on failed docker exec calls#23
kujenga wants to merge 1 commit into
tedder:mainfrom
kujenga:at/error-handling

Conversation

@kujenga

@kujenga kujenga commented Jun 25, 2021

Copy link
Copy Markdown

This commit eliminates cases where the commands might exit with
a non-zero code and have the follow-on logic parse stack traces
or other errors that could result in invalid metrics being published.

This should close #14

@tedder

tedder commented Jun 27, 2021

Copy link
Copy Markdown
Owner

I'm kinda stewing on this, I'm not sure that I want to make larger changes to the "docker" style, as it's being replaced with the RPC calls soon.

@kujenga

kujenga commented Jul 3, 2021

Copy link
Copy Markdown
Author

Fair enough, the RPC layer will definitely be nice when it's ready.

I was motivated to put this changeset together because I kept seeing metrics streams for validator_name="Error: Usage information not found for the given command" seemingly when version updates happen, and this does seem to put an end to that.

@tedder

tedder commented Jul 3, 2021

Copy link
Copy Markdown
Owner

Can you put in a new PR for a very narrow regex on the validator name? I think it happens intermittently. I'm on vacation for this week, I can approve and release a narrow PR though.

@kujenga
kujenga force-pushed the at/error-handling branch from 3851121 to cf0902d Compare July 8, 2021 01:51
This commit eliminates cases where the commands might exit with
a non-zero code and have the follow-on logic parse stack traces
or other errors that could result in invalid metrics being published.

This should close tedder#14
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

Successfully merging this pull request may close these issues.

validator_name="Error: Usage information not found"

2 participants