Skip to content

Commit

Permalink
fix(metrics)!: rename inventory item count metrics
Browse files Browse the repository at this point in the history
I think this reads better and more clearly indicates it's a fluctual
count of items, as the description states.
  • Loading branch information
tjhop committed Aug 8, 2024
1 parent 573e969 commit e32ac9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/inventory/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ var (

metricInventory = promauto.NewGaugeVec(
prometheus.GaugeOpts{
Name: "mango_inventory",
Help: "Number items in each component of the inventory",
Name: "mango_inventory_items",
Help: "Number of items in each component of the inventory",
},
commonMetricLabels,
)

metricInventoryApplicable = promauto.NewGaugeVec(
prometheus.GaugeOpts{
Name: "mango_inventory_applicable",
Help: "Number items in each component of the inventory that are applicable to this system",
Name: "mango_inventory_items_applicable",
Help: "Number of items in each component of the inventory that are applicable to this system",
},
commonMetricLabels,
)
Expand Down

0 comments on commit e32ac9f

Please sign in to comment.