Dashboards and monitoring
Boards built your way with tasks, architecture, uptime and clouds, and alerts when something goes down.
Projects often live on different clouds. FXCode gathers what you need to watch in dashboards you build yourself, checks that each project’s URLs respond, and reads the status of their clouds (AWS, Azure, Google Cloud, Railway, Vercel, Cloudflare, Supabase and DigitalOcean) without changing anything in them.
Dashboards
In Dashboards (sidebar) you create as many boards as you like and add widgets to them:
| Widget | What it shows |
|---|---|
| Tasks | Tasks from one or more projects. Filter by open or all, assigned to you, only those that need a person, and by status. |
| Architecture | A project’s diagram: pieces with tasks in progress, whether their URL responds, and the status of their cloud resource. |
| Uptime | The watched URLs of the projects you pick (or all of them), with their latency and the last 24 h percentage. |
| Clouds | Per connection: resources with their status, latest deployments, active alarms and month-to-date cost. |
| Cloud spend | Month-to-date spend of the clouds you pick (or all of them): total before credits, credits, what is left to pay and a bar per connection. Two connections to the same AWS account are counted once. |
| Logs | The latest log lines (or just the errors) of a connected cloud, with a 15 min to 24 h window and text search. For now, AWS CloudWatch Logs. |
Click Edit to add, configure or remove widgets, drag them by their handle and resize them from the corner. Open on sign-in makes that dashboard replace the home page. On mobile, widgets stack in a single column.
Customize home (at the top of the home page) creates that dashboard for you, with the open tasks of your pinned (or active) projects, the cloud spend and the last 24 h of errors if you have a cloud with logs, and opens it so you can remove or add widgets.
Each dashboard is yours alone. Widgets load their data with your permissions: if you leave a project, its widget stops showing it.
URL uptime
In each project, Monitoring → Uptime watches public URLs: an architecture piece’s URL or any other. You can also open a piece in the diagram and click Watch this URL.
- Checks run every 1, 5, 15, 30 or 60 minutes. FXCode stores the status code, the response time and the certificate expiry date, and keeps results for 7 days.
- Responding = any status code below 500. A 5xx, a network error or an invalid certificate count as a failure. Something that was up only turns down after two failures in a row, so a single blip doesn’t page anyone.
- When it goes down and when it comes back, FXCode posts to the project’s chats (Slack, Discord, Teams or Telegram, set up in Connectors). With Create a task when it goes down it also opens a task flagged “needs a person”.
- It never requests private, loopback or metadata addresses (localhost, 10.x, 169.254.x…). To watch something internal, expose a health endpoint such as your API’s
/health.
Clouds
In Monitoring → Clouds you connect each of the project’s clouds with read-only credentials. FXCode reads it every 10 minutes (and the cost at most every 12 hours), and posts to the project’s chats when a deployment fails, an alarm fires or a resource turns to error.
| Cloud | What it reads | Credential |
|---|---|---|
| AWS | ECS services, Amplify branches and builds, RDS and EC2 instances, load balancers (ALB), CloudWatch alarms and metrics, month-to-date cost | A role FXCode assumes with an External ID (no keys) |
| Azure | Web Apps, Container Apps and their revisions, PostgreSQL, Resource Health, alerts, cost | Service principal with the Reader role |
| Google Cloud | Cloud Run, Cloud SQL, Cloud Functions | Service account with the Viewer role |
| Railway | Services per environment and their deployments | Account, team or project token |
| Vercel | Projects and their deployments | Access token |
| Cloudflare | Workers and Pages projects with their deployments | API token with Workers Scripts: Read and Cloudflare Pages: Read |
| Supabase | Projects and the health of their services | Personal access token |
| DigitalOcean | App Platform and its deployments, databases, Droplets, month-to-date usage | Read-only token |
Each cloud’s form includes the steps to create the credential. FXCode tests the connection before saving it: if it doesn’t work, it tells you why and saves nothing.
One account, several projects
If several projects share the account, fill in Only resources containing with a fragment of their names (for example fxcode). The connection then shows only those resources, their deployments and the alarms watching them, and only alerts about them. The cost is still the whole account’s: providers don’t report it per resource.
AWS metrics
For each resource, FXCode reads the most useful CloudWatch metrics to tell whether it is healthy:
| Resource | Metrics |
|---|---|
| ECS service | CPU and memory (last 5 min) |
| RDS | CPU, connections and free storage (last 5 min) |
| EC2 | CPU (last 5 min) |
| Load balancer (ALB) | Requests and 5xx errors in the last hour, average response time |
They show up in Monitoring → Clouds, on the linked piece of the diagram and in the clouds widget. CPU or memory above 75 % and 5xx errors are highlighted.
AWS logs
The Logs widget reads CloudWatch Logs on the spot (nothing is stored; the same query is reused for 30 seconds). It shows the most recent lines of the chosen window, newest first, and each one opens its group in the AWS console.
- Log groups: the ones you pick in the widget or, with none picked, the ones that pass the connection’s Only resources containing filter (up to 10). A project sharing the account doesn’t see another project’s logs.
- Errors only: lines with ERROR, Error, FATAL, Exception, panic or pino level 50/60 (JSON logs).
- Search: exact, case-sensitive text (letters, numbers, spaces and
. _ - : / @ #). - If there are more lines than one pass reads, the widget says so: narrow the window or search for a text.
It needs logs:DescribeLogGroups and logs:FilterLogEvents in the role policy. If you connected AWS earlier, add them (the form shows the current policy); until then the widget shows the AWS message. Logs may hold sensitive data: the same team that sees the connection sees them.
AWS without keys
No AWS key is stored. You create a role named fxcode-monitor in your account that trusts FXCode and requires an External ID unique to your project. FXCode generates that ID and nobody can pick it, so another FXCode user can’t make FXCode read your account even if they know the role ARN. The form gives you the trust policy, the permissions policy (only read actions for ECS, Amplify, RDS, EC2, Elastic Load Balancing, CloudWatch, CloudWatch Logs and Cost Explorer) and the AWS CLI commands to create it.
Cost Explorer charges USD 0.01 per request, so FXCode fetches the cost at most every 12 hours: about USD 0.60 a month per connection. The cost shown is the month-to-date usage before credits; if your account has AWS credits, they are shown separately. Metrics (GetMetricData) cost USD 0.01 per 1,000; a few cents a month for a handful of resources. If you connected AWS before metrics existed, add cloudwatch:GetMetricData and elasticloadbalancing:DescribeLoadBalancers to the role policy (the form shows the current policy).
Security
- Credentials are stored encrypted (AES-256-GCM) and never go back to the browser. When you edit a connection, the secret is replaced, never shown.
- FXCode only reads. Always use read-only roles or tokens: even if a credential allows more, FXCode doesn’t use it, but it’s better not to grant it.
- Connections are visible only to the project team. Creating, changing and deleting them is up to the project owner or an admin.
Pieces and resources
In the architecture diagram, open a piece and link it to a resource from a connected cloud (for example, the “API” piece with its ECS service). The piece then shows the resource’s status, also in the architecture widget. Re-importing the architecture with fxc arch import keeps the link.