Label with zero int64 value and no unit get dropped during decoding
Author: ms-hujiaCreated Jun 17, 2026Updated Jun 18, 2026
The current behavior of Parse() function will drop labels with zero int64 value and no unit. For example, a thread id with zero value is meaningful and no unit is applicable. This behavior will cause the thread id information getting dropped for specific samples since the key won't exists in the NumLabel map of decoded Sample.
Should this be fixed to support label with zero int64 value?
Source: google/pprof