feat: add host node-exporter container, prometheus target #1

Merged
marc merged 1 commit from feat/host-metrics into main 2024-11-09 23:28:48 +00:00
2 changed files with 13 additions and 0 deletions

View file

@ -5,6 +5,9 @@ scrape_configs:
static_configs: static_configs:
- targets: ['host.containers.internal:8083'] - targets: ['host.containers.internal:8083']
- job_name: 'host-node-exporter'
static_configs:
- targets: ['host.containers.internal:9100']
- job_name: 'code-forge-exporter' - job_name: 'code-forge-exporter'
static_configs: static_configs:
- targets: ['host.containers.internal:3001'] - targets: ['host.containers.internal:3001']

View file

@ -50,6 +50,16 @@ containers:
- --config.file=/etc/prometheus/prometheus.yml - --config.file=/etc/prometheus/prometheus.yml
- name: otel-collector - name: otel-collector
image: panopticon-otel-collector:latest image: panopticon-otel-collector:latest
- name: host-metrics-exporter
image: quay.io/prometheus/node-exporter:latest
network: host
pid-namespace: host
volumes:
- host: /
container: /host
readonly: true
extra-args:
- --path.rootfs=/host
- name: tempo - name: tempo
image: panopticon-tempo:latest image: panopticon-tempo:latest
volumes: volumes: