Upcoming Webinar: Least Privileged AccessSign up now
Get started - it's free!
Login
WireGuard is a registered trademark of Jason A. Donenfeld.
© 2025 Tailscale Inc. All rights reserved. Tailscale is a registered trademark of Tailscale Inc.
Blog|insightsFebruary 13, 2025

Prometheus monitoring for Tailscale clients: a metric boatload of fun

YouTube thumbnail of Alex in front of a Prometheus display

Network administrators can now monitor devices in their Tailscale network using Prometheus and our new client metrics feature, which provides connection data in a standard and ingestible format. That combination brings enterprise-grade visibility to your Tailscale network, or tailnet, making it easy to track performance, spot trends, and set up alerts.

Our latest video shows how it works. You can enable metrics on any Tailscale node with the command tailscale set --webclient. This exposes a /metrics endpoint that's compatible with Prometheus, so you can start collecting data right away.

I walk you through the entire process step by step in the video embedded below and available on our YouTube channel. Supporting code snippets, as always, are on GitHub.

Monitoring is a hot topic for many of our users. In a recent video we talked about Beszel, a lightweight monitoring tool. If you're ready to dive into the deep end of network monitoring, Prometheus offers a much more comprehensive solution. By exposing metrics from Tailscale clients and scraping them into Prometheus, administrators can gain valuable insights into their network's performance and health.

What's particularly powerful about this setup is the ability to monitor specific patterns in your tailnet traffic. For instance, if you're running subnet routers and users report slowdowns, you can now track performance metrics and set up alerts through Prometheus's Alert Manager when certain thresholds are exceeded. This proactive monitoring approach can help you identify and address issues before they impact your users.

Since your Prometheus service is part of your tailnet in this configuration, it can reach out to every node on your network to collect metrics. Tailscale's built-in DNS system makes the setup process much simpler than traditional network monitoring solutions.

Prometheus makes creating visualizations in Grafana easy too. After all, who doesn’t love a good graph? They make it easy to spot trends and anomalies, plus you can easily track everything from direct IPv4/IPv6 packets to DERP server usage, giving you a comprehensive view of your network's behavior.

Whether you're managing a small tailnet or a large enterprise deployment, these new monitoring capabilities provide valuable insights into your network's performance. Ready to get started? Learn more about making the switch to Tailscale.

Share

Author

Alex KretzschmarAlex Kretzschmar

More articles

insightsApr 15, 2025

Video: How Tailscale Grows Up Without Selling Out

In this fireside chat, CEO Avery Pennarun and CSO David Carney join Alex from the Tailscale team to reflect on the company’s journey so far, our recent Series C raise, and what comes next as we scale; without losing sight of what makes Tailscale, Tailscale.

Alex Kretzschmar
Alex Kretzschmar
insightsApr 15, 2025

10,000 Times Faster, 10,000 Times Simpler: Why Today’s Solutions Don’t Need Internet-Scale Complexity

Fifteen years ago, achieving meaningful computing power required racks of servers, endless cooling and no small amount of hubris. Today, the phone in your pocket outpaces the supercomputers of that era in terms of raw power. And yet, much of the software we build still treats modern hardware like it’s stuck in 2008, tiptoeing around performance as if we’re all still rationing CPU cycles.

Avery Pennarun Headshot
Avery Pennarun
insightsApr 15, 2025

AI changes people

Editor's Note: This article was updated on 4/17/2025 to replace an earlier version originally posted to Forbes for a more general reader. This version is truer to Avery's initial intent and writing for Tailscaile's blog audience. Every technology changes us, depending on how we choose to adopt it. Computers changed how we handle bureaucracy. The Internet changed how we communicate. Search engines changed how we remember. GPS navigation changed our mental model of roads. Smartphones changed how we deal with boredom. Social media changed how we socialize. With each shift, we gain something—and we lose something, too.

Avery Pennarun Headshot
Avery Pennarun

Subscribe to Tailscale’s blog

Too much email?RSSTwitter

Try Tailscale for free

Schedule a demo
Contact sales
cta phone
mercury
instacrt
Retool
duolingo
Hugging Face