#522 Add prometheus metrics to osctrl-tls
Pull request opened by
zhuoyuan-liu
This PR added Prometheus metrics support for osctrl-tls. Issue:
#504
Currently, it has all default metrics go metrics such as memory info and gc duration etc. Also, we added one custom histogram metric to measure the total request/latency to each osquery endpoint.
The metric server would run as a separate service in a different port. We can query e.g. P90 latency for each endpoint with different environments with the histogram metric.
image
Also the request rate for different path and status code.
image
jmpsec/osctrl
✅ All checks have passed
24/24 successful checks