Comments (6)
I'm trying to understand the code, but I need some time. But I am using Pythoner and still learning.
from uptimeflare.
Hello, actually I also encountered this problem (especially when accessing some domestic servers).
My current solution is to use the onIncident
callback to detect whether an incident has been open for a certain amount of time (e.g. >3 minutes means 3 continuous failures) before sending a notification to prevent too many messages from being sent.
But I'd also be happy to implement a built-in “Grace period” to solve this problem: add an optional “Grace period” configuration to each monitor that ignores all incidents that last less than the Grace period (which may include not showing up on the WebUI, not counting in the over-all downtime calculation, not sending out messages, etc.)
from uptimeflare.
Additionally, I discovered today that using custom regions for detection significantly improves stability and reduces false triggers.
However, if no region is specified or if US nodes are used, false triggers become quite frequent. (In my project, I use nodes from the U.S., Japan, Hong Kong, and the Netherlands.)
And how to i use onIncident
callback on my project?
from uptimeflare.
Additionally, I discovered today that using custom regions for detection significantly improves stability and reduces false triggers.
However, if no region is specified or if US nodes are used, false triggers become quite frequent. (In my project, I use nodes from the U.S., Japan, Hong Kong, and the Netherlands.)
And how to i use
onIncident
callback on my project?
The false positive is related to the connectivity of Cloudflare edge to your server by a number of complex factors including GFW, routing, distance, and more. So you may need to specify a region to reduce the number of false positives, which is normal.
onIncident
is just a rougher workaround that I use myself, I may implement the grace period feature you proposed recently (although I won't give an ETA), you can wait and use the grace period feature directly to reduce the number of false positives.
from uptimeflare.
The false positive is related to the connectivity of Cloudflare edge to your server by a number of complex factors including GFW, routing, distance, and more. So you may need to specify a region to reduce the number of false positives, which is normal.
None of my servers are in China, and they all use the nearest Cloudflare nodes.
For example, Japan and Korea use Japan nodes, Hong Kong and Singapore use Hong Kong nodes, and the United States uses U.S. nodes. The latency is kept within 100ms, with some even within 10ms.
from uptimeflare.
A new way of notification has been implemented, along with the grace period, see the https://github.com/lyc8503/UptimeFlare/wiki/Setup-notification
from uptimeflare.
Related Issues (20)
- The program reported an error after deleting the `statusPageLink` HOT 2
- JSON API HOT 2
- 部署问题:Type error: Property 'tooltip' does not exist on type '{ id: string; name: string; method: string; target: string; }'. HOT 6
- 🔄Want to add automatic refresh function希望添加自动刷新功能 HOT 4
- 设置检测频率 HOT 2
- 建议:聚合 `checkLocationWorkerRoute` 请求以减少 worker 请求数及使用 Cloudflare D1 存储数据 HOT 5
- Improve checkLocationWorkerRoute configuration HOT 7
- Multiple UptimeFlare instance in one account HOT 10
- 有两个url监控一直是Overall: 0.000%状态 HOT 4
- 部署到CF无法正常打开 HOT 5
- Application error HOT 3
- 能浅显易懂点吗? HOT 4
- Show date in the popup? HOT 4
- Error: proxy request failed | Improve checkLocationWorkerRoute HOT 2
- Chart Y axe spikes HOT 3
- 为什么不给页面添加语言切换? HOT 1
- [feat request] Clickable link identifier | 可点击链接标识 HOT 2
- 如何排查notification不工作的问题 HOT 2
- 怎么自定义cron和发送email? HOT 1
- Reached 50% of the daily usage limit for Cloudflare Workers KV operations HOT 4
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 uptimeflare.