tc_exporter

module
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2024 License: MIT

README

TC exporter

builds.sr.ht status Go Report Card

tc_exporter is an Prometheus exporter that is capable of exporting statisctics from tc through the netlink library.

It was created from the need of being capable of monitoring the TC statistics that can be seen when running tc -s in a modern way.

config.toml

It is possible to filter the interface to fetch data from by using a config.toml with the following structure and keys

  • listen-address: specifies the address on which the exporter will be running
  • [netns.<netns name>]: Map that specifies which network namespaces to monitor by name
    • interfaces: string array with the names of the interfaces that should be exported
listen-address = ":9704"

[netns.default]
interfaces = ['dummy','eno1']

[netns.netns01]
interfaces = ['dummy01']

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL