influxdata / influxdata/kapacitor
Allow specifying nanosecond durations
Open
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
The current version of influxql.ParseDuration used by Kapacitor doesn't support parsing nanosecond durations. Now that influxql is its own package it might be easier to update to the latest version.
Specifying nanosecond durations is useful when converting integers to durations. See #1648
Contributor guide
Research direction
Start by inspecting influxql.ParseDuration and how Kapacitor uses the influxql package. Review issue #1648 for the integer-to-duration context, then verify that nanosecond durations parse successfully and add or update coverage for that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100