Skip to content

Label with zero int64 value and no unit get dropped during decoding #1002

@ms-hujia

Description

@ms-hujia

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions