Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Fix: add mistakenly forgotten factor property.
Browse files Browse the repository at this point in the history
  • Loading branch information
lesovsky committed Jun 3, 2021
1 parent c73ae37 commit 2e07cd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/collector/collector_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func newBuiltinTypedDesc(opts descOpts, dtype prometheus.ValueType, varLabelName
varLabelNames,
prometheus.Labels(constLabels),
),
factor: opts.factor,
valueType: dtype,
labelNames: varLabelNames,
labels: map[string]string{},
Expand Down

0 comments on commit 2e07cd6

Please sign in to comment.