Don't stop Prometheus remote write collector when data is not available for dimension formatting (#10217)
Vladimir Kobal committed
Nov 10, 2020 at 15:01 UTC
58fba11d2a639d2937796119e805eadef1e90b38
1 file changed
+1
-1
exporting/prometheus/remote_write/remote_write.c
+1
-1
@@ -240,7 +240,7 @@ int format_dimension_prometheus_remote_write(struct instance *instance, RRDDIM *
240
(unsigned long)rd->last_collected_time.tv_sec,
241
(unsigned long)instance->after,
242
(unsigned long)instance->before);
243
- return 1;
243
+ return 0;
244
}
245
246
if (homogeneous) {