mirror of
https://github.com/pstadler/metrics.sh.git
synced 2025-11-08 21:24:54 -05:00
add reporter for prometheus.io
This commit is contained in:
@@ -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 "
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user