You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/logtail
Jonathan Nobels 3e89068792
net/netmon, wgengine/userspace: purge ChangeDelta.Major and address TODOs (#17823)
updates tailscale/corp#33891

Addresses several older the TODO's in netmon.  This removes the 
Major flag precomputes the ChangeDelta state, rather than making
consumers of ChangeDeltas sort that out themselves.   We're also seeing
a lot of ChangeDelta's being flagged as "Major" when they are
not interesting, triggering rebinds in wgengine that are not needed.  This
cleans that up and adds a host of additional tests.

The dependencies are cleaned, notably removing dependency on netmon
itself for calculating what is interesting, and what is not.  This includes letting
individual platforms set a bespoke global "IsInterestingInterface"
function.  This is only used on Darwin.

RebindRequired now roughly follows how "Major" was historically
calculated but includes some additional checks for various
uninteresting events such as changes in interface addresses that
shouldn't trigger a rebind.  This significantly reduces thrashing (by
roughly half on Darwin clients which switching between nics).   The individual
values that we roll  into RebindRequired are also exposed so that
components consuming netmap.ChangeDelta can ask more
targeted questions.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
4 days ago
..
example Switch logging service from log.tailscale.io to log.tailscale.com (#14398) 1 year ago
filch logtail: add metrics (#18184) 1 week ago
.gitignore Move Linux client & common packages into a public repo. 6 years ago
README.md Move Linux client & common packages into a public repo. 6 years ago
api.md Switch logging service from log.tailscale.io to log.tailscale.com (#14398) 1 year ago
buffer.go logtail: add metrics (#18184) 1 week ago
config.go net/netmon: remove usage of direct callbacks from netmon (#17292) 3 months ago
logtail.go net/netmon, wgengine/userspace: purge ChangeDelta.Major and address TODOs (#17823) 4 days ago
logtail_omit.go feature/logtail: pull logtail + netlog out to modular features 3 months ago
logtail_test.go all: rename variables with lowercase-l/uppercase-I 1 month ago

README.md

Tailscale Logs Service

This github repository contains libraries, documentation, and examples for working with the public API of the tailscale logs service.

For a very quick introduction to the core features, read the API docs and peruse the logs reprocessing example.

For more information, write to info@tailscale.io.