influxdata / influxdata/kapacitor
[Feature Request] Add validate TICKscript command to kapacitor CLI program.
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
It would be great if there was a way to validate a tickScript source file to make sure it is syntactically correct before posting it to the kapacitor server. This way users can handle any syntax errors locally before executing the `define` command
Something like
```
Kapacitor validate_syntax cpuAlert.tick
```
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 by locating the Kapacitor CLI program and the existing `define` command, then trace how TICKscript is parsed when sent to the server. Add a local validation command for a `.tick` source file, and verify that syntax errors are reported before execution or posting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100