mirror of
https://github.com/prometheus/prometheus.git
synced 2026-06-09 00:22:19 -04:00
tsdb: correctly log error in headAppenderV2.appendExemplars
Signed-off-by: Charles Korn <charles.korn@grafana.com>
This commit is contained in:
parent
cdc31d96f9
commit
69aa3ac67b
1 changed files with 1 additions and 1 deletions
|
|
@ -326,7 +326,7 @@ func (a *headAppenderV2) appendExemplars(s *memSeries, exemplar []exemplar.Exemp
|
|||
errs = append(errs, err)
|
||||
}
|
||||
if !errors.Is(err, storage.ErrOutOfOrderExemplar) {
|
||||
a.head.logger.Debug("Error while adding an exemplar on AppendSample", "exemplars", fmt.Sprintf("%+v", e), "err", e)
|
||||
a.head.logger.Debug("Error while adding an exemplar on AppendSample", "exemplars", fmt.Sprintf("%+v", e), "err", err)
|
||||
}
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue