--- # yamllint disable rule:line-length argument_specs: main: short_description: "Prometheus Influxdb Exporter" description: - "Deploy prometheus L(influxdb exporter,https://github.com/prometheus/influxdb_exporter) using ansible" author: - "Prometheus Community" options: influxdb_exporter_version: description: "influxdb exporter package version. Also accepts latest as parameter." default: "0.12.0" influxdb_exporter_binary_url: description: "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: description: "URL of the influxdb exporter checksums file" default: "https://github.com/{{ _influxdb_exporter_repo }}/releases/download/v{{ influxdb_exporter_version }}/sha256sums.txt" influxdb_exporter_web_listen_address: description: "Address on which influxdb exporter will listen" default: "0.0.0.0:9122" influxdb_exporter_web_telemetry_path: description: "Path under which to expose metrics" default: "/metrics" influxdb_exporter_influxdb_sample_expiry: description: "How long a sample is valid for" default: "5m" influxdb_exporter_udp_bind_address: description: "Address on which to listen for udp packets" default: "0.0.0.0:9122" influxdb_exporter_exporter_web_telemetry_path: description: "Path under which to expose metrics" default: "/metrics" influxdb_exporter_log_level: default: "info" description: "Only log messages with the given severity or above" choices: ["debug", "info", "warn", "error"] influxdb_exporter_log_format: default: "logfmt" description: "Output format of log messages" choices: ["logfmt", "json"] influxdb_exporter_export_timestamps: default: true description: "Export timestamps of points" influxdb_exporter_binary_install_dir: description: - "I(Advanced)" - "Directory to install influxdb_exporter binary" default: "/usr/local/bin" influxdb_exporter_system_group: description: - "I(Advanced)" - "System group for influxdb exporter" default: "influxdb-exp" influxdb_exporter_system_user: description: - "I(Advanced)" - "influxdb exporter user" default: "influxdb-exp" influxdb_exporter_local_cache_path: description: '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_config_dir: description: "Path to directory with influxdb_exporter configuration" default: "/etc/influxdb_exporter"