forked from micrometer-metrics/micrometer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
grafana-dashboard.yml should point at loopback alias for alerts to work
- Loading branch information
Jon Schneider
committed
Jun 14, 2018
1 parent
ba93309
commit ee9ee3e
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
#!/bin/sh | ||
echo "##################################################" | ||
echo "# IMPORTANT: Once per operating system restart, you must run 'sudo ifconfig lo0 alias 10.200.10.1/24' to allow Prometheus to scrape targets on the host" | ||
echo "##################################################" | ||
docker run -p 9090:9090 \ | ||
-v $(pwd)/prometheus.yml:/etc/prometheus/prometheus.yml \ | ||
prom/prometheus:v2.2.0 |