Tobias Manske
5a8416fcdf
All checks were successful
continuous-integration/drone/push Build is passing
55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
global:
|
|
scrape_interval: 15s
|
|
scrape_timeout: 10s
|
|
evaluation_interval: 15s
|
|
alerting:
|
|
alertmanagers:
|
|
- scheme: http
|
|
static_configs:
|
|
- targets: [ 'alertmanager:9093' ]
|
|
- static_configs:
|
|
- targets: []
|
|
scheme: http
|
|
timeout: 10s
|
|
api_version: v1
|
|
rule_files:
|
|
- "/rules/*.yaml"
|
|
scrape_configs:
|
|
- job_name: prometheus
|
|
honor_timestamps: true
|
|
scrape_interval: 15s
|
|
scrape_timeout: 10s
|
|
metrics_path: /metrics
|
|
scheme: http
|
|
static_configs:
|
|
- targets:
|
|
- localhost:9090
|
|
- job_name: 'service_discovery'
|
|
metric_relabel_configs:
|
|
- source_labels:
|
|
- "container_name"
|
|
target_label: "instance"
|
|
action: replace
|
|
file_sd_configs:
|
|
- files:
|
|
- /label_discovery/docker-targets.json
|
|
- job_name: minio-job
|
|
bearer_token: "{{ prometheus.scrape.s3.bearer_token }}"
|
|
metrics_path: /minio/v2/metrics/cluster
|
|
scheme: https
|
|
static_configs:
|
|
- targets: [s3.tobiasmanske.de]
|
|
- job_name: drone-job
|
|
bearer_token: "{{ prometheus.scrape.drone.bearer_token }}"
|
|
scheme: https
|
|
static_configs:
|
|
- targets: [drone.tobiasmanske.de]
|
|
- job_name: 'uptime-kuma-job'
|
|
scrape_interval: 30s
|
|
scheme: https
|
|
static_configs:
|
|
- targets: [status.tobiasmanske.de]
|
|
basic_auth:
|
|
username: "{{ prometheus.scrape.kuma.user }}"
|
|
password: "{{ prometheus.scrape.kuma.password }}"
|