로그 제거
This commit is contained in:
@ -56,7 +56,6 @@ func (pc *PrometheusCollector) Describe(ch chan<- *prometheus.Desc) {
|
|||||||
|
|
||||||
func (pc *PrometheusCollector) Collect(ch chan<- prometheus.Metric) {
|
func (pc *PrometheusCollector) Collect(ch chan<- prometheus.Metric) {
|
||||||
for _, v := range pc.metrics {
|
for _, v := range pc.metrics {
|
||||||
logger.Println("collector collect :", v.Desc.String())
|
|
||||||
value := atomic.LoadUint64(v.valptr)
|
value := atomic.LoadUint64(v.valptr)
|
||||||
cm, err := prometheus.NewConstMetric(v.Desc, v.valueType, math.Float64frombits(value))
|
cm, err := prometheus.NewConstMetric(v.Desc, v.valueType, math.Float64frombits(value))
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user