Add /metrics endpoint which outputs stats in openmetrics format.
authorclaudio <claudio@openbsd.org>
Mon, 17 Oct 2022 13:23:31 +0000 (13:23 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 17 Oct 2022 13:23:31 +0000 (13:23 +0000)
commit01c6d69736c40d9080cbc9a735698454cb7d2c3f
tree943fa53e229e021efd315cf8148125ee58f7b386
parent77a10e6f467b12f7c02f6c3633d28f8732eeb091
Add /metrics endpoint which outputs stats in openmetrics format.

This uses `bgpctl show metric` to produce the payload.
OK tb@
usr.sbin/bgplgd/bgplgd.c