Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Expose build metrics #19

Open
trey-ivy opened this issue Oct 11, 2024 · 1 comment
Open

Expose build metrics #19

trey-ivy opened this issue Oct 11, 2024 · 1 comment

Comments

@trey-ivy
Copy link
Collaborator

aside from providing a base level of functionality for exploring build metrics via the UI, we should expose build metrics to a time series database like prometheus so that users can roll their own dashboards.

@trey-ivy
Copy link
Collaborator Author

so i did a little research on this and it seems like you can configure grafana to pull from a graphql api pretty easily https://grafana.com/grafana/plugins/retrodaredevil-wildgraphql-datasource/ , so the quickest and most extensible way to implement this would be graphql queries that will let us expose the data we need. we should come up with a series of questions we want to answer about builds and write queries that will help us answer those question. first things that come to mind are things like,
builds

  • duration
  • users
    targets and tests
  • pass
  • fail
  • durations
  • cache hits

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant