Expose Workhorse metrics and add to Prometheus scrape config
What does this Merge Request do and why?
Adds the default port 9229 with a config to allow custom ports, adds the exporter listen address to the Workhorse run arguments and a default scrape config in Prometheus when enabled.
Merge Request checklist
-
This change is backward compatible. If not, please include steps to communicate to our users. -
Tests added for new functionality. If not, please raise Issue to follow-up. -
Documentation added/updated, if needed. -
gdk doctor
test added, if needed. -
Add the ~highlight
label if this MR should be included in theCHANGELOG.md
.