Diag class abstract
Observability and diagnostics. All read-only; nothing here affects connectivity.
Reached via Tailscale.diag.
Constructors
- Diag()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkUpdate(
) → Future< ClientVersion?> - Checks whether a newer version of the embedded tsnet runtime is available. Returns null when already on the latest.
-
derpMap(
) → Future< DERPMap> - Current DERP relay map for this node.
-
metrics(
) → Future< String> - Prometheus-format metrics snapshot from the embedded runtime — node counts, DERP activity, byte totals, handshake stats, etc.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ping(
String ip, {Duration? timeout, PingType type = PingType.disco}) → Future< PingResult> - Tailscale-level ping to a tailnet IP or MagicDNS name.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited