-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add metrics endpoint for buildkitd #1544
Comments
For per client statistics, it could use the client name in the client TLS certificate if used. Otherwise, maybe some metadata could be passed with the build request. |
I was thinking about this more in the context of a Kubernetes cluster. A problem for registering metrics is buildkit does not know about the context (who is doing the build), so the metrics will have to be quite general. Would be acceptable to add Kubernetes support, such that buildkitd could determine the calling pod information from the peer IP on the gRPC request? |
+1 |
@jsravn is it correct to assume that you are implying Prometheus exposition format? |
Yes, or I suppose openmetrics these days. |
@jsravn Hi. Have you managed to find a workaround for this issue? |
It would be great if buildkitd exposed metrics that can be used to monitor it and debug issues.
Some useful metrics:
The text was updated successfully, but these errors were encountered: