I have a complex query which is incorporating multiple metrics in one DQL query via multiple joins.
My issue is that if one of the metric(the whole timeseries) is missing, the whole query returns “There are no records”
timeseries avg(metric1)
interval: 10m
by: {id}
| join [
timeseries avg(metric2, default:0), nonempty:true,
interval: 10m
by: {id}
], on: {_id}, prefix:"prefix1"
| join [
timeseries avg(metric3),
interval: 10m
by: {id}
], on: {_id}, prefix:"prefix2"
I have tried adding nonempty and default value to DQL query as suggested here for the missing metric without any luck. e.g. metric2 is missing the timeseries.
timeseries avg(metric2, default:0), nonempty:true,
The result I am expecting is that the complex query will still return a result with the metrics data from other two(available) timeseries + default values for the missing timeseries metric.
Is this possible ?




