Skip to content

Commit

Permalink
Add spool initial weight. Change some descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Belousov committed Dec 12, 2024
1 parent 4479da8 commit 385d9bb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion spoolman/prometheus/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,5 @@ 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)

0 comments on commit 385d9bb

Please sign in to comment.