Skip to content

Commit

Permalink
Fix use of metric name in carbonserver fetchDataPB
Browse files Browse the repository at this point in the history
  • Loading branch information
emadolsky committed Dec 13, 2021
1 parent e8e4a89 commit b848992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion carbonserver/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ func (listener *CarbonserverListener) fetchDataPB(metric string, files []string,
var errs []error
for i, metric := range files {
if !leafs[i] {
listener.logger.Debug("skipping directory", zap.String("metric", metric))
listener.logger.Debug("skipping directory", zap.String("metricName", metric), zap.String("fileMetric", metric))
// can't fetch a directory
continue
}
Expand Down

0 comments on commit b848992

Please sign in to comment.