Sign inSign up

hiveco/prometheus

By hiveco

•Updated over 7 years ago

Prometheus in a Docker container, configurable via environment variables

Image
0

9.0K

hiveco/prometheus repository overview

⁠Prometheus in a Container

Source code for hiveco/prometheus⁠. This image is designed to be an extremely thin wrapper around the official prom/prometheus image, providing support for supplying command line arguments in environment variables. See #504⁠ for details on why the Prometheus authors chose not to include this functionality in the official image.

Environment variables given to docker run that are prefixed with PROM_ are converted into command line arguments to Prometheus. Underscores are converted to periods and double-underscores to dashes.

Examples:

  • To set --log.level=error, add the option -e PROM_LOG_LEVEL=error
  • To set --web.external-url=http://localhost, add the option -e PROM_WEB_EXTERNAL__URL=http://localhost.

See also hiveco/alertmanager⁠, the Alertmanager sister image to this one.

Another project by Hive Collective⁠. DevOps-on-Demand, so you can focus on shipping features.

Tag summary

Content type

Image

Digest

Size

48.6 MB

Last updated

over 7 years ago

docker pull hiveco/prometheus