Skip to content

Use Prom2 chunk code #766

@bboreham

Description

@bboreham

Much of the code was converted in #555, but currently Cortex uses chunk code from Prometheus v1.
In v2, chunks are broadly encoded in the same way, with a less-convoluted data structure. However the Go APIs are rather different.

We'd need to still be able to read v1 chunks for a year minimum, so some wrapping/indirecting layer is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedtype/choreSomething that needs to be done; not a bug or a feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions