summaryrefslogtreecommitdiffstats
path: root/roles/prometheus/meta/argument_specs.yml
blob: 11beae382ede842948a920be21bc8c28026b80f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
argument_specs:
  main:
    options:
      prometheus_host:
        description: "host for Prometheus web interface"
        type: "str"
        default: "127.0.0.1"
      prometheus_port:
        description: "Port for Prometheus web interface"
        type: "int"
        default: 9090
      prometheus_retention:
        description: "Data retention period for Prometheus"
        type: "str"
        default: "15d"
      prometheus_scrape_interval:
        description: "Global scrape interval for metrics collection"
        type: "str"
        default: "15s"
      prometheus_targets:
        description: "The list of prometheus targets to scrape"
        type: "list"
        elements: "str"
        default: ["{{ prometheus_host }}:{{ prometheus_port }}"]
      prometheus_node_exporter_targets:
        description: "The list of node_exporter targets to scrape"
        type: "list"
        elements: "str"
        default: []
      prometheus_hostname:
        type: "str"
        description: "FQDN for the prometheus nginx vhost (e.g. 'metrics.home.arpa')."
        default: "metrics.home.arpa"
      prometheus_extra_scrape_configs:
        description: "Additional Prometheus scrape jobs"
        type: "list"
        elements: "dict"
        default: []