Skip to content

Commit

Permalink
add docker compose example
Browse files Browse the repository at this point in the history
  • Loading branch information
onedr0p authored Apr 15, 2024
1 parent 59a1689 commit e98ed91
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@ Get metrics from Intel GPUs

Runs on port 8080, does stuff, is hyperglued using python and intel_gpu_top

### Docker Compose

```yaml
version: "3.8"

services:
intel-gpu-exporter:
image: ghcr.io/onedr0p/intel-gpu-exporter:rolling
container_name: intel-gpu-exporter
restart: unless-stopped
privileged: true
pid: host
ports:
- 8080:8080
volumes:
- /dev/dri/:/dev/dri/
```
## Metrics
```bash
Expand Down Expand Up @@ -72,4 +90,4 @@ igpu_power_package 5.480595
# HELP igpu_rc6 RC6 %
# TYPE igpu_rc6 gauge
igpu_rc6 99.999993
```
```

0 comments on commit e98ed91

Please sign in to comment.