-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: provide /metrics for prometheus export
Instead of inventing a new stats API, use a Prometheus compatible backend. This commits removes all /api/v1/stats calls and instead provides everything interesting over at /metrics. A single metric `builds` is provided with a bunch of tags. Those tags can be used to create graphs describing which branch/version/profile etc was build. While at it, switch testing to use a sync build queue, meaning jobs will actually run and don't just end up in a "202 ACCEPTED" state. No longer validate outgoing messages except during testing to speed up the server. Signed-off-by: Paul Spooren <[email protected]>
- Loading branch information
Showing
25 changed files
with
408 additions
and
728 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.