Documentation
¶
Overview ¶
Package metrics contains shared types and underlying methods for serving localapi metrics. This is primarily consumed by containerboot and k8s-proxy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMetricsHandlers ¶
registerMetricsHandlers registers a simple HTTP metrics handler at /metrics, forwarding requests to tailscaled's /localapi/v0/usermetrics API.
In 1.78.x and 1.80.x, it also proxies debug paths to tailscaled's debug endpoint if configured to ease migration for a breaking change serving user metrics instead of debug metrics on the "metrics" port.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.