Closed
Description
What would you like to be added:
With Custom Resource metrics, at present if a label is specified in the definition which isn't present in the actual custom resources the associated labels are generated as {my_label=<nil>}
.
In these circumstances the correct handling is somewhat ambiguous but I believe that nil is not one of the options. Perhaps the best option in these circumstances would be to omit this label altogether.
Why is this needed:
Generating a label with such a malformed value by default seems intrinsically wrong.