Re: bgpctl openmetric/prometheus output

2022-10-17 Thread Denis Fondras
Le Mon, Oct 17, 2022 at 01:02:01PM +0200, Claudio Jeker a écrit : > > Also I'm not sure if bgpd_peer_up_seconds and bgpd_peer_down_seconds are > sensible metrics. Having metric depend on some state seems like a bad idea. > I agree. My current tool presents only one metric for uptime and I get

Re: bgpctl openmetric/prometheus output

2022-10-17 Thread Claudio Jeker
On Mon, Oct 17, 2022 at 12:39:44PM +0200, Denis Fondras wrote: > Le Mon, Oct 17, 2022 at 11:49:31AM +0200, Claudio Jeker a écrit : > > On Wed, Oct 12, 2022 at 12:12:25PM +0200, Theo Buehler wrote: > > > On Fri, Oct 07, 2022 at 12:37:10PM +0200, Claudio Jeker wrote: > > > > > > +void > > > >

Re: bgpctl openmetric/prometheus output

2022-10-17 Thread Claudio Jeker
On Wed, Oct 12, 2022 at 12:12:25PM +0200, Theo Buehler wrote: > On Fri, Oct 07, 2022 at 12:37:10PM +0200, Claudio Jeker wrote: > > This diff adds `bgpctl show metric` which is a command that dumps some > > stats out in openmetric format. This format can be ingested by e.g. > > prometheus and used

Re: bgpctl openmetric/prometheus output

2022-10-12 Thread Theo Buehler
On Fri, Oct 07, 2022 at 12:37:10PM +0200, Claudio Jeker wrote: > This diff adds `bgpctl show metric` which is a command that dumps some > stats out in openmetric format. This format can be ingested by e.g. > prometheus and used for monitoring. > > The openmetric handling is in ometric.[ch]. It is

bgpctl openmetric/prometheus output

2022-10-07 Thread Claudio Jeker
This diff adds `bgpctl show metric` which is a command that dumps some stats out in openmetric format. This format can be ingested by e.g. prometheus and used for monitoring. The openmetric handling is in ometric.[ch]. It is fairly basic and not intended for long running processes. There is a