mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
app/vmselect: log the metric which trigger rollup result cache reset
This should help finding the source of stale metrics
This commit is contained in:
parent
c5618949a0
commit
9c2be144cf
1 changed files with 1 additions and 1 deletions
|
@ -1348,7 +1348,7 @@ func (mr *MetricRow) String() string {
|
|||
if err := mn.unmarshalRaw(mr.MetricNameRaw); err == nil {
|
||||
metricName = mn.String()
|
||||
}
|
||||
return fmt.Sprintf("MetricName=%s, Timestamp=%d, Value=%f\n", metricName, mr.Timestamp, mr.Value)
|
||||
return fmt.Sprintf("%s (Timestamp=%d, Value=%f)", metricName, mr.Timestamp, mr.Value)
|
||||
}
|
||||
|
||||
// Marshal appends marshaled mr to dst and returns the result.
|
||||
|
|
Loading…
Reference in a new issue