lib/storage: put into query trace the number of found entries in SearchMetricNames

This commit is contained in:
Aliaksandr Valialkin 2022-06-28 14:50:53 +03:00
parent e578549b8a
commit 2c836bd398
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -1121,6 +1121,7 @@ func (s *Storage) SearchMetricNames(qt *querytracer.Tracer, tfss []*TagFilters,
return nil, fmt.Errorf("cannot unmarshal metricName=%q: %w", metricName, err)
}
}
qt.Printf("loaded %d metric names", len(mns))
return mns, nil
}