prometheus.prometheus.influxdb_exporter role – Prometheus Influxdb Exporter

Note

This role is part of the prometheus.prometheus collection (version 0.22.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install prometheus.prometheus.

To use it in a playbook, specify: prometheus.prometheus.influxdb_exporter.

Entry point main – Prometheus Influxdb Exporter

Synopsis

Parameters

Parameter

Comments

influxdb_exporter_binary_install_dir

string

Advanced

Directory to install influxdb_exporter binary

Default: "/usr/local/bin"

influxdb_exporter_binary_url

string

URL of the influxdb exporter binaries .tar.gz file

Default: "https://github.com/{{ _influxdb_exporter_repo }}/releases/download/v{{ influxdb_exporter_version }}/influxdb_exporter-{{ influxdb_exporter_version }}.{{ ansible_system | lower }}-{{ _influxdb_exporter_go_ansible_arch }}.tar.gz"

influxdb_exporter_checksums_url

string

URL of the influxdb exporter checksums file

Default: "https://github.com/{{ _influxdb_exporter_repo }}/releases/download/v{{ influxdb_exporter_version }}/sha256sums.txt"

influxdb_exporter_config_dir

string

Path to directory with influxdb_exporter configuration

Default: "/etc/influxdb_exporter"

influxdb_exporter_export_timestamps

string

Export timestamps of points

Default: true

influxdb_exporter_exporter_web_telemetry_path

string

Path under which to expose metrics

Default: "/metrics"

influxdb_exporter_influxdb_sample_expiry

string

How long a sample is valid for

Default: "5m"

influxdb_exporter_local_cache_path

string

Local path to stash the archive and its extraction

Default: "/tmp/influxdb_exporter-{{ ansible_system | lower }}-{{ _influxdb_exporter_go_ansible_arch }}/{{ influxdb_exporter_version }}"

influxdb_exporter_log_format

string

Output format of log messages

Choices:

  • "logfmt" ← (default)

  • "json"

influxdb_exporter_log_level

string

Only log messages with the given severity or above

Choices:

  • "debug"

  • "info" ← (default)

  • "warn"

  • "error"

influxdb_exporter_system_group

string

Advanced

System group for influxdb exporter

Default: "influxdb-exp"

influxdb_exporter_system_user

string

Advanced

influxdb exporter user

Default: "influxdb-exp"

influxdb_exporter_udp_bind_address

string

Address on which to listen for udp packets

Default: "0.0.0.0:9122"

influxdb_exporter_version

string

influxdb exporter package version. Also accepts latest as parameter.

Default: "0.11.5"

influxdb_exporter_web_listen_address

string

Address on which influxdb exporter will listen

Default: "0.0.0.0:9122"

influxdb_exporter_web_telemetry_path

string

Path under which to expose metrics

Default: "/metrics"

Authors

  • Prometheus Community