- User Since
- Fri, Oct 16, 6:24 PM (1 w, 2 d)
Sun, Oct 18
The best possible solution would be for FRR to support Prometheus directly, rather than require an exporter.
Timeouts and SIGKILL don't always work. If process is stuck on IO, it will not exit.
I'm not sure you understand how this works.
No, that's not the problem. The exporter itself could potentially create thousands of sub processes if something were to go wrong.
The frr_exporter linked uses os/exec to run an external binray, /usr/bin/vtysh. This is not a great way to build an exporter, as it can lead to a fork bomb. There is also the overhead of calling the external binary to gather data.
@jack9603301 Do you know of a version of that FRR exporter that doesn't fork sub processes?