Hi,
I have installed Docker on my Synology DS918+ NAS and added the prom/prometheus package and got Prometheus up and running. From the web interface in Prometheus I can click on "Status" in the menu bar and then "Configuration" to reveal the following default config:
global:
scrape_interval: 15s
scrape_timeout: 10s
evaluation_interval: 15s
alerting:
alertmanagers:
- static_configs:
- targets: []
scheme: http
timeout: 10s
scrape_configs:
- job_name: prometheus
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- localhost:9090
From the web interface it is not possible to change what is written in the configuration file which means I am not able to add my desired scrape targets. How can I access the configuration file and edit it? Please keep in mind that I am very new to Prometheus and I have never used it or Docker before.
I appreciate any help I can get. Thank you!
//Anders