Repository navigation
Commit bef7235
committed
ci: carry our own GPUGet cache TTL patch for the AMD exporter
The patch parses AMD_GPU_GET_CACHE_TTL once in cmd/exporter, keeps the upstream 15 s default, and threads the value through the existing exporter and gpuagent options. It replaces the copy of functionstackx/device-metrics-exporter#1.
中文:补丁改为在 cmd/exporter 解析一次 AMD_GPU_GET_CACHE_TTL,保持上游 15 s 默认值,并沿既有的 exporter 与 gpuagent options 传递;取代此前复制自 functionstackx/device-metrics-exporter#1 的版本。1 parent f08003a commit bef7235
4 files changed
Lines changed: 270 additions & 202 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments