RFR: bot: add metrics HTTP handler

Erik Helin ehelin at openjdk.java.net
Wed May 12 17:59:37 UTC 2021


Hi all,

please review this patch that adds an HTTP handler for metrics to the bot runner. Typically listening on the `/metrics` path the handler will return metrics according to Prometheus text format.

Testing:
- [x] Tested manually with a Prometheus instance on Linux x64

Thanks,
Erik

-------------

Commit messages:
 - bot: add metrics HTTP handler

Changes: https://git.openjdk.java.net/skara/pull/1152/files
 Webrev: https://webrevs.openjdk.java.net/?repo=skara&pr=1152&range=00
  Stats: 63 lines in 3 files changed: 62 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/skara/pull/1152.diff
  Fetch: git fetch https://git.openjdk.java.net/skara pull/1152/head:pull/1152

PR: https://git.openjdk.java.net/skara/pull/1152


More information about the skara-dev mailing list