- job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] relabel_configs: - replacement: '{{ inventory_hostname }}' target_label: instance