This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
forked from vectordotdev/vector
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from andrewma2/v0.39
Merge custom changes into v0.39
- Loading branch information
Showing
22 changed files
with
375 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ node_modules | |
tests/data/wasm/*/target | ||
heaptrack.* | ||
massif.* | ||
.idea | ||
|
||
# tilt | ||
tilt_modules/ | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "vector" | ||
version = "0.39.0" | ||
version = "0.39.0-databricks-v1" | ||
authors = ["Vector Contributors <[email protected]>"] | ||
edition = "2021" | ||
description = "A lightweight and ultra-fast tool for building observability pipelines" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
This lists custom changes merged in Databricks fork of Vector. | ||
1. Fix premature ack when data file is full. https://github.com/databricks/vector/pull/1 | ||
2. Retry s3 request even when observing ConstructionFailure to avoid data loss. https://github.com/databricks/vector/pull/2 | ||
3. Updating/adding INFO logs for when vector sends to cloud storage. https://github.com/databricks/vector/pull/5 | ||
4. Allow retries on all sink exceptions https://github.com/databricks/vector/pull/7 | ||
5. Also allowing retries on AccessDenied exceptions in AWS https://github.com/databricks/vector/pull/12 | ||
6. Updating version to also carry a Databricks version https://github.com/databricks/vector/pull/13 | ||
7. Add a new event for successful upload to cloud storage (+ rework old send) https://github.com/databricks/vector/pull/14 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
use metrics::counter; | ||
use vector_lib::internal_event::InternalEvent; | ||
|
||
#[derive(Debug)] | ||
pub struct CheckRetryEvent<'a> { | ||
pub status_code: &'a str, | ||
pub retry: bool, | ||
} | ||
|
||
impl InternalEvent for CheckRetryEvent<'_> { | ||
fn emit(self) { | ||
debug!( | ||
message = "Considering retry on error.", | ||
status_code = self.status_code, | ||
retry = self.retry, | ||
); | ||
counter!("sink_retries_total", 1, | ||
"status_code" => self.status_code.to_string(), | ||
"retry" => self.retry.to_string(), | ||
); | ||
} | ||
} |
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.