- job_name: 'prometheus' static_configs: - targets: ['{{ prometheus.args["web.listen-address"] }}'] relabel_configs: - replacement: '{{ inventory_hostname }}' target_label: instance