kapacitor-unit
kapacitor-unit copied to clipboard
Add support to provide testdata with timestamps
When developing e.g. alerts, it would be handy to be able to insert testdata with differing values over certain time period. E.g. being able to provide either an explicit timestamp or relative time adjustment from current time.
e.g.
tests:
..
data:
- tag value=1 0
- tag value=2 -1m
- tag value=2 -2m
Relative timestamp support added in https://github.com/DreadPirateShawn/kapacitor-unit
(With apologies, I've fully forked rather than pushing upstream PRs, since the upstream doesn't really have an active maintainer.)
Is there a chance this is getting merged any time soon ?
Is there a chance this is getting merged any time soon ?
I'm happy to merge a PR implementing this feature if you or someone opens it :)
@DreadPirateShawn looks like there's actually someone to deal with it. Let's do a PR and merge it :)?