Fix e2e tests after textfile custom timestamp removal (#768)
This commit is contained in:
parent
1f2458f42c
commit
f536857ac6
2 changed files with 6 additions and 2 deletions
|
|
@ -77,6 +77,10 @@ func convertMetricFamily(metricFamily *dto.MetricFamily, ch chan<- prometheus.Me
|
|||
}
|
||||
|
||||
for _, metric := range metricFamily.Metric {
|
||||
if metric.TimestampMs != nil {
|
||||
log.Warnf("Ignoring unsupported custom timestamp on textfile collector metric %v", metric)
|
||||
}
|
||||
|
||||
labels := metric.GetLabel()
|
||||
var names []string
|
||||
var values []string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue