Skip to content

Commit

Permalink
Update x-pack/metricbeat/module/prometheus/collector/histogram.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Chris Mark <chrismarkou92@gmail.com>
  • Loading branch information
2 people authored and Carlos Pérez-Aradros Herce committed Mar 21, 2020
1 parent 85e9799 commit a75753b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/metricbeat/module/prometheus/collector/histogram.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
dto "github.com/prometheus/client_model/go"
)

// promHistogramToES takes a Prometheus histogram and converts it to
// promHistogramToES takes a Prometheus histogram and converts it to an ES histogram
func promHistogramToES(cc CounterCache, name string, labels common.MapStr, histogram *dto.Histogram) common.MapStr {
var values []float64
var counts []uint64
Expand Down

0 comments on commit a75753b

Please sign in to comment.