-
Notifications
You must be signed in to change notification settings - Fork 849
Closed
Description
We want to start depending on the Prometheus 2.0 code base. There are a bunch of reasons:
- we want to better able to contribute stuff back upstream
- we want the latest & greatest features
- new rules format
- better staleness handling
The main sticking point is that Cortex's storage is pretty intimately tied with Prometheus 1.0's storage system (@tomwilkie, @juliusv, please correct me if I'm wrong), and Prometheus 2.0 completely changes this.
The protobufs all look stable. A bunch of internal Go interfaces have also changed (Querier, SeriesIterator, etc.).
I think a sensible approach would be to:
- fork Prometheus 1.0's
storagepackage - use that within Cortex
- switch everything else to use Prometheus 2.0
I expect that there will be many changes that are connected (the new query engine seems bound up with the new storage system, and I haven't explored what needs to happen there), but guess that the above is a broadly OK strategy.
Thoughts?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels