-
Notifications
You must be signed in to change notification settings - Fork 684
Open
Description
Issue Description
Following the tutorial instructions for adding Prometheus results in an error where Prometheus attempts to read its configuration file but encounters a directory instead.
Current Behavior
When following the tutorial steps exactly as written, Prometheus fails to start with the following error:
level=ERROR source=main.go:593 msg="Error loading config (--config.file=/etc/prometheus/prometheus.yml)" file=/etc/prometheus/prometheus.yml err="read /etc/prometheus/prometheus.yml: is a directory"The error keeps repeating and Prometheus exits with code 2.
Current Tutorial Configuration
docker-compose.yml section:
prometheus:
image: prom/prometheus
container_name: prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
ports:
- 9090:9090
restart: unless-stopped
volumes:
- ./prometheus:/etc/prometheusEnvironment
dsurrao
Metadata
Metadata
Assignees
Labels
No labels