Skip to content
Permalink
Browse files

Emit metric with the right dimensions (#1383)

Emitting the wrong number of dimensions will cause an error.
  • Loading branch information
gdbelvin committed Nov 13, 2019
1 parent f626048 commit b74adc4c58e2e2c0394e226e27552589f26956d5
Showing with 0 additions and 1 deletion.
  1. +0 −1 core/sequencer/server.go
@@ -386,7 +386,6 @@ func (s *Server) ApplyRevision(ctx context.Context, in *spb.ApplyRevisionRequest
logSlices := runner.DoMapMetaFn(mapper.MapMetaFn, meta, incMetricFn)
logItems, err := runner.DoReadFn(ctx, s.readMessages, logSlices, in.DirectoryId, s.BatchSize, incMetricFn)
if err != nil {
mutationFailures.Inc(err.Error())
return nil, err
}

0 comments on commit b74adc4

Please sign in to comment.
You can’t perform that action at this time.