Remove debuggin line
Signed-off-by: Arianna Vespri <arianna.vespri@yahoo.it>
This commit is contained in:
parent
0b3a6f04f8
commit
6478f56935
|
@ -394,7 +394,6 @@ func (c *goCollector) Collect(ch chan<- Metric) {
|
||||||
if c.rmEnvVarsMetricsEnabled {
|
if c.rmEnvVarsMetricsEnabled {
|
||||||
sampleBuf := make([]metrics.Sample, len(c.rmEnvVarsMetrics))
|
sampleBuf := make([]metrics.Sample, len(c.rmEnvVarsMetrics))
|
||||||
for i, v := range c.rmEnvVarsMetrics {
|
for i, v := range c.rmEnvVarsMetrics {
|
||||||
fmt.Printf("Reading metric %d: %q, %#v\n", i, v.origMetricName, *v.desc)
|
|
||||||
sampleBuf[i].Name = v.origMetricName
|
sampleBuf[i].Name = v.origMetricName
|
||||||
}
|
}
|
||||||
metrics.Read(sampleBuf)
|
metrics.Read(sampleBuf)
|
||||||
|
|
Loading…
Reference in New Issue