Use pcp instead of dstand and return dstat graph artifact
Dstat is dead, but pcp supplies a compatible interface. Installation can be unreliable, so let's ignore failures since this isn't generally critical. Change-Id: I9234b226242f145db9c235797649202aa530ec74
This commit is contained in:
parent
bd60fbd744
commit
61d00fec6f
@ -18,3 +18,13 @@
|
|||||||
shell: "./generate_page.sh {{ dstat_data_path }} > {{ ansible_user_dir }}/zuul-output/logs/dstat.html"
|
shell: "./generate_page.sh {{ dstat_data_path }} > {{ ansible_user_dir }}/zuul-output/logs/dstat.html"
|
||||||
args:
|
args:
|
||||||
chdir: "{{ dstat_path }}"
|
chdir: "{{ dstat_path }}"
|
||||||
|
|
||||||
|
- name: Return dstat artifact to Zuul
|
||||||
|
zuul_return:
|
||||||
|
data:
|
||||||
|
zuul:
|
||||||
|
artifacts:
|
||||||
|
- name: "Dstat graph"
|
||||||
|
url: "dstat.html"
|
||||||
|
metadata:
|
||||||
|
type: dstat_graph
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
- name: Install dstat
|
- name: Install dstat
|
||||||
package:
|
package:
|
||||||
name: dstat
|
name: pcp
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
failed_when: false
|
||||||
- name: Run dstat
|
- name: Run dstat
|
||||||
shell: "dstat -tcmndrylpg --tcp --output {{ dstat_data_path }} >& /dev/null &"
|
shell: "dstat -tcmndrylpg --tcp --output {{ dstat_data_path }} >& /dev/null &"
|
||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
|
failed_when: false
|
||||||
|
Loading…
Reference in New Issue
Block a user