Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
overmind
/
matrix-docker-ansible-deploy
réplica de
https://github.com/spantaleev/matrix-docker-ansible-deploy
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
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
hace 5 años
padre
da82d670af
commit
144a5e6198
Se han
modificado 2 ficheros
con
2 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+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 fichero
@@ -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 fichero
@@ -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 %}
Escribir
Vista previa
Cargando…
Cancelar
Guardar