vectordotdev / vectordotdev/vector
Add support for field path notation in Lua scripts
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 22.6k
- Forks
- 2.3k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 146
Description
It might be worth to consider exposing the field path notation in Lua scripts.
It it is not clear though what would be the most ergonomic Lua API for this. One possibility is to add a global vector module with get(lua_table, path) and set(lua_table, path, value) functions in it.
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 linked field path notation documentation and the existing Lua scripting API. Determine an ergonomic API for accessing nested fields, including whether a global vector module with get and set functions is appropriate. Done means the API is agreed and field path access works consistently in Lua scripts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, rust
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100