gathering metrics on ansible runs

73 views
Skip to first unread message

Paul Sutyrin

unread,
Jan 15, 2014, 3:48:07 PM1/15/14
to ansible...@googlegroups.com
Hi folks, 

Thanks again for this great new generation tool.

What is the most straightforward way to gather statistics on repeated ansible runs? I plan to configure and deploy many things, unattended tasks also — and have exact picture on how long everything takes.

I would expect some pre/post task hooks that allow me to gather timers (and results/errors too) on per-task basis and report to some Zabbix or Sentry perhaps.

Thanks!

Michael DeHaan

unread,
Jan 15, 2014, 3:51:30 PM1/15/14
to ansible...@googlegroups.com
You could write a callback module, or on the simpler end, just use the "time" command.




--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Michael DeHaan <mic...@ansibleworks.com>
CTO, AnsibleWorks, Inc.
http://www.ansibleworks.com/

Paul Sutyrin

unread,
Jan 15, 2014, 3:52:43 PM1/15/14
to ansible...@googlegroups.com
Thanks Michael! 

Callbacks are what I was looking for. 

Long live!


2014/1/16 Michael DeHaan <mic...@ansibleworks.com>

--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/Xrm9q4i3I8g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.

To post to this group, send email to ansible...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Paul Sutyrin // Павел Сутырин.                                        * * *
  email/jabber/xmpp/gtalk: pavel....@gmail.com                        *
  livejournal: spacediver // skype: pavel_sutyrin // icq: 12897266      *  
  cellphone: +7 903 592 76 87
Reply all
Reply to author
Forward
0 new messages