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

comment in prometheus.yml

parent 562c12d3
No related branches found
No related tags found
No related merge requests found
...@@ -6,9 +6,9 @@ global: ...@@ -6,9 +6,9 @@ global:
external_labels: external_labels:
monitor: 'codelab-monitor' monitor: 'codelab-monitor'
# A scrape configuration containing exactly one endpoint to scrape: # Prometheus configuration of targets which will be scraped
# Here it's Prometheus itself.
scrape_configs: scrape_configs:
# Chat server application
- job_name: 'chatroom' - job_name: 'chatroom'
honor_labels: true honor_labels: true
scrape_interval: 5s scrape_interval: 5s
...@@ -16,22 +16,18 @@ scrape_configs: ...@@ -16,22 +16,18 @@ scrape_configs:
static_configs: static_configs:
- targets: ['192.168.2.34:5000'] - targets: ['192.168.2.34:5000']
# Node-exporter
- job_name: 'node-exporter' - job_name: 'node-exporter'
honor_labels: true honor_labels: true
scrape_interval: 5s scrape_interval: 5s
# scheme: https # scheme: https
static_configs: static_configs:
- targets: ['192.168.2.34:9100'] - targets: ['192.168.2.34:9100']
# MongoDB-exporter
- job_name: 'mongodb-exporter' - job_name: 'mongodb-exporter'
honor_labels: true honor_labels: true
scrape_interval: 5s scrape_interval: 5s
#scheme: https #scheme: https
static_configs: static_configs:
- targets: ['192.168.2.34:9216'] - targets: ['192.168.2.34:9216']
\ No newline at end of file
#remote_write:
#- url: "localhost:3000"
# basic_auth:
# username: "admin"
# password: "admin"
\ No newline at end of file
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