just-the-stats

command module
v0.0.0-...-0be2792 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

README

just-the-stats

Read Docker stats for kubernetes pods

# Build the docker image.
docker build -t pod-exporter:10 .

# Run with /var/run mounted for access to /var/run/docker.sock and local port
# for metrics.
docker run -v /var/run:/var/run -p 9988:9988 -it pod-exporter:10 \
  -prometheusx.listen-address=:9988

Documentation

Overview

Package main starts docker stats collection and prometheus exporter.

Directories

Path Synopsis
Package stats implements a prometheus Collector that exports docker stats.
Package stats implements a prometheus Collector that exports docker stats.

Jump to

Keyboard shortcuts

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