Skip to content

[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

Closed
wants to merge 3 commits into from
Closed

[SPARK-30221] Enhanced implementation of PrometheusPushGateWaySink #26852

wants to merge 3 commits into from

Conversation

XuQianJin-Stars
Copy link

@XuQianJin-Stars XuQianJin-Stars commented Dec 11, 2019

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

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@dongjoon-hyun
Copy link
Member

Thank you for making your first contribution, @XuQianJin-Stars .

@dongjoon-hyun
Copy link
Member

dongjoon-hyun commented Dec 11, 2019

Could you explain the difference from #19775?

/**
* PrometheusPushGateWay that exports Metric Metrics via Prometheus PushGateway.
*/
private[spark] class PrometheusPushGateWay(
Copy link
Member

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?

Copy link
Author

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>
Copy link
Member

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?

@github-actions
Copy link

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.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

@github-actions github-actions bot added the Stale label Mar 22, 2020
@github-actions github-actions bot closed this Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants