-
Notifications
You must be signed in to change notification settings - Fork 285
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
[InfluxDB] Time calculation #1690
Comments
Maybe we can use empty value instead of undef. |
And I would do |
that's the idea |
Sounds good, should work :) |
Could you test it ? |
Unfortunately this does not help. Here's the raw result ( |
It cannot work. I have looked the code. We don't know the instance. Influxdb provides that information. |
Understood. |
Could you try to add fill(-1) at the end of your request ? |
Already tested before opening this bug, but just tested again, does not work 😕 |
It seems like a bug never fixed: |
Yep. |
Here's the raw result of the second query of my first post, if it can help : |
Maybe for other users with the same issue. |
As you can see in my first post, we can't select time column. |
Yes exactly. |
OK. We're in some kind stuck with this then ? |
You can do a PR. But it's more like a bug (missing feature) of influxdb. |
Yes sounds like there are some missing feature in InfluxDB. |
Issue solved thanks to #1702. Example to check that InfluxDB is constantly updated (by the Stream Connector for example) :
Nice human readable output : |
Hi,
Using InfluxDB plugin, I would like to check if the last value of a series is not more than 90s old.
I then tried the following :
Unfortunately, this does not work as
count
in InfluxDB returns NULL instead of 0...My idea is then to select the timestamp of the last inserted value and compare it to current timestamp using
--critical-status
option.First, I then think we need epoch timestamps to easier achieve this.
We should then need the
&epoch=s
query parameter.Secondly, I tried to select time field, but I did not manage to do it :
returns
status : skipped (no value(s))
.Finally, I'm not sure how to make the comparison with current timestamp in
--critical-status
option (time()
does not seem to be evaluated)...Any help ?
Thank you very much 👍
The text was updated successfully, but these errors were encountered: