From 041ce26bbe201e3effee18133c7c38ee5c1a4a9c Mon Sep 17 00:00:00 2001 From: Markus Klose <markus.klose@student.reutlingen-university.de> Date: Tue, 29 Nov 2022 18:43:30 +0100 Subject: [PATCH] comment in prometheus.yml --- prometheus/prometheus.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index 65a222d..456c99a 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -6,9 +6,9 @@ global: external_labels: monitor: 'codelab-monitor' -# A scrape configuration containing exactly one endpoint to scrape: -# Here it's Prometheus itself. +# Prometheus configuration of targets which will be scraped scrape_configs: +# Chat server application - job_name: 'chatroom' honor_labels: true scrape_interval: 5s @@ -16,22 +16,18 @@ scrape_configs: static_configs: - targets: ['192.168.2.34:5000'] +# Node-exporter - job_name: 'node-exporter' honor_labels: true scrape_interval: 5s # scheme: https static_configs: - targets: ['192.168.2.34:9100'] - + +# MongoDB-exporter - job_name: 'mongodb-exporter' honor_labels: true scrape_interval: 5s #scheme: https static_configs: - - targets: ['192.168.2.34:9216'] - -#remote_write: -#- url: "localhost:3000" -# basic_auth: -# username: "admin" -# password: "admin" \ No newline at end of file + - targets: ['192.168.2.34:9216'] \ No newline at end of file -- GitLab