├── .gitignore ├── Infrastructure & System Monitoring using Prometheus.pdf ├── LICENSE ├── README.md ├── docker-images └── spring-boot-prometheus-demo │ ├── build.gradle │ ├── build.sh │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── src │ └── main │ ├── docker │ ├── Dockerfile │ └── app │ │ └── docker-entrypoint.sh │ ├── java │ └── springboot │ │ └── prometheus │ │ └── DemoApplication.java │ └── resources │ └── application.properties └── steps ├── 1-run-prometheus-native └── prometheus-2.2.1.darwin-amd64 │ ├── LICENSE │ ├── NOTICE │ ├── console_libraries │ ├── menu.lib │ └── prom.lib │ ├── consoles │ ├── index.html.example │ ├── node-cpu.html │ ├── node-disk.html │ ├── node-overview.html │ ├── node.html │ ├── prometheus-overview.html │ └── prometheus.html │ ├── data │ └── wal │ │ └── .gitignore │ ├── prometheus │ ├── prometheus.yml │ └── promtool ├── 2-run-prometheus-using-docker ├── docker-compose.yml └── prometheus.yml ├── 3-add-host-metrics ├── docker-compose.yml └── prometheus.yml ├── 4-grafana ├── docker-compose.yml ├── node-exporter-single-server_rev7.json └── prometheus.yml ├── 5-monitor-docker-containers ├── docker-compose.yml ├── docker-dashboard_rev5.json └── prometheus.yml ├── 6-alerting ├── alert.rules ├── config.yml ├── docker-compose.yml ├── mailslurper-config.json └── prometheus.yml ├── 7-adding-application-metrics ├── docker-compose.yml └── prometheus.yml └── 8-consul-integration ├── docker-compose.yml ├── prometheus.yml ├── register-service1.json ├── register-service2.json └── register-services-with-consul.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/.gitignore -------------------------------------------------------------------------------- /Infrastructure & System Monitoring using Prometheus.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/Infrastructure & System Monitoring using Prometheus.pdf -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/README.md -------------------------------------------------------------------------------- /docker-images/spring-boot-prometheus-demo/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/docker-images/spring-boot-prometheus-demo/build.gradle -------------------------------------------------------------------------------- /docker-images/spring-boot-prometheus-demo/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | ./gradlew clean bootRepackage buildDockerImage -------------------------------------------------------------------------------- /docker-images/spring-boot-prometheus-demo/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/docker-images/spring-boot-prometheus-demo/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /docker-images/spring-boot-prometheus-demo/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/docker-images/spring-boot-prometheus-demo/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /docker-images/spring-boot-prometheus-demo/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/docker-images/spring-boot-prometheus-demo/gradlew -------------------------------------------------------------------------------- /docker-images/spring-boot-prometheus-demo/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/docker-images/spring-boot-prometheus-demo/gradlew.bat -------------------------------------------------------------------------------- /docker-images/spring-boot-prometheus-demo/src/main/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/docker-images/spring-boot-prometheus-demo/src/main/docker/Dockerfile -------------------------------------------------------------------------------- /docker-images/spring-boot-prometheus-demo/src/main/docker/app/docker-entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/docker-images/spring-boot-prometheus-demo/src/main/docker/app/docker-entrypoint.sh -------------------------------------------------------------------------------- /docker-images/spring-boot-prometheus-demo/src/main/java/springboot/prometheus/DemoApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/docker-images/spring-boot-prometheus-demo/src/main/java/springboot/prometheus/DemoApplication.java -------------------------------------------------------------------------------- /docker-images/spring-boot-prometheus-demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | management.security.enabled=false -------------------------------------------------------------------------------- /steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/LICENSE -------------------------------------------------------------------------------- /steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/NOTICE -------------------------------------------------------------------------------- /steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/console_libraries/menu.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/console_libraries/menu.lib -------------------------------------------------------------------------------- /steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/console_libraries/prom.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/console_libraries/prom.lib -------------------------------------------------------------------------------- /steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/consoles/index.html.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/consoles/index.html.example -------------------------------------------------------------------------------- /steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/consoles/node-cpu.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/consoles/node-cpu.html -------------------------------------------------------------------------------- /steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/consoles/node-disk.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/consoles/node-disk.html -------------------------------------------------------------------------------- /steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/consoles/node-overview.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/consoles/node-overview.html -------------------------------------------------------------------------------- /steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/consoles/node.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/consoles/node.html -------------------------------------------------------------------------------- /steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/consoles/prometheus-overview.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/consoles/prometheus-overview.html -------------------------------------------------------------------------------- /steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/consoles/prometheus.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/consoles/prometheus.html -------------------------------------------------------------------------------- /steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/data/wal/.gitignore: -------------------------------------------------------------------------------- 1 | !.gitignore -------------------------------------------------------------------------------- /steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/prometheus: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/prometheus -------------------------------------------------------------------------------- /steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/prometheus.yml -------------------------------------------------------------------------------- /steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/promtool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/1-run-prometheus-native/prometheus-2.2.1.darwin-amd64/promtool -------------------------------------------------------------------------------- /steps/2-run-prometheus-using-docker/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/2-run-prometheus-using-docker/docker-compose.yml -------------------------------------------------------------------------------- /steps/2-run-prometheus-using-docker/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/2-run-prometheus-using-docker/prometheus.yml -------------------------------------------------------------------------------- /steps/3-add-host-metrics/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/3-add-host-metrics/docker-compose.yml -------------------------------------------------------------------------------- /steps/3-add-host-metrics/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/3-add-host-metrics/prometheus.yml -------------------------------------------------------------------------------- /steps/4-grafana/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/4-grafana/docker-compose.yml -------------------------------------------------------------------------------- /steps/4-grafana/node-exporter-single-server_rev7.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/4-grafana/node-exporter-single-server_rev7.json -------------------------------------------------------------------------------- /steps/4-grafana/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/4-grafana/prometheus.yml -------------------------------------------------------------------------------- /steps/5-monitor-docker-containers/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/5-monitor-docker-containers/docker-compose.yml -------------------------------------------------------------------------------- /steps/5-monitor-docker-containers/docker-dashboard_rev5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/5-monitor-docker-containers/docker-dashboard_rev5.json -------------------------------------------------------------------------------- /steps/5-monitor-docker-containers/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/5-monitor-docker-containers/prometheus.yml -------------------------------------------------------------------------------- /steps/6-alerting/alert.rules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/6-alerting/alert.rules -------------------------------------------------------------------------------- /steps/6-alerting/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/6-alerting/config.yml -------------------------------------------------------------------------------- /steps/6-alerting/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/6-alerting/docker-compose.yml -------------------------------------------------------------------------------- /steps/6-alerting/mailslurper-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/6-alerting/mailslurper-config.json -------------------------------------------------------------------------------- /steps/6-alerting/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/6-alerting/prometheus.yml -------------------------------------------------------------------------------- /steps/7-adding-application-metrics/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/7-adding-application-metrics/docker-compose.yml -------------------------------------------------------------------------------- /steps/7-adding-application-metrics/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/7-adding-application-metrics/prometheus.yml -------------------------------------------------------------------------------- /steps/8-consul-integration/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/8-consul-integration/docker-compose.yml -------------------------------------------------------------------------------- /steps/8-consul-integration/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/8-consul-integration/prometheus.yml -------------------------------------------------------------------------------- /steps/8-consul-integration/register-service1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/8-consul-integration/register-service1.json -------------------------------------------------------------------------------- /steps/8-consul-integration/register-service2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/8-consul-integration/register-service2.json -------------------------------------------------------------------------------- /steps/8-consul-integration/register-services-with-consul.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mpas/infrastructure-and-system-monitoring-using-prometheus/HEAD/steps/8-consul-integration/register-services-with-consul.sh --------------------------------------------------------------------------------