Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Cloud foundry buildpack for deploying Prometheus

Notifications You must be signed in to change notification settings

alphagov/prometheus-buildpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

prometheus-buildpack

Deploy your prometheus configuration to Cloud Foundry.

Usage

Put your config in a file called prometheus.yml. Set this as your last buildpack.

Prometheus will be started to listen on $PORT rather than 9090.

Configuration

You can specify the following environment variables:

  • PROMETHEUS_FLAGS - a string containing any command-line flags you'd like to provide to prometheus. For example: --web.external-url=https://prometheus.example.com.

Influxdb support

If you bind a service of type influxdb to your prometheus app, the buildpack will detect this and automatically append remote_read and remote_write sections to your prometheus.yml file before starting prometheus. This is done in a very naive way. For this reason, if you bind an influxdb service, you should not set your own remote_read or remote_write configuration or the resulting YAML file will be invalid with duplicate keys.

About

Cloud foundry buildpack for deploying Prometheus

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages