--- argument_specs: main: short_description: Prometheus docker container options: prometheus_scrape_interval: description: Interval how often prometheus will scrape the monitoring targets type: str required: false default: 5s prometheus_evaluation_interval: description: Interval how often prometheus will evaluate the scraped metrics against defined conditions type: str required: false default: 15s prometheus_storage_retention: description: Period of time for which prometheus metrics are stored for. A number followed by unit (s, m, h, d, w, y) type: str required: false default: 3650d prometheus_hcloud_token: description: Access token for hetzner cloud service discovery. It will be enabled if this variable is defined type: str required: false prometheus_hcloud_relabel_configs: description: Relabel configs for hcloud type: list required: false default: [] elements: dict options: source_labels: type: list required: true elements: str target_label: type: str required: true replacement: type: str required: false prometheus_install_grafana: description: If true, installs grafana in the same docker network as prometheus and configures it with prometheus as data source type: bool required: false default: false # All options after this will be passed directly to the container role docker_service_suffix: description: "Passed to container role" required: false docker_host_user: description: "Passed to container role" required: false database_passwords: description: "Passed to container role" required: false docker_additional_services: description: "Passed to container role" required: false docker_volume_type: description: "Passed to container role" required: false reverse_proxy_type: description: "Passed to container role" required: false ports: description: "Passed to container role" required: false docker_vhost_domains: description: "Passed to container role" required: false docker_entrypoint: description: "Passed to container role" required: false