diff --git a/writer/writers.go b/writer/writers.go index b0c7f8ba..6ab3f0ec 100644 --- a/writer/writers.go +++ b/writer/writers.go @@ -151,6 +151,8 @@ func printTestMetrics(samples []*types.Sample) { func printTestMetric(sample *types.Sample) { var sb strings.Builder + sb.WriteString(fmt.Sprintf("%d", sample.Timestamp.Unix())) + sb.WriteString(" ") sb.WriteString(sample.Timestamp.Format("15:04:05")) sb.WriteString(" ") sb.WriteString(sample.Metric)