Skip to content

Commit

Permalink
Removed TODO since geth doesn't set any sum
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Jan 15, 2025
1 parent 4a7cb05 commit 057b0b9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions metrics/prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,7 @@ func metricFamily(registry Registry, name string) (mf *dto.MetricFamily, err err
Metric: []*dto.Metric{{
Summary: &dto.Summary{
SampleCount: ptrTo(uint64(snapshot.Count())), //nolint:gosec
// TODO: do we need to specify SampleSum here? and if so
// what should that be?
Quantile: dtoQuantiles,
Quantile: dtoQuantiles,
},
}},
}, nil
Expand Down

0 comments on commit 057b0b9

Please sign in to comment.