mirror of
https://github.com/Donkie/Spoolman.git
synced 2026-10-22 01:52:17 -05:00
diameter is missed
This commit is contained in:
1 parent
385d9bb3da
commit
b37c19eb9e
1 file changed
+1
@@ -91,5 +91,6 @@ async def filament_metrics(db: AsyncSession) -> None:
|
||||
row.color_hex,
|
||||
).set(1)
|
||||
FILAMENT_DENSITY.labels(str(row.id)).set(row.density)
|
||||
FILAMENT_DIAMETER.labels(str(row.id)).set(row.diameter)
|
||||
if row.weight is not None:
|
||||
FILAMENT_WEIGHT.labels(str(row.id)).set(row.weight)
|
||||
Reference in new issue
Block a user