Hi Fly.io community
The Infra team is working hard on several fronts to get a better understanding of what you and your customers are experiencing in real-time.
One of the ideas we are exploring to get a better picture of what our customers are experiencing is to provide synthetic monitoring for Fly apps.
While you might already be using a synthetic monitoring solution, we’re building this system integrated with our Managed Grafana, which will make the correlation between application availability and performance, and the existing metrics like machine load, network usage, etc., a braze. Concurrently, we will be ingesting these metrics in our monitoring stack which will allow us to quickly identify when an elevated number of apps are unavailable or not performing well for clients outside our network.
We plan to provide this functionality through a globally distributed fleet of monitoring agents running on thousands of devices. How are we going to build this fleet, you ask? With your help! Help us to help you by opting in to run synthetic checks through your flyctl
agent!
Running synthetic checks through flyctl
agents will provide an accurate representation of how your customers experience your apps. Instead of testing from a server in a data center with a cross connect to our providers, these checks will be performed from users’ laptops over their ISP connections.
This is an ambitious plan and it will only work if you help us.
We are starting by releasing a new version of flyctl
with the monitoring agent disabled by default. This is an opt-in only functionality. In this first iteration, we will only run probes for Fly-owned applications, such as fly.io and debug.fly.dev. We will use the collected metrics to refine the information we get from the probes and improve the system overall.
Once we are satisfied with the information we are collecting and how the system performs at scale, we will allow organizations to register their Fly apps’ endpoints for monitoring. Our approach is not fully defined yet, but we intend to permit organizations to register endpoints for monitoring only if they opt in to run probes for other organizations on their flyctl
agents.
Do you want to help us to build this awesome synthetics monitoring system? Great! You’d need to upgrade your flyctl
to version 0.2.95
or greater, run flyctl settings synthetics enable
and restart your agent with flyctl agent restart
to start listening for probes. We promise we will not DoS your agent
Let us know your feedback!