-
Notifications
You must be signed in to change notification settings - Fork 569
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ingest consumer: handle Push errors (#6940)
* ingest consumer: handler Push errors This adds error handling for ingester errors. Client errors are only logged at warning level (like they are today). Server errors trigger a backoff at the consumer; the backoff is unlimited and retries the same batch of records until it is successfully ingested. Signed-off-by: Dimitar Dimitrov <[email protected]> * Remove rance in TestReader_ConsumerError Signed-off-by: Dimitar Dimitrov <[email protected]> * Remove outdated comment Signed-off-by: Dimitar Dimitrov <[email protected]> * Only allow gRPC errors when running ingest-storage Signed-off-by: Dimitar Dimitrov <[email protected]> * Simplify retries Signed-off-by: Dimitar Dimitrov <[email protected]> * Better error tracking and metrics Signed-off-by: Dimitar Dimitrov <[email protected]> * Shortcut consumeFetches if there aren't any fetches Signed-off-by: Dimitar Dimitrov <[email protected]> * Introduce cortex_ingest_storage_reader_records_failed_total and cortex_ingest_storage_reader_records_total Signed-off-by: Dimitar Dimitrov <[email protected]> --------- Signed-off-by: Dimitar Dimitrov <[email protected]>
- Loading branch information
1 parent
cd5780f
commit 4170afa
Showing
5 changed files
with
144 additions
and
23 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
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