Discover Packages
github.com/stephen-soltesz/just-the-stats
command
module
Version:
v0.0.0-...-0be2792
Opens a new window with list of versions in this module.
Published: Dec 19, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
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
Expand ▾
Collapse ▴
Documentation
¶
Package main starts docker stats collection and prometheus exporter.
Source Files
¶
Directories
¶
Package stats implements a prometheus Collector that exports docker stats.
Package stats implements a prometheus Collector that exports docker stats.
Click to show internal directories.
Click to hide internal directories.