Skip to content

Instantly share code, notes, and snippets.

@emanoelopes
Last active November 28, 2022 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emanoelopes/002efa402a6d0ac9517390bd070be0da to your computer and use it in GitHub Desktop.
Save emanoelopes/002efa402a6d0ac9517390bd070be0da to your computer and use it in GitHub Desktop.
# my global config
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s).
# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets:
- localhost:9093
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
- "alert.rules.yml"
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: "prometheus"
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ["localhost:9090"]
- job_name: "111"
static_configs:
- targets: ["10.102.227.30:9182"]
# - job_name: "112"
# static_configs:
# - targets: ['10.102.227.31:9182']
#
# - job_name: "113"
# static_configs:
# - targets: ['10.102.227.32:9182']
#
# - job_name: "114"
# static_configs:
# - targets: ['10.102.227.33:9182']
#
# - job_name: "115"
# static_configs:
# - targets: ['10.102.227.34:9182']
#
# - job_name: "116"
# static_configs:
# - targets: ['10.102.227.35:9182']
#
# - job_name: "117"
# static_configs:
# - targets: ['10.102.227.36:9182']
#
# - job_name: "121"
# static_configs:
# - targets: ['10.102.227.37:9182']
#
# - job_name: "122"
# static_configs:
# - targets: ['10.102.227.38:9182']
#
# - job_name: "123"
# static_configs:
# - targets: ['10.102.227.39:9182']
#
# - job_name: "124"
# static_configs:
# - targets: ['10.102.227.40:9182']
#
# - job_name: "125"
# static_configs:
# - targets: ['10.102.227.41:9182']
#
# - job_name: "126"
# static_configs:
# - targets: ['10.102.227.42:9182']
#
# - job_name: "131"
# static_configs:
# - targets: ['10.102.227.44:9182']
#
# - job_name: "132"
# static_configs:
# - targets: ['10.102.227.45:9182']
#
# - job_name: "133"
# static_configs:
# - targets: ['10.102.227.46:9182']
#
# - job_name: "134"
# static_configs:
# - targets: ['10.102.227.47:9182']
#
# - job_name: "135"
# static_configs:
# - targets: ['10.102.227.48:9182']
#
# - job_name: "136"
# static_configs:
# - targets: ['10.102.227.49:9182']
#
# - job_name: "141"
# static_configs:
# - targets: ['10.102.227.51:9182']
#
# - job_name: "142"
# static_configs:
# - targets: ['10.102.227.52:9182']
#
# - job_name: "143"
# static_configs:
# - targets: ['10.102.227.53:9182']
#
# - job_name: "144"
# static_configs:
# - targets: ['10.102.227.54:9182']
#
# - job_name: "145"
# static_configs:
# - targets: ['10.102.227.55:9182']
#
# - job_name: "146"
# static_configs:
# - targets: ['10.102.227.56:9182']
#
# - job_name: "147"
# static_configs:
# - targets: ['10.102.227.57:9182']
#
# - job_name: "211"
# static_configs:
# - targets: ['10.102.227.58:9182']
#
# - job_name: "212"
# static_configs:
# - targets: ['10.102.227.59:9182']
#
# - job_name: "213"
# static_configs:
# - targets: ['10.102.227.60:9182']
#
# - job_name: "214"
# static_configs:
# - targets: ['10.102.227.61:9182']
#
# - job_name: "215"
# static_configs:
# - targets: ['10.102.227.62:9182']
#
# - job_name: "216"
# static_configs:
# - targets: ['10.102.227.63:9182']
#
# - job_name: "217"
# static_configs:
# - targets: ['10.102.227.64:9182']
#
# - job_name: "221"
# static_configs:
# - targets: ['10.102.227.65:9182']
#
# - job_name: "222"
# static_configs:
# - targets: ['10.102.227.66:9182']
#
# - job_name: "223"
# static_configs:
# - targets: ['10.102.227.67:9182']
#
# - job_name: "224"
# static_configs:
# - targets: ['10.102.227.68:9182']
#
# - job_name: "225"
# static_configs:
# - targets: ['10.102.227.69:9182']
#
# - job_name: "226"
# static_configs:
# - targets: ['10.102.227.70:9182']
#
# - job_name: "227"
# static_configs:
# - targets: ['10.102.227.71:9182']
#
# - job_name: "231"
# static_configs:
# - targets: ['10.102.227.72:9182']
#
# - job_name: "232"
# static_configs:
# - targets: ['10.102.227.73:9182']
#
# - job_name: "233"
# static_configs:
# - targets: ['10.102.227.74:9182']
#
# - job_name: "234"
# static_configs:
# - targets: ['10.102.227.75:9182']
#
# - job_name: "235"
# static_configs:
# - targets: ['10.102.227.76:9182']
#
# - job_name: "236"
# static_configs:
# - targets: ['10.102.227.77:9182']
#
# - job_name: "237"
# static_configs:
# - targets: ['10.102.227.78:9182']
#
# - job_name: "241"
# static_configs:
# - targets: ['10.102.227.79:9182']
#
# - job_name: "242"
# static_configs:
# - targets: ['10.102.227.80:9182']
#
# - job_name: "243"
# static_configs:
# - targets: ['10.102.227.81:9182']
#
# - job_name: "244"
# static_configs:
# - targets: ['10.102.227.82:9182']
#
# - job_name: "245"
# static_configs:
# - targets: ['10.102.227.83:9182']
#
# - job_name: "246"
# static_configs:
# - targets: ['10.102.227.84:9182']
#
# - job_name: "247"
# static_configs:
# - targets: ['10.102.227.85:9182']
#
# - job_name: "412"
# static_configs:
# - targets: ['10.102.227.115:9182']
#
# - job_name: "413"
# static_configs:
# - targets: ['10.102.227.116:9182']
#
# - job_name: "414"
# static_configs:
# - targets: ['10.102.227.117:9182']
#
# - job_name: "415"
# static_configs:
# - targets: ['10.102.227.118:9182']
#
# - job_name: "416"
# static_configs:
# - targets: ['10.102.227.119:9182']
#
# - job_name: "417"
# static_configs:
# - targets: ['10.102.227.120:9182']
#
# - job_name: "421"
# static_configs:
# - targets: ['10.102.227.121:9182']
#
# - job_name: "422"
# static_configs:
# - targets: ['10.102.227.122:9182']
#
# - job_name: "423"
# static_configs:
# - targets: ['10.102.227.123:9182']
#
# - job_name: "424"
# static_configs:
# - targets: ['10.102.227.124:9182']
#
# - job_name: "425"
# static_configs:
# - targets: ['10.102.227.125:9182']
#
# - job_name: "426"
# static_configs:
# - targets: ['10.102.227.126:9182']
#
# - job_name: "431"
# static_configs:
# - targets: ['10.102.227.128:9182']
#
# - job_name: "432"
# static_configs:
# - targets: ['10.102.227.129:9182']
#
# - job_name: "433"
# static_configs:
# - targets: ['10.102.227.130:9182']
#
# - job_name: "434"
# static_configs:
# - targets: ['10.102.227.131:9182']
#
# - job_name: "435"
# static_configs:
# - targets: ['10.102.227.132:9182']
#
# - job_name: "436"
# static_configs:
# - targets: ['10.102.227.133:9182']
#
# - job_name: "437"
# static_configs:
# - targets: ['10.102.227.134:9182']
#
# - job_name: "441"
# static_configs:
# - targets: ['10.102.227.135:9182']
#
# - job_name: "442"
# static_configs:
# - targets: ['10.102.227.136:9182']
#
# - job_name: "443"
# static_configs:
# - targets: ['10.102.227.137:9182']
#
# - job_name: "444"
# static_configs:
# - targets: ['10.102.227.138:9182']
#
# - job_name: "445"
# static_configs:
# - targets: ['10.102.227.139:9182']
#
# - job_name: "446"
# static_configs:
# - targets: ['10.102.227.140:9182']
#
# - job_name: "447"
# static_configs:
# - targets: ['10.102.227.141:9182']
#
# - job_name: "511"
# static_configs:
# - targets: ['10.102.227.142:9182']
#
# - job_name: "512"
# static_configs:
# - targets: ['10.102.227.143:9182']
#
# - job_name: "513"
# static_configs:
# - targets: ['10.102.227.144:9182']
#
# - job_name: "514"
# static_configs:
# - targets: ['10.102.227.145:9182']
#
# - job_name: "515"
# static_configs:
# - targets: ['10.102.227.146:9182']
#
# - job_name: "516"
# static_configs:
# - targets: ['10.102.227.147:9182']
#
# - job_name: "517"
# static_configs:
# - targets: ['10.102.227.148:9182']
#
# - job_name: "521"
# static_configs:
# - targets: ['10.102.227.149:9182']
#
# - job_name: "522"
# static_configs:
# - targets: ['10.102.227.150:9182']
#
# - job_name: "523"
# static_configs:
# - targets: ['10.102.227.151:9182']
#
# - job_name: "524"
# static_configs:
# - targets: ['10.102.227.152:9182']
#
# - job_name: "525"
# static_configs:
# - targets: ['10.102.227.153:9182']
#
# - job_name: "526"
# static_configs:
# - targets: ['10.102.227.154:9182']
#
# - job_name: "527"
# static_configs:
# - targets: ['10.102.227.155:9182']
#
# - job_name: "531"
# static_configs:
# - targets: ['10.102.227.156:9182']
#
# - job_name: "532"
# static_configs:
# - targets: ['10.102.227.157:9182']
#
# - job_name: "533"
# static_configs:
# - targets: ['10.102.227.158:9182']
#
# - job_name: "534"
# static_configs:
# - targets: ['10.102.227.159:9182']
#
# - job_name: "535"
# static_configs:
# - targets: ['10.102.227.160:9182']
#
# - job_name: "536"
# static_configs:
# - targets: ['10.102.227.161:9182']
#
# - job_name: "537"
# static_configs:
# - targets: ['10.102.227.162:9182']
#
# - job_name: "541"
# static_configs:
# - targets: ['10.102.227.163:9182']
#
# - job_name: "542"
# static_configs:
# - targets: ['10.102.227.164:9182']
#
# - job_name: "543"
# static_configs:
# - targets: ['10.102.227.165:9182']
#
# - job_name: "544"
# static_configs:
# - targets: ['10.102.227.166:9182']
#
# - job_name: "545"
# static_configs:
# - targets: ['10.102.227.167:9182']
#
# - job_name: "546"
# static_configs:
# - targets: ['10.102.227.168:9182']
#
# - job_name: "547"
# static_configs:
# - targets: ['10.102.227.169:9182']
#
# - job_name: "611"
# static_configs:
# - targets: ['10.102.227.170:9182']
#
# - job_name: "612"
# static_configs:
# - targets: ['10.102.227.171:9182']
#
# - job_name: "613"
# static_configs:
# - targets: ['10.102.227.172:9182']
#
# - job_name: "614"
# static_configs:
# - targets: ['10.102.227.173:9182']
#
# - job_name: "615"
# static_configs:
# - targets: ['10.102.227.174:9182']
#
# - job_name: "616"
# static_configs:
# - targets: ['10.102.227.175:9182']
#
# - job_name: "617"
# static_configs:
# - targets: ['10.102.227.176:9182']
#
# - job_name: "621"
# static_configs:
# - targets: ['10.102.227.177:9182']
#
# - job_name: "622"
# static_configs:
# - targets: ['10.102.227.178:9182']
#
# - job_name: "623"
# static_configs:
# - targets: ['10.102.227.179:9182']
#
# - job_name: "624"
# static_configs:
# - targets: ['10.102.227.180:9182']
#
# - job_name: "625"
# static_configs:
# - targets: ['10.102.227.181:9182']
#
# - job_name: "626"
# static_configs:
# - targets: ['10.102.227.182:9182']
#
# - job_name: "627"
# static_configs:
# - targets: ['10.102.227.183:9182']
#
# - job_name: "631"
# static_configs:
# - targets: ['10.102.227.184:9182']
#
# - job_name: "632"
# static_configs:
# - targets: ['10.102.227.185:9182']
#
# - job_name: "633"
# static_configs:
# - targets: ['10.102.227.186:9182']
#
# - job_name: "634"
# static_configs:
# - targets: ['10.102.227.187:9182']
#
# - job_name: "635"
# static_configs:
# - targets: ['10.102.227.188:9182']
#
# - job_name: "636"
# static_configs:
# - targets: ['10.102.227.189:9182']
#
# - job_name: "637"
# static_configs:
# - targets: ['10.102.227.190:9182']
#
# - job_name: "641"
# static_configs:
# - targets: ['10.102.227.191:9182']
#
# - job_name: "642"
# static_configs:
# - targets: ['10.102.227.192:9182']
#
# - job_name: "643"
# static_configs:
# - targets: ['10.102.227.193:9182']
#
# - job_name: "644"
# static_configs:
# - targets: ['10.102.227.194:9182']
#
# - job_name: "645"
# static_configs:
# - targets: ['10.102.227.195:9182']
#
# - job_name: "646"
# static_configs:
# - targets: ['10.102.227.196:9182']
#
# - job_name: "647"
# static_configs:
# - targets: ['10.102.227.197:9182']
#
# - job_name: "329989-23"
# static_configs:
# - targets: ['10.102.226.77:9182']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment