Skip to content

Commit

Permalink
diameter is missed
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Belousov committed Dec 12, 2024
1 parent 385d9bb commit b37c19e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spoolman/prometheus/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit b37c19e

Please sign in to comment.