-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
receive: Add support for TSDB per tenant (#2012)
* receive: Add support for TSDB per tenant Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com> * pkg/store: Merge SeriesSets of multiple TSDB stores This is required as the Series gRPC method of the StoreAPI requires the Series returned to be sorted. Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com> * pkg/receive: Add multitsdb shipper support Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com> * Address comments Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com> * Add more comments on types and functions Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com> * pkg/store/multitsdb.go: Remove unused struct field Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com> * pkg/receive/multitsdb.go: Remove unused Close method TSDBs are implicitly closed by flushing the database, which is ensured on shutdown, hence there is no need to have the explicit close method. Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com> * pkg/store/multitsdb.go: Make errors and warnings tenant aware Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com> * pkg/store/multitsdb.go: Consistent tenant aware errors and warnings Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
- Loading branch information
Showing
12 changed files
with
784 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.