-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat(http sink): Add configuration options payload_prefix
and payload_suffix
.
#15696
feat(http sink): Add configuration options payload_prefix
and payload_suffix
.
#15696
Conversation
✅ Deploy Preview for vrl-playground canceled.
|
✅ Deploy Preview for vector-project canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution @jdiebold !
I think the additional functionality is a good enhancement.
Left a comment below regarding validation of input.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Thanks for adding the validation and tests.
I am being particular about the doc comments for the new config options because we are currently undergoing an effort to make the external documentation for Vector at vector.dev , be generated automatically from these very comments in the configuration structures.
So these comments will be user facing.
On that subject- for now (we aren't done with that automated documentation generation yet) , this change should include these new options to the cue documentation under the /website directory for thus sink.
See https://github.com/vectordotdev/vector/blob/master/docs/DOCUMENTING.md for more information. make check-docs
can be used to validate the cue file correctness.
One final note- I haven't approved CI to run on this yet, but I believe that clippy might complain about a thing or two. If you haven't already, do run make check
and make check-clippy
.
|
payload_prefix
and payload_suffix
.
Regression Test Results
Run ID: fc82d1a1-bc79-4117-bb04-8886ce65161d Explanation
A regression test is an integrated performance test for
The table below, if present, lists those experiments that have experienced a
statistically significant change in their Changes in
Fine details of change detection per experiment.
|
Are you by chance developing on macOS ? |
Actually, it's more specifically likely a versioning issue with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the cue and just have a final hygiene related comment that I didn't notice earlier.
Co-authored-by: neuronull <kyle.criddle@datadoghq.com>
Yes, i did and the validation was successful |
maybe it's worth adding the cue version to the DOCUMENTING.md to avoid the problem next time. |
Yes, looking into the best ways to communicate/validate that 👍 |
looks like code formatting is off, try running |
Regression Test Results
Run ID: cf166cef-ae40-4514-be69-998d5ad300c9 Explanation
A regression test is an integrated performance test for
The table below, if present, lists those experiments that have experienced a
statistically significant change in their No interesting changes in Fine details of change detection per experiment.
|
See https://github.com/vectordotdev/vector/blob/master/docs/DOCUMENTING.md#installing-cue |
Regression Test Results
Run ID: 6a81a309-0f5a-4376-ad65-3ae9cd74c398 Explanation
A regression test is an integrated performance test for
The table below, if present, lists those experiments that have experienced a
statistically significant change in their Changes in
Fine details of change detection per experiment.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution @jdiebold !
Thanks, @neuronull! It was fun working on it! |
resolves: #15651