👌 IMPROVE: Add heartbeat targets configuration for Prometheus monitoring and save to new JSON file
This commit is contained in:
@@ -19,6 +19,13 @@ scrape_configs:
|
||||
scrape_interval: 2m # Change it carefully, it is a heavy job to keep open and close to check the health of DB connection, there annotation to refactor it and use a new pgDebounce image.
|
||||
scheme: http
|
||||
|
||||
- job_name: "heartbeat"
|
||||
file_sd_configs:
|
||||
- files:
|
||||
- "/opt/phx/main/config/hetzner_heartbeat_targets.json"
|
||||
refresh_interval: 30s
|
||||
honor_labels: true
|
||||
|
||||
# - job_name: "phoenix-system"
|
||||
# file_sd_configs:
|
||||
# - files:
|
||||
|
||||
Reference in New Issue
Block a user