Skip to content
Snippets Groups Projects
Commit ed03f867 authored by Markus Klose's avatar Markus Klose
Browse files

prometheus monitoring

parent be0e419b
No related branches found
No related tags found
1 merge request!10Skalierbarkeit
......@@ -13,7 +13,7 @@ services:
- "3600:80"
- "443:443"
volumes:
- /Users/AlexMacBook/Desktop/Uni/Semester7/CloudComputing/cloud_computing/nginx/ssl:/etc/nginx/ssl
- C:\Users\Ulquiorra\Visual Studio Code\Cloud Computing\cloud_computing\nginx\ssl:/etc/nginx/ssl
server-john:
build: ./
......
......@@ -8,13 +8,42 @@ global:
# Prometheus configuration of targets which will be scraped
scrape_configs:
# Chat server application
- job_name: 'chatroom'
- job_name: 'server-john'
honor_labels: true
scrape_interval: 5s
# scheme: https
static_configs:
- targets: ['192.168.2.34:3601']
- job_name: 'server-paul'
honor_labels: true
scrape_interval: 5s
# scheme: https
static_configs:
- targets: ['192.168.0.230:80']
- targets: ['192.168.2.34:3602']
- job_name: 'server-george'
honor_labels: true
scrape_interval: 5s
# scheme: https
static_configs:
- targets: ['192.168.2.34:3603']
- job_name: 'server-ringo'
honor_labels: true
scrape_interval: 5s
# scheme: https
static_configs:
- targets: ['192.168.2.34:3604']
# Chat server application
# - job_name: 'chatroom'
# honor_labels: true
# scrape_interval: 5s
# # scheme: https
# static_configs:
# - targets: ['192.168.0.230:80']
# Node-exporter
- job_name: 'node-exporter'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment