-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[receiver/apachespark] Skip SKIPPED status #39955
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
base: main
Are you sure you want to change the base?
Conversation
@@ -262,6 +262,8 @@ func (s *sparkScraper) recordStages(stageStats []models.Stage, now pcommon.Times | |||
s.mb.RecordSparkStageStatusDataPoint(now, 0, false, false, true, false) | |||
case "FAILED": | |||
s.mb.RecordSparkStageStatusDataPoint(now, 0, false, false, false, true) | |||
case "SKIPPED": | |||
continue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we record it then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is that SKIPPED is not a real record.
It means that this was already done.
So adding it as a record actually misleading.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your clarification.
@mrsillydog @Caleb-Hurshman please review as codeowners. |
Description
Do not log warning on SKIPPED status.
SKIPPED is a known Spark status.
Testing
Manually tested.
Documentation
Not needed.