--- alloy_cap_net_bind_service: false alloy_do_we_have_v6: "{{ (ansible_facts['all_ipv6_addresses'] | select('match', '^[23]') | list | length > 0) | ternary('true', 'false') }}" alloy_config_default: | prometheus.remote_write "default" { endpoint { url = "https://metrics.hamburg.ccc.de/api/v1/write" basic_auth { username = "chaos" password = "{{ metrics__chaos_password }}" } } } prometheus.relabel "chaosknoten_common" { forward_to = [prometheus.remote_write.default.receiver] rule { target_label = "org" replacement = "ccchh" } rule { target_label = "site" replacement = "wieske" } rule { source_labels = ["instance"] target_label = "instance" regex = "([^:]+)" replacement = "${1}.hosts.hamburg.ccc.de" action = "replace" } } logging { level = "info" } prometheus.exporter.unix "local_system" { enable_collectors = ["systemd"] } prometheus.scrape "scrape_metrics" { targets = prometheus.exporter.unix.local_system.targets forward_to = [prometheus.relabel.chaosknoten_common.receiver] } alloy_config_additional: "" alloy_blackbox_exporter_config_default: | modules: https4_2xx: prober: http http: valid_status_codes: [] # Defaults to 2xx method: GET follow_redirects: true fail_if_ssl: false fail_if_not_ssl: true preferred_ip_protocol: "ip4" ip_protocol_fallback: false https6_2xx: prober: http http: valid_status_codes: [] # Defaults to 2xx method: GET follow_redirects: true fail_if_ssl: false fail_if_not_ssl: true preferred_ip_protocol: "ip6" ip_protocol_fallback: false tcp4_connect: prober: tcp tcp: preferred_ip_protocol: "ip4" ip_protocol_fallback: false icmp4: prober: icmp icmp: preferred_ip_protocol: "ip4" ip_protocol_fallback: false icmp6: prober: icmp icmp: preferred_ip_protocol: "ip6" ip_protocol_fallback: false alloy_blackbox_exporter_config_additional: "" alloy_unpoller_enabled: false alloy_unpoller_unifi_user: unpoller alloy_unpoller_unifi_password: alloy_unpoller_unifi_url: