feat: add host node-exporter container, prometheus target
This commit is contained in:
parent
2215c1fcdd
commit
127cb4244b
2 changed files with 13 additions and 0 deletions
|
@ -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']
|
||||||
|
|
10
service.yml
10
service.yml
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue