vectordotdev / vectordotdev/vector
Error when invalid root key is set in `lua` transform
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 22.6k
- Forks
- 2.3k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 146
Description
In https://github.com/timberio/vector/issues/2398 the user forgot to use the log key. There was no error or feedback that surfaced this error. Ideally, this would error similar to any other Lua error. I'm curious about what our options are here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported scenario in issue #2398 and trace how the Lua transform handles an invalid root key, comparing it with the way other Lua errors are surfaced. Determine the available error-reporting options and define what feedback should appear when the required log key is missing; the issue names no source file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, rust
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100