Skip to content

Commit

Permalink
Small changes after Mansi's review
Browse files Browse the repository at this point in the history
  • Loading branch information
Gus Carreon authored and Gus Carreon committed Jul 17, 2019
1 parent 36e4a6a commit f0d2976
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion pbsmetrics/config/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (me *MultiMetricsEngine) RecordConnectionClose(success bool) {
}
}

// RecordImps across openRTB2 engines that support the 'Native' Imp type
//RecordsImps records imps with imp types across all metric engines
func (me *MultiMetricsEngine) RecordImps(implabels pbsmetrics.ImpLabels) {
for _, thisME := range *me {
thisME.RecordImps(implabels)
Expand Down
9 changes: 0 additions & 9 deletions pbsmetrics/prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -486,15 +486,6 @@ func requestTypesAsString() []string {
return output
}

func impTypesAsString() []string {
list := pbsmetrics.ImpTypes()
output := make([]string, len(list))
for i, s := range list {
output[i] = string(s)
}
return output
}

func browserTypesAsString() []string {
list := pbsmetrics.BrowserTypes()
output := make([]string, len(list))
Expand Down

0 comments on commit f0d2976

Please sign in to comment.