summaryrefslogtreecommitdiffstats
path: root/roles/prometheus/meta/argument_specs.yml
blob: 6a6db4c46ddb325b70750d040dbad8d636b12070 (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
---
argument_specs:
  main:
    short_description: "Install and configure Prometheus monitoring with node exporter"
    description: "Install and configure Prometheus monitoring with node exporter"
    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_node_exporter_port:
        description: "Port for node-exporter metrics endpoint"
        type: "int"
        default: 9100
      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_host }}:{{ prometheus_node_exporter_port }}"]