-
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.
Browse files
Browse the repository at this point in the history
* import wal package from grafana/agent (with string interning disabled) Signed-off-by: Michael Okoko <[email protected]> * Set up remote-write config and test skeleton Signed-off-by: Michael Okoko <[email protected]> * Setup fanout and related storages for stateless ruler Signed-off-by: Michael Okoko <[email protected]> * Optionally run ruler in stateless mode Signed-off-by: Michael Okoko <[email protected]> * Set up tests and implementations for configuring remote-write for ruler Signed-off-by: Michael Okoko <[email protected]> * Implement stub querier for WAL storage to fix nil pointer error Signed-off-by: Michael Okoko <[email protected]> * Setup e2e test for stateless ruler Signed-off-by: Michael Okoko <[email protected]> * Add copied code commentary to remotewrite packages Signed-off-by: Michael Okoko <[email protected]> * Use static addresses for am and querier Signed-off-by: Michael Okoko <[email protected]> * Remove need for separate remote-write flag for stateless ruler This removes the need to pass a separate `remote-write` flag to ruler to enable stateless mode. Instead, we now check if a remote-write config is provided and automatically enables stateless mode based off that. Ruler test is also cleaned up to remove unnecessary tests (i.e those that have been performed by other e2e suites). Signed-off-by: Michael Okoko <[email protected]> * Generate docs for stateless ruler flags and fix tests Signed-off-by: Michael Okoko <[email protected]> * Use promauto for prometheus primitives Signed-off-by: Michael Okoko <[email protected]> * Group imports and satisfy go-lint Signed-off-by: Michael Okoko <[email protected]> * Always return empty series set from WAL storage Signed-off-by: Michael Okoko <[email protected]> * re-generate rule documentation Signed-off-by: Michael Okoko <[email protected]> * copyright headers to satisfy golint Signed-off-by: Michael Okoko <[email protected]> * Rename wal storage metrics Signed-off-by: Michael Okoko <[email protected]> * Use Prometheus' remote write config instead of rolling another Signed-off-by: Michael Okoko <[email protected]> * Fix E2E tests Signed-off-by: Ben Ye <[email protected]> * add changelog Signed-off-by: yeya24 <[email protected]> * remove wal related tests Signed-off-by: Ben Ye <[email protected]> * fix e2e Signed-off-by: Ben Ye <[email protected]> * remove unused structs in tests Signed-off-by: Ben Ye <[email protected]> * add licence header Signed-off-by: Ben Ye <[email protected]> * use upstream agent package Signed-off-by: Ben Ye <[email protected]> * address comments Signed-off-by: Ben Ye <[email protected]> Co-authored-by: Michael Okoko <[email protected]>
- Loading branch information
Showing
9 changed files
with
379 additions
and
142 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
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.