kapacitor-unit icon indicating copy to clipboard operation
kapacitor-unit copied to clipboard

Add support to provide testdata with timestamps

Open vhartikainen opened this issue 6 years ago • 4 comments

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

vhartikainen avatar Jun 05 '18 11:06 vhartikainen

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.)

DreadPirateShawn avatar Mar 24 '20 21:03 DreadPirateShawn

Is there a chance this is getting merged any time soon ?

andrianjardan avatar Oct 16 '23 07:10 andrianjardan

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 :)

gpestana avatar Nov 19 '23 20:11 gpestana

@DreadPirateShawn looks like there's actually someone to deal with it. Let's do a PR and merge it :)?

andrianjardan avatar Nov 20 '23 08:11 andrianjardan