Page MenuHomeVyOS Platform

superq (Ben Kochie)
User

Projects

User does not belong to any projects.

User Details

User Since
Oct 16 2020, 6:24 PM (111 w, 3 d)

Recent Activity

Jun 2 2022

superq added a comment to T973: Create Prometheus Exporter for VyOS .

I wouldn't call telegraf a very good option. It does a very bad job of producing Prometheus metrics.

Jun 2 2022, 9:07 AM · VyOS 1.3 Equuleus (1.3.3)

Oct 18 2020

superq added a comment to T973: Create Prometheus Exporter for VyOS .

The best possible solution would be for FRR to support Prometheus directly, rather than require an exporter.

Oct 18 2020, 6:10 PM · VyOS 1.3 Equuleus (1.3.3)
superq added a comment to T973: Create Prometheus Exporter for VyOS .

Timeouts and SIGKILL don't always work. If process is stuck on IO, it will not exit.

Oct 18 2020, 3:53 PM · VyOS 1.3 Equuleus (1.3.3)
superq added a comment to T973: Create Prometheus Exporter for VyOS .

I'm not sure you understand how this works.

Oct 18 2020, 3:45 PM · VyOS 1.3 Equuleus (1.3.3)
superq added a comment to T973: Create Prometheus Exporter for VyOS .

No, that's not the problem. The exporter itself could potentially create thousands of sub processes if something were to go wrong.

Oct 18 2020, 3:26 PM · VyOS 1.3 Equuleus (1.3.3)
superq added a comment to T973: Create Prometheus Exporter for VyOS .

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.

Oct 18 2020, 2:15 PM · VyOS 1.3 Equuleus (1.3.3)
superq added a comment to T973: Create Prometheus Exporter for VyOS .

@jack9603301 Do you know of a version of that FRR exporter that doesn't fork sub processes?

Oct 18 2020, 1:37 PM · VyOS 1.3 Equuleus (1.3.3)

Oct 17 2020

superq added a comment to T973: Create Prometheus Exporter for VyOS .

We should avoid having a constellation of exporters, but favour having a single one. I feel like starting and stopping those would be pretty icky.

Oct 17 2020, 1:22 PM · VyOS 1.3 Equuleus (1.3.3)