mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-15 01:54:13 -08:00
d84873727f
Signed-off-by: Matt Layher <mdlayher@gmail.com>
23 lines
661 B
Go
23 lines
661 B
Go
// Package netlink provides low-level access to Linux netlink sockets.
|
|
//
|
|
//
|
|
// Debugging
|
|
//
|
|
// This package supports rudimentary netlink connection debugging support.
|
|
// To enable this, run your binary with the NLDEBUG environment variable set.
|
|
// Debugging information will be output to stderr with a prefix of "nl:".
|
|
//
|
|
// To use the debugging defaults, use:
|
|
//
|
|
// $ NLDEBUG=1 ./nlctl
|
|
//
|
|
// To configure individual aspects of the debugger, pass key/value options such
|
|
// as:
|
|
//
|
|
// $ NLDEBUG=level=1 ./nlctl
|
|
//
|
|
// Available key/value debugger options include:
|
|
//
|
|
// level=N: specify the debugging level (only "1" is currently supported)
|
|
package netlink
|