--- - hosts: prometheus roles: - cloudalchemy.prometheus vars: prometheus_scrape_configs: - job_name: "prometheus" # Custom scrape job, here using `static_config` metrics_path: "/metrics" static_configs: - targets: - "localhost:9090" - job_name: "netdata-scrape" metrics_path: "/api/v1/allmetrics" params: - format: "prometheus_all_hosts" honor_labels: true static_configs: - targets: - "netdata.internal.sickstack.com:19999" - hosts: grafana roles: - cloudalchemy.grafana vars: grafana_datasources: - name: prometheus type: prometheus access: proxy url: 'http://localhost:9090' basicAuth: false