We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9332717 commit de91a18Copy full SHA for de91a18
metrics_system.go
@@ -1,9 +1,6 @@
1
package main
2
3
import (
4
- "encoding/json"
5
- "fmt"
6
-
7
"github.com/PagerDuty/go-pagerduty"
8
"github.com/prometheus/client_golang/prometheus"
9
"github.com/webdevops/go-common/prometheus/collector"
@@ -80,8 +77,6 @@ func (m *MetricsCollectorSystem) Collect(callback chan<- func()) {
80
77
}
81
78
82
79
for _, license := range resp.Licenses {
83
- foo, _ := json.Marshal(license)
84
- fmt.Println(string(foo))
85
licenseMetricList.AddInfo(prometheus.Labels{
86
"licenseID": license.ID,
87
"licenseType": license.Type,
0 commit comments