Skip to content

Commit

Permalink
Merge branch 'main' into fix-2772
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed Apr 7, 2022
2 parents cff9da6 + 376c23c commit 3272707
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions exporters/prometheus/prometheus.go
Expand Up @@ -53,8 +53,6 @@ type Exporter struct {
// controllers (e.g., with different resources).
lock sync.RWMutex
controller *controller.Controller

defaultHistogramBoundaries []float64
}

// ErrUnsupportedAggregator is returned for unrepresentable aggregator
Expand Down Expand Up @@ -104,11 +102,10 @@ func New(config Config, controller *controller.Controller) (*Exporter, error) {
}

e := &Exporter{
handler: promhttp.HandlerFor(config.Gatherer, promhttp.HandlerOpts{}),
registerer: config.Registerer,
gatherer: config.Gatherer,
controller: controller,
defaultHistogramBoundaries: config.DefaultHistogramBoundaries,
handler: promhttp.HandlerFor(config.Gatherer, promhttp.HandlerOpts{}),
registerer: config.Registerer,
gatherer: config.Gatherer,
controller: controller,
}

c := &collector{
Expand Down

0 comments on commit 3272707

Please sign in to comment.