-
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
docs(vrl): add example syntax for valid expressions. #21963
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 7 Passed, 0 Skipped, 25.45s Total Time |
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, looks good!
(FYI if you add website
in the branch name, it will trigger a site preview deployment)
remap: syntax: expressions: { | ||
title: "Expressions" | ||
description: """ | ||
VRL programs are made up of literal and dynamic expressions, described more in detail below. Expressions can be separated by newline or semicolon in any combination. |
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.
VRL programs are made up of literal and dynamic expressions, described more in detail below. Expressions can be separated by newline or semicolon in any combination. | |
VRL programs are made up of literal and dynamic expressions, described more in detail below. Expressions can be separated by newlines or semicolons in any combination. |
* docs(vrl): add example syntax for valid expressions. * fix spelling * fix grammar and trailing whitespace from 'cargo vdev check fmt' * run 'cue fmt' to pass 'make check-docs'
* docs(vrl): add example syntax for valid expressions. * fix spelling * fix grammar and trailing whitespace from 'cargo vdev check fmt' * run 'cue fmt' to pass 'make check-docs'
Summary
Add documentation for valid VRL syntax using newline and/or semicolons.
Change Type
Is this a breaking change?
How did you test this PR?
Verified the VRL syntax works in the VRL Playground [share]
Create and test .cue file documentation:
Then open browser to local site at http://localhost:1313/docs/reference/vrl/expressions/#syntax.
Does this PR include user facing changes?
Checklist
Cargo.lock
), pleaserun
dd-rust-license-tool write
to regenerate the license inventory and commit the changes (if any). More details here.References
Discord chat [link]: