Creating a sensor to detect sensor failures - is this possible? #23902
Unanswered
somiandras
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @somiandras - unfortunately we don't have an efficient way to tail for sensor and schedule failures across all sensors - happy to take this as a feature request now. Right now you would have to iterate through each sensor (or the sensors that you care about) and fetch the most recent tick(s) for each one using the API that you mentioned. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes I simply miss if one my sensors fail. It's clearly visible when I go to the sensors page, but it would be nice to create a sensor that notifies me if any other sensors fail due to some errors. Maybe there's some properties on
context.instance
that I could use? This way the problem could be reduced to a single point of failure.Edit: to make it clear, I would want to monitor all of my sensors, not just a specific one. The response I got in #ask-ai only shows how to monitor a sensor via
context.instance.get_ticks()
by passingorigin_id
andselector_id
obtained straight from the db for the sensor.Beta Was this translation helpful? Give feedback.
All reactions