Commit 3ee9af0
authored
Minor corrections in SLURM fetcher and TSDB updater (#280)
* fix: Minor corrections in fetcher and updater
* When pulling historical SLURM data, use running state as well to update jobs incrementally.
* Use `lookback_delta` query parameter in TSDB queries to limit the artificial look back metrics which can over estimate energy consumption
* refactor: Use text/template to avoid escaping chars like `<`
---------
Signed-off-by: Mahendra Paipuri <[email protected]>1 parent 411fabc commit 3ee9af0
File tree
4 files changed
+18
-19
lines changed- pkg
- api
- resource/slurm
- updater/tsdb
- tsdb
4 files changed
+18
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | 490 | | |
506 | 491 | | |
507 | 492 | | |
| |||
515 | 500 | | |
516 | 501 | | |
517 | 502 | | |
518 | | - | |
| 503 | + | |
519 | 504 | | |
520 | 505 | | |
521 | 506 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
143 | 141 | | |
144 | 142 | | |
145 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
325 | 333 | | |
326 | 334 | | |
327 | 335 | | |
| |||
449 | 457 | | |
450 | 458 | | |
451 | 459 | | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
452 | 468 | | |
453 | 469 | | |
454 | 470 | | |
| |||
0 commit comments