-
Notifications
You must be signed in to change notification settings - Fork 28.5k
[SPARK-30221] Enhanced implementation of PrometheusPushGateWaySink #26852
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
Conversation
Can one of the admins verify this patch? |
Thank you for making your first contribution, @XuQianJin-Stars . |
Could you explain the difference from #19775? |
/** | ||
* PrometheusPushGateWay that exports Metric Metrics via Prometheus PushGateway. | ||
*/ | ||
private[spark] class PrometheusPushGateWay( |
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.
Why not having this as a third party library?
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.
Could you explain the difference from #19775?
hi @dongjoon-hyun Thank you very much, There is no difference in functionality. I don't see it in the spark source code, so I implemented it myself. #19775 is better written. I will close this PR.
<dependency> | ||
<groupId>io.prometheus</groupId> | ||
<artifactId>simpleclient_pushgateway</artifactId> | ||
</dependency> |
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.
Since this is a new dependency, could you confirm if this is compatible and tested with JDK11 please?
We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. |
What changes were proposed in this pull request?
Enhanced implementation of PrometheusPushGateWaySink.
Why are the changes needed?
PrometheusPushGateWaySink supports metrics push to PrometheusPushGateWay.
Does this PR introduce any user-facing change?
Added PrometheusPushGateWay class.
How was this patch tested?
None