-
Notifications
You must be signed in to change notification settings - Fork 27
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
Prometheus Metrics for Spark Driver with Single Env var #280
Comments
my first thought is that this seems like a reasonable idea. second thought, since this image is based on |
Thats really good. I think that PR with the metrics config just got merged. Did you get a chance to cut a new image for that? I'd like to test drive this. |
the metrics config pr you posted did get merged into the master, but we have not cut a new release from that. there is an autobuild that gets generated at if you want to play around with metrics and see what you can do with the s2i you will need to generate a new s2i image locally. hope that helps! |
It's in there. Perfect. Thanks @elmiko |
Background
We currently have an environment variable when set to --metrics='prometheus' then the spark master and driver are instrumented. However we may be missing out on some good metrics coming out of the running driver application.
Proposal
Why don't we include the agent-bond.jar and the agent-config.yaml into the s2i images and when the same environment variable is set: --metrics=='prometheus' then lets have s2i automatically setup the java-agent to instrument the application.
Details:
The driver would need to passed in the following as spark options:
SPARK_MASTER_URL= # spark://10.230.8.242:7077
The text was updated successfully, but these errors were encountered: