-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CRIMAP-373 Implement prometheus exporter (#123)
* CRIMAP-373 Implement prometheus exporter This piggy backs on all work/discovery done firstly within the Apply service. It is identical, I've just not added any custom metrics collector as we don't know yet what we could measure (if anything). One note tho, as this is a Grape application, and there are no classic controllers and actions like in a Rails app, sadly this gem does not seem to be prepared to cope with it, so metrics about http requests will all have the same tags `action="other", controller="other"` It could be improved in the future. * Make it more useful with Grape endpoints
- Loading branch information
Showing
18 changed files
with
290 additions
and
80 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module PrometheusMetrics | ||
module Collectors | ||
end | ||
end |
Oops, something went wrong.