Skip to content

Deduplication must respect profiles with identical timestamps within the same series #2483

Open
@kolesnikovae

Description

At deduplication we discard profiles if their timestamps and labels match:

if previousTs != profile.Timestamp || phlaremodel.CompareLabelPairs(previousLabels, profile.Labels) != 0 {
previousTs = profile.Timestamp
previousLabels = profile.Labels
next.Keep()
continue

Sometimes distinct profiles of the same series may have the same timestamps (millisecond precision), which results in partial reads. Potentially, this could be fixed by #2480 (#2443)

/cc @cyriltovena

Metadata

Assignees

No one assigned

    Labels

    storageLow level storage matters

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions