diff --git a/autotest/autotest.py b/autotest/autotest.py index b43cc693..27001237 100755 --- a/autotest/autotest.py +++ b/autotest/autotest.py @@ -164,7 +164,7 @@ while i < len(actions): print(slide.content.replace(snippet.content, ansi(7)(snippet.content))) print(hrule()) if interactive: - print("[{}] Shall we execute that snippet above?".format(i)) + print("[{}/{}] Shall we execute that snippet above?".format(i, len(actions))) print("(ENTER to execute, 'c' to continue until next error, N to jump to step #N)") command = raw_input("> ") else: diff --git a/docs/metrics.md b/docs/metrics.md index 071fbdeb..e0232d71 100644 --- a/docs/metrics.md +++ b/docs/metrics.md @@ -1006,9 +1006,9 @@ class: prom-manual --mount type=bind,source=/sys,target=/host/sys \ --mount type=bind,source=/,target=/rootfs \ prom/node-exporter \ - -collector.procfs /host/proc \ - -collector.sysfs /host/proc \ - -collector.filesystem.ignored-mount-points "^/(sys|proc|dev|host|etc)($|/)" + --path.procfs /host/proc \ + --path.sysfs /host/proc \ + --collector.filesystem.ignored-mount-points "^/(sys|proc|dev|host|etc)($|/)" ``` ] diff --git a/stacks/prometheus.yml b/stacks/prometheus.yml index 3bc2e08d..c0dc8922 100644 --- a/stacks/prometheus.yml +++ b/stacks/prometheus.yml @@ -10,7 +10,7 @@ services: node: image: prom/node-exporter - command: -collector.procfs /host/proc -collector.sysfs /host/proc -collector.filesystem.ignored-mount-points "^(sys|proc|dev|host|etc)($$|/)" + command: --path.procfs /host/proc --path.sysfs /host/proc --collector.filesystem.ignored-mount-points "^(sys|proc|dev|host|etc)($$|/)" deploy: mode: global volumes: