Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1.13 KB

consul_exporter.md

File metadata and controls

26 lines (15 loc) · 1.13 KB

Consul exporter configuration

To enable consul_exporter include role task: consul_exporter

Environmental variables to pass to the consul_exporter exporter. These environmental variables are used as a primary method of configuring the exporter:

prometheus_consul_exporter_env_vars:
  CONSUL_HTTP_TOKEN: '4391eca7bcd03f45aa43ca26829c386c329097a7'
  CONSUL_HTTP_SSL_VERIFY: true

An array of additional flags to pass to the consul_exporter daemon:

prometheus_consul_exporter_extra_opts: []

The version of consul_exporter to install. The default version can be found in the consul_exporter variables file and the default version can be overridden using the following variable:

prometheus_consul_exporter_version: "v1.0.0"

Allow the use of prerelease versions (beta, test, development, etc versions), defaults to 'false':

prometheus_consul_exporter_use_prerelease: true

Port and IP to listen on. Defaults to listening on all available IPs on port 9107:

prometheus_consul_exporter_host: "0.0.0.0"
prometheus_consul_exporter_port: 9107