feat: add host node-exporter container, prometheus target

This commit is contained in:
Marc 2024-11-09 18:28:20 -05:00
parent 2215c1fcdd
commit 127cb4244b
Signed by: marc
GPG key ID: 048E042F22B5DC79
2 changed files with 13 additions and 0 deletions

View file

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

View file

@ -50,6 +50,16 @@ containers:
- --config.file=/etc/prometheus/prometheus.yml
- name: otel-collector
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
image: panopticon-tempo:latest
volumes: