Skip to content

Commit

Permalink
ADD: node exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
wiemanboy committed Jan 18, 2025
1 parent fdc1d55 commit 835cfb8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ global:
scrape_configs:
- job_name: 'traefik'
static_configs:
- targets: ['reverse-proxy:8082']
- targets: ['reverse-proxy:8082']

- job_name: 'node'
static_configs:
- targets: [ 'prom_node_exporter:9100' ]
5 changes: 5 additions & 0 deletions swarm-compose.reverse-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ services:
- ./data/letsencrypt:/letsencrypt
- /var/run/docker.sock:/var/run/docker.sock

node-exporter:
networks:
- reverse_proxy_network
image: prom/node-exporter

prometheus:
image: prom/prometheus
networks:
Expand Down

0 comments on commit 835cfb8

Please sign in to comment.