influxdata / influxdata/kapacitor

Allow specifying nanosecond durations

Open
#1,649 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.