Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/shirou/gopsutil/v3 from 3.22.2 to 3.22.4 in /receiver/awscontainerinsightreceiver #568

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
prometheusexporter: use attributevalue
  • Loading branch information
tanner-bruce committed May 3, 2022
commit 56f3c2564e17e11a9a738a11fbc4434e8cac5154
2 changes: 1 addition & 1 deletion exporter/prometheusexporter/collector.go
Original file line number Diff line number Diff line change
@@ -204,7 +204,7 @@ func (c *collector) convertDoubleHistogram(metric pdata.Metric) (prometheus.Metr
e := ip.Exemplars().At(i)

labels := make(prometheus.Labels, e.FilteredAttributes().Len())
e.FilteredAttributes().Range(func(k string, v pdata.Value) bool {
e.FilteredAttributes().Range(func(k string, v pdata.AttributeValue) bool {
labels[k] = v.AsString()
return true
})