Some labels as configured in label-column-mapping (to add as more columns in the table) may not exist in all the timeseries. So, the assert statement can fail the export job if the label may not exist in the timeseries and hence, label-value can be none.
New behavior :
Remove the assert statement such that, if the label doesn't exist in the timeseries, store its value as none in its table column.
Remove assert and handle key not found in Map gracefully.
Current behavior :
Some labels as configured in label-column-mapping (to add as more columns in the table) may not exist in all the timeseries. So, the
assert
statement can fail the export job if the label may not exist in the timeseries and hence, label-value can be none.New behavior :
Remove the
assert
statement such that, if the label doesn't exist in the timeseries, store its value asnone
in its table column.Remove assert and handle key not found in Map gracefully.