RESET MASTER;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function get_free_port() { | |
python -c 'import socket; s=socket.socket(); s.bind(("", 0)); print(s.getsockname()[1]); s.close()' | |
} | |
function get_pwd_md5() { | |
python -c 'import hashlib; print hashlib.md5("'`pwd`'").hexdigest()' | |
} | |
function docker_alias_core() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scrape_configs: | |
- job_name: 'example_job' | |
scrape_interval: 5s | |
static_configs: | |
- targets: ['5s.example.com'] | |
# scrape more often, but keep same job name (example_job) | |
- job_name: 'example_job_each_1s' | |
scrape_interval: 1s | |
static_configs: |