Skip to content

Commit

Permalink
Updated Alertmanager arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
vfarcic committed Jan 14, 2018
1 parent 038053d commit feb9731
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FROM prom/prometheus:v2.0.0

ENV GLOBAL_SCRAPE_INTERVAL=10s \
ARG_CONFIG_FILE=/etc/prometheus/prometheus.yml \
ARG_STORAGE_LOCAL_PATH=/prometheus \
ARG_STORAGE_TSDB_PATH=/prometheus \
ARG_WEB_CONSOLE_LIBRARIES=/usr/share/prometheus/console_libraries \
ARG_WEB_CONSOLE_TEMPLATES=/usr/share/prometheus/consoles \
CONFIGS_DIR="/run/secrets"
Expand Down
2 changes: 1 addition & 1 deletion docs/auto-scaling.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ The full definition of the stack that we just deployed can be found in [docker-f
- monitor
secrets:
- alert_manager_config
command: -config.file=/run/secrets/alert_manager_config -storage.path=/alertmanager
command: --config.file=/run/secrets/alert_manager_config --storage.path=/alertmanager
swarm-listener:
image: vfarcic/docker-flow-swarm-listener
Expand Down
2 changes: 1 addition & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ prometheus --web.route-prefix=/monitor --web.external-url=http://localhost/monit

```
ARG_CONFIG_FILE=/etc/prometheus/prometheus.yml
ARG_STORAGE_LOCAL_PATH=/prometheus
ARG_STORAGE_TSDB_PATH=/prometheus
ARG_WEB_CONSOLE_LIBRARIES=/usr/share/prometheus/console_libraries
ARG_WEB_CONSOLE_TEMPLATES=/usr/share/prometheus/consoles
```
Expand Down
2 changes: 1 addition & 1 deletion stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ services:
- monitor
secrets:
- alert_manager_config
command: -config.file=/run/secrets/alert_manager_config -storage.path=/alertmanager
command: --config.file=/run/secrets/alert_manager_config --storage.path=/alertmanager

swarm-listener:
image: vfarcic/docker-flow-swarm-listener
Expand Down
2 changes: 1 addition & 1 deletion stacks/alert-manager-slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
- monitor
secrets:
- alert_manager_config
command: -config.file=/run/secrets/alert_manager_config -storage.path=/alertmanager
command: --config.file=/run/secrets/alert_manager_config --storage.path=/alertmanager

networks:
monitor:
Expand Down
3 changes: 1 addition & 2 deletions stacks/docker-flow-monitor-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ services:
monitor:
image: vfarcic/docker-flow-monitor
environment:
- ARG_STORAGE_TSDB_PATH=/prometheus
- LISTENER_ADDRESS=swarm-listener
- GLOBAL_SCRAPE_INTERVAL=${SCRAPE_INTERVAL:-10s}
- ARG_WEB_ROUTE-PREFIX=/monitor
Expand Down Expand Up @@ -37,7 +36,7 @@ services:
- monitor
secrets:
- alert_manager_config
command: -config.file=/run/secrets/alert_manager_config -storage.path=/alertmanager
command: --config.file=/run/secrets/alert_manager_config --storage.path=/alertmanager

swarm-listener:
image: vfarcic/docker-flow-swarm-listener
Expand Down
2 changes: 1 addition & 1 deletion stacks/docker-flow-monitor-scaler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- monitor
secrets:
- alert_manager_config
command: -config.file=/run/secrets/alert_manager_config -storage.path=/alertmanager
command: --config.file=/run/secrets/alert_manager_config --storage.path=/alertmanager

swarm-listener:
image: vfarcic/docker-flow-swarm-listener
Expand Down
2 changes: 1 addition & 1 deletion stacks/docker-flow-monitor-slack-9093.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ services:
- monitor
secrets:
- alert_manager_config
command: -config.file=/run/secrets/alert_manager_config -storage.path=/alertmanager
command: --config.file=/run/secrets/alert_manager_config --storage.path=/alertmanager

swarm-listener:
image: vfarcic/docker-flow-swarm-listener
Expand Down
2 changes: 1 addition & 1 deletion stacks/docker-flow-monitor-slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- monitor
secrets:
- alert_manager_config
command: -config.file=/run/secrets/alert_manager_config -storage.path=/alertmanager
command: --config.file=/run/secrets/alert_manager_config --storage.path=/alertmanager

swarm-listener:
image: vfarcic/docker-flow-swarm-listener
Expand Down
2 changes: 1 addition & 1 deletion stacks/docker-flow-monitor-user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ services:
- monitor
secrets:
- alert_manager_config
command: -config.file=/run/secrets/alert_manager_config -storage.path=/alertmanager
command: --config.file=/run/secrets/alert_manager_config --storage.path=/alertmanager

swarm-listener:
image: vfarcic/docker-flow-swarm-listener
Expand Down

0 comments on commit feb9731

Please sign in to comment.