added prometheus endpoint config
This commit is contained in:
54
rma-metrics/prometheus-config/prometheus.yaml
Normal file
54
rma-metrics/prometheus-config/prometheus.yaml
Normal file
@@ -0,0 +1,54 @@
|
||||
global:
|
||||
scrape_interval: 5s # By default, scrape targets every 15 seconds.
|
||||
|
||||
# Attach these labels to any time series or alerts when communicating with
|
||||
# external systems (federation, remote storage, Alertmanager).
|
||||
# external_labels:
|
||||
# monitor: 'codelab-monitor'
|
||||
|
||||
# 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'
|
||||
# Override the global default and scrape targets from this job every 5 seconds.
|
||||
scrape_interval: 5s
|
||||
static_configs:
|
||||
- targets: ['localhost:9090']
|
||||
# Example job for RMA Traefik exporter
|
||||
- job_name: 'Demo-124'
|
||||
metrics_path: /metrics
|
||||
scheme: https
|
||||
static_configs:
|
||||
- targets: ['demo124.remote-master.cloud']
|
||||
basic_auth:
|
||||
username: stadmin
|
||||
password: 'Strudel8-Sandblast-Charity'
|
||||
- job_name: 'Riedle-Bertsch'
|
||||
metrics_path: /
|
||||
scheme: https
|
||||
static_configs:
|
||||
- targets: ['metrics.riedle-bertsch.remote-master.cloud']
|
||||
basic_auth:
|
||||
username: stadmin
|
||||
password: 'Strudel8-Sandblast-Charity'
|
||||
- job_name: 'simon-backup'
|
||||
metrics_path: /metrics
|
||||
scheme: https
|
||||
static_configs:
|
||||
- targets: ['backup.simon.acdctest.eu']
|
||||
- job_name: 'production_servers_stats'
|
||||
scrape_interval: 5m
|
||||
scrape_timeout: 90s
|
||||
scheme: https
|
||||
metrics_path: /stats/metrics
|
||||
http_sd_configs:
|
||||
# /targets is Service discover EP for all production targets. /targets/dev is just dev.remote-master.cloud for testing
|
||||
- url: https://node.remote-master.cloud/v1/targets
|
||||
refresh_interval: 60m
|
||||
authorization:
|
||||
type: Bearer
|
||||
credentials: "Ancient-Detonator-Wrinkly5"
|
||||
authorization:
|
||||
type: Bearer
|
||||
credentials: "AlLurik50EE3TXXhrhMm7iZKkTvoFDRMOI8blykvt1JJki0PgZa6C0RE3eRKfOY6+akB55OBYLL8LrzJOj7axstdweEP5KgdZ08D0csIFl5Ife0yarA6emcS5fCoBcDWFiXbUCW8VF1WWLz0v4i63jt6VgUaj71fcYmZcZUxC"
|
||||
Reference in New Issue
Block a user