mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
lib/storage: put into query trace the number of found entries in SearchMetricNames
This commit is contained in:
parent
36edb1912b
commit
15da802f5f
1 changed files with 1 additions and 0 deletions
|
@ -1186,6 +1186,7 @@ func (s *Storage) SearchMetricNames(qt *querytracer.Tracer, tfss []*TagFilters,
|
||||||
return nil, fmt.Errorf("cannot unmarshal metricName=%q: %w", metricName, err)
|
return nil, fmt.Errorf("cannot unmarshal metricName=%q: %w", metricName, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
qt.Printf("loaded %d metric names", len(mns))
|
||||||
return mns, nil
|
return mns, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue