Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruler: per-tenant WAL #4344

Merged
merged 41 commits into from
Sep 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
7c79900
SUPER hacky implementation of per-tenant WAL
Aug 12, 2021
1e33362
More hacking to make per-tenant WAL and metrics
Aug 13, 2021
c8227a1
Ensure that agent uses updated tenant limits
Aug 16, 2021
057d037
Adding metrics around truncations
Aug 17, 2021
b96721e
Using tenant ID as remote name
Aug 17, 2021
e997306
Adding WAL replay metrics
Aug 18, 2021
3ac4179
Replay WAL before evaluating rules for tenant
Aug 18, 2021
204ebbe
Refactoring out agent
Aug 22, 2021
9006924
Removing unnecessary code
Aug 22, 2021
53d583d
Removing global config
Aug 22, 2021
cc739ca
More cleanup
Aug 22, 2021
3fa4159
Consolidating metrics
Aug 24, 2021
348d835
Restoring WAL cleaner
Aug 24, 2021
ab4a34b
Moving cleaner, separating metrics
Aug 24, 2021
f1d714e
Renaming directory
Aug 25, 2021
1e396b0
Adding "Ready" concept to Manager and Instance, to block cleaner and …
Aug 25, 2021
dd0ab00
Adding WAL disk size metric
Aug 25, 2021
3a55c5a
Removing old in-memory implementation
Aug 25, 2021
0d0aa80
Moving more options into config
Aug 27, 2021
0c05d1a
Respecting remote-write enabled flag
Aug 27, 2021
318ff1d
Adding missing file
Aug 27, 2021
e8912de
Remote-write configs with per-tenant overrides
Sep 14, 2021
62f6aa1
Refresh remote-write config when requesting Appender
Sep 15, 2021
a367d6b
Refactoring
Sep 15, 2021
549c4bd
Refactoring registry for simplicity & ergonomics
Sep 16, 2021
0010854
Safely shutdown when receiving Stop()
Sep 16, 2021
f830538
Remove WAL cleaner until we have a way to be notified that a rulegrou…
Sep 16, 2021
53ef11a
Define WAL & truncation flags
Sep 16, 2021
761a609
Use discarding appender when remote-write is disabled
Sep 16, 2021
374141e
Swapping ordering to prevent appends before remote storage is closed
Sep 16, 2021
294552e
Refactoring limits to not require ruler package import
Sep 17, 2021
d2b78f2
Removing unused import
Sep 17, 2021
0490c67
Fixing tests from agent code
Sep 17, 2021
3cebe0f
Adding registry tests
Sep 17, 2021
6c7274e
Appeasing the linter
Sep 17, 2021
1f217cd
Fixing lint errors
Sep 19, 2021
45b3654
Updating limits docs
Sep 19, 2021
680b509
Added test to ensure X-Scope-OrgID header is set correctly, and canno…
Sep 20, 2021
363fd7f
Adding missing header to vendored files
Sep 20, 2021
f48dd3b
Removing registry locks; inner implementation locks already
Sep 20, 2021
c03b1df
Enabling WAL cleaner
Sep 21, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ require (
github.com/modern-go/reflect2 v1.0.1
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f
github.com/ncw/swift v1.0.52
github.com/oklog/run v1.1.0
github.com/oklog/ulid v1.3.1
github.com/opentracing-contrib/go-grpc v0.0.0-20210225150812-73cb765af46e
github.com/opentracing-contrib/go-stdlib v1.0.0
Expand Down
213 changes: 0 additions & 213 deletions pkg/ruler/appender.go

This file was deleted.

Loading