main
parent
012f7cd6cf
commit
82e7d01f9f
@ -0,0 +1,39 @@
|
||||
global:
|
||||
# Attach these labels to any time series or alerts when communicating with
|
||||
# external systems (federation, remote storage, Alertmanager).
|
||||
external_labels:
|
||||
monitor: 'codelab-monitor'
|
||||
|
||||
scrape_configs:
|
||||
- job_name: prometheus
|
||||
static_configs:
|
||||
- targets: ['localhost:9090']
|
||||
|
||||
- job_name: node
|
||||
static_configs:
|
||||
- targets: ['host.docker.internal:9100']
|
||||
|
||||
- job_name: docker
|
||||
static_configs:
|
||||
- targets: ['host.docker.internal:9323']
|
||||
|
||||
- job_name: caddy
|
||||
static_configs:
|
||||
- targets: ['caddy:2019']
|
||||
|
||||
- job_name: grafana
|
||||
static_configs:
|
||||
- targets: ['grafana:3000']
|
||||
|
||||
- job_name: postgres
|
||||
static_configs:
|
||||
- targets: ['host.docker.internal:9187']
|
||||
|
||||
- job_name: promtail
|
||||
static_configs:
|
||||
- targets: ['promtail:9080']
|
||||
|
||||
- job_name: linode
|
||||
linode_sd_configs:
|
||||
- authorization:
|
||||
credentials: {{ prometheus.linode_api_token }}
|
Loading…
Reference in new issue