pod-netstat-exporter

command module
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

README

pod-netstat-exporter GoDoc Go Report Card Docker Repository on Quay

Get detailed, per-pod network metrics for export to prometheus. Right now it assumes that:

  • You are using kubernetes, and the local kubelet API is accessible
  • You are using docker

Limitations

For the most part, a k8s pod maps 1-to-1 to a linux network namespace. This however is not the case if the pod is using hostNetwork: true. In that case, the pod uses the default network namespace of the host, and there are no per-pod metrics to collect. Rather than report something misleading, pod-netstat-exporter just doesn't return any metrics for those pods.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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