Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to provide testdata with timestamps #27

Open
vhartikainen opened this issue Jun 5, 2018 · 4 comments
Open

Add support to provide testdata with timestamps #27

vhartikainen opened this issue Jun 5, 2018 · 4 comments

Comments

@vhartikainen
Copy link

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
@DreadPirateShawn
Copy link

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

@andrianjardan
Copy link

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

@gpestana
Copy link
Owner

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

@andrianjardan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants