add reporter for prometheus.io

This commit is contained in:
Patrick Stadler
2015-03-25 20:24:49 +01:00
parent 77629720aa
commit ff9ed8ac10
4 changed files with 89 additions and 1 deletions

View File

@@ -8,6 +8,10 @@ iso_date () {
date -u +"%Y-%m-%dT%H:%M:%SZ"
}
unix_timestamp () {
date "+%s"
}
in_array () {
echo " $2 " | grep -q " $1 "
}