-
Notifications
You must be signed in to change notification settings - Fork 14
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
Collect project metrics through Prometheus client #159
Labels
good first issue
Good for newcomers
Comments
@dipankardas011 please leave a comment so that I can assign you to it, thank you!! |
yes I can work on this |
@dipankardas011, awesome, it's all yours! Feel free to create multiple PRs etc - it'll be easier to review that way :) I added more information to the description. |
This is a great example of what we need to do: https://pkg.go.dev/github.com/prometheus/client_golang/api/prometheus/v1#example-API-Query |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue details what needs to be done in the collect step.
You can reference the proposal 3 - Metrics section: https://github.com/cncf-tags/green-reviews-tooling/blob/main/docs/proposals/proposal-003-report.md#metrics.
There are two parts to this issue: setting up a Go client, and fetching project metrics from Prometheus.
1. Setup the Go client that fetches queries from the Prometheus HTTP API
Create a small Go client that runs in the cluster and authenticates with Prometheus to fetch metrics through queries.
Acceptance criteria:
2. Collect project metrics
The metrics we will need to collect through the Prometheus client are:
Note: Since we don't have a storage solution yet, it's okay to simply collect the metrics and log the outcome for now.
3. Fetch metrics as part of
benchmark-pipeline.yaml
Acceptance criteria:
benchmark-job
.The text was updated successfully, but these errors were encountered: