Comments (3)
I need a clarification for the 2nd case, is it alerts or reports? I cannot find an option to schedule alerts based on cron.
@iamsiddhant05 Scheduling alerts based on cron is actually possible through API, it is not yet included in the frontend though. For ref - #2935. I think, it should be done for both the alerts and reports.
from openobserve.
For the first case, the steps seem to be straightforward.
- Check the alert queue if there is a pending alert of the same id
- If found, pull it out of the queue, audit log it, and add the new alert.
- If not found continue to add the new alert.
I need a clarification for the 2nd case, is it alerts or reports? I cannot find an option to schedule alerts based on cron.
from openobserve.
@oasisk I am thinking this issue, we can simple add a timeout for the search request then it will auto canceled if it over x minutes. for example:
- the alert run every 5 minutes.
- we set the req.timeout=300 (s) when we fire the search request. https://github.com/openobserve/openobserve/blob/main/src/service/alerts/mod.rs#L467
- it will auto canceled if it over 5 mins.
from openobserve.
Related Issues (20)
- Logs: On page refresh and immediately clicking cancel query - 400 bad request error displayed HOT 2
- Logs: Incorrect status code(429) displayed for stream multi select and search around API
- Logs: On entering a match all query and selecting 5-6 months, No results found message displayed on cancel query but data loads in 1-2 mins HOT 2
- Unable to query based on _timestamp HOT 4
- Release candidates are marked as latest HOT 1
- Stream with Type = "index" is not working HOT 2
- Email destination for alerts
- Log results section rebuild for performance and column reordering
- Results showing under logs on query search display different count at the start and then shows correct result count
- str_match(body, 'INFO abc') query in absolute time range for past 4 weeks gives an error HOT 2
- Dashboard : Stream name changes automatically when changing the chart type. HOT 1
- Apply partition for histogram search request
- AWS credentials provisioning using AWS EKS Pod Identity
- Allow applying VRL function before flattening the data
- Alert rules configured do not take effect HOT 3
- Ingester pool timed out while waiting for an open connection HOT 8
- Batch Deletion of Streams
- Logs: On editing stream name in SQL mode, schema on LHS appears blank
- Logs: On clearing and adding name of stream in sql mode, multiple streams selection starts appearing in LHS
- Function can not be associated with streams of same name but different stream type
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openobserve.