Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
overmind
/
matrix-docker-ansible-deploy
espelho de
https://github.com/spantaleev/matrix-docker-ansible-deploy
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Lançamentos
0
Wiki
Trabalho
Ver a proveniência
Register docker network info and use it for prometheus-node-exporter
Using the hardcoded IP did break while I was messing with IPv6 stuff on the other branch
pull/838/head
Peetz0r
há 5 anos
ascendente
da82d670af
cometimento
144a5e6198
2 ficheiros alterados
com
2 adições
e
1 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+1
-0
roles/matrix-base/tasks/setup_matrix_base.yml
+1
-1
roles/matrix-prometheus/templates/prometheus.yml.j2
+ 1
- 0
roles/matrix-base/tasks/setup_matrix_base.yml
Ver ficheiro
@@ -23,6 +23,7 @@
docker_network:
name: "{{ matrix_docker_network }}"
driver: bridge
register: matrix_docker_network_info
- name: Ensure matrix-remove-all script created
template:
+ 1
- 1
roles/matrix-prometheus/templates/prometheus.yml.j2
Ver ficheiro
@@ -36,5 +36,5 @@ scrape_configs:
{% if matrix_prometheus_node_exporter_enabled %}
- job_name: node
static_configs:
- targets: ['
172.18.0.1
:9100']
- targets: ['
{{ matrix_docker_network_info.network.IPAM.Config[0].Gateway }}
:9100']
{% endif %}
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar