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

about deadman rule #2772

Open
yihau opened this issue Jun 16, 2023 · 0 comments
Open

about deadman rule #2772

yihau opened this issue Jun 16, 2023 · 0 comments

Comments

@yihau
Copy link

yihau commented Jun 16, 2023

Hi there.

I have a TICKscripts looks like

var data = batch
    |query("I SELECT A MAX VALUE HERE")
        .period(10m)
        .cron('0 * * * *')

data
    |stats(60m)
        .align()
    |derivative('emitted')
        .unit(60m)
        .nonNegative()
    |alert()
        .crit(lambda: "emitted" == 0)
        .noRecoveries()
    (... omit ...)

I checked the log and ensured the query returned me records. why is deadman still trigged? (according to https://docs.influxdata.com/kapacitor/v1.6/nodes/stream_node/#deadman. I think my pipeline equals to deadman so I called it) if I do something stupid, how could I improve 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

1 participant