- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for scrapes_dir (0.18 sec)
-
hack/serve-prom-scrapes.sh
# and added to the data in that file. # This requires an `nc` command that this script knows how to wrangle. if (( $# != 2 )); then echo "Usage: $0 port_num scrapes_dir" >&2 exit 1 fi port_num="$1" scrapes_dir="$2" response_file="/tmp/$(cd /tmp && mktemp response.XXXXXX)" cleanup_serve() { rm -rf "$response_file" } trap cleanup_serve EXIT chmod +r "$response_file"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 04 06:33:06 UTC 2022 - 1.9K bytes - Viewed (0)