Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Apr 6, 2023
1 parent 7d9caf5 commit 8c4f822
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/receiver/lightprometheusreceiver/scraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ func (s *scraper) convertMetricFamilies(metricFamilies []*dto.MetricFamily, rm p
newMetric := sm.Metrics().AppendEmpty()
newMetric.SetName(family.GetName())
newMetric.SetDescription(family.GetHelp())
//set unit is not available in the dto, is this a showstopper, can we compute it?
switch *family.Type {
case dto.MetricType_COUNTER:
sum := newMetric.SetEmptySum()
Expand Down

0 comments on commit 8c4f822

Please sign in to comment.