status.io: push save code now statistics
Refresh every 5mn the save code now metric on the status.io status page
Related to T3129
Test Plan
- pergamon
diff origin/production/pergamon.softwareheritage.org current/pergamon.softwareheritage.org
*******************************************
+ Concat_file[profile::cron::statusio_scn_metrics] =>
parameters =>
"group": "root",
"mode": "0644",
"owner": "root",
"path": "/etc/puppet-cron.d/statusio_scn_metrics",
"tag": "profile::cron::statusio_scn_metrics"
*******************************************
+ Concat_fragment[profile::cron::statusio_scn_metrics::_header] =>
parameters =>
"content": "# Managed by puppet (module profile::cron), manual changes will ...
"order": "00",
"tag": "profile::cron::statusio_scn_metrics",
"target": "profile::cron::statusio_scn_metrics"
*******************************************
+ Concat_fragment[profile::cron::statusio_scn_metrics] =>
parameters =>
"content": "# Cron snippet statusio_scn_metrics\n*/5 * * * * root chronic sh...
"order": "10",
"tag": "profile::cron::statusio_scn_metrics",
"target": "profile::cron::statusio_scn_metrics"
*******************************************
+ File[/etc/cron.d/puppet-statusio_scn_metrics] =>
parameters =>
"ensure": "link",
"target": "/etc/puppet-cron.d/statusio_scn_metrics"
*******************************************
+ File[/usr/local/bin/statusio_export_archive_counters.py] =>
parameters =>
"content": "#!/usr/bin/python3\n# File managed by puppet (class ::profile::s...
"ensure": "present",
"group": "root",
"mode": "0755",
"owner": "root"
*******************************************
+ Package[python3-statusio] =>
parameters =>
"ensure": "present"
*******************************************
+ Profile::Cron::D[statusio_scn_metrics] =>
parameters =>
"command": "chronic sh -c '/usr/local/bin/statusio_export_archive_counters.p...
"hour": "*",
"minute": "*/5",
"target": "statusio_scn_metrics",
"unique_tag": "statusio_scn_metrics",
"user": "root"
*******************************************
+ Profile::Cron::File[statusio_scn_metrics] =>
parameters =>
"target": "statusio_scn_metrics"
*******************************************
*** End octocatalog-diff on pergamon.softwareheritage.org
Migrated from D5787 (view on Phabricator)