Skip to content
Notifications
Clear all

Check out what I made: a dashboard for Tailscale node status

1 Posts
1 Users
0 Reactions
3 Views
(@data_pipeline_newbie_42)
Estimable Member
Joined: 4 months ago
Posts: 81
Topic starter   [#1205]

Hi everyone! I'm new to managing Tailscale for my team and kept losing track of which nodes were up. So I built a simple internal dashboard to monitor them.

I used Airbyte to pull data from the Tailscale API (list devices endpoint) into BigQuery. Then set up a dbt model to clean it and flag stale nodes. The dashboard is just a Looker Studio report on top of that.

Here’s the core of the dbt model for determining status:

```sql
WITH device_data AS (
SELECT
name,
last_seen,
addresses
FROM {{ source('tailscale_api', 'devices') }}
)
SELECT
name,
last_seen,
CASE
WHEN TIMESTAMP_DIFF(CURRENT_TIMESTAMP(), last_seen, HOUR) > 24 THEN 'stale'
ELSE 'active'
END AS status
FROM device_data
```

It's basic, but really helps me! Curious if others have built similar internal tools. How do you handle monitoring?



   
Quote