tailscale/logtail
Joe Tsai 3af0d4d0f2
logtail: always record timestamps in UTC (#5732)
Upstream optimizations to the Go time package will make
unmarshaling of time.Time 3-6x faster. See:
* https://go.dev/cl/425116
* https://go.dev/cl/425197
* https://go.dev/cl/429862

The last optimization avoids a []byte -> string allocation
if the timestamp string less than than 32B.
Unfortunately, the presence of a timezone breaks that optimization.
Drop recording of timezone as this is non-essential information.

Most of the performance gains is upon unmarshal,
but there is also a slight performance benefit to
not marshaling the timezone as well.

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2022-10-05 12:27:52 -07:00
..
backoff all: adjust some log verbosity 2022-02-12 08:51:16 -08:00
example refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
filch refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
.gitignore Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
api.md Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
buffer.go logtail, net/portmapper, wgengine/magicsock: use fmt.Appendf 2022-08-03 21:35:51 -07:00
id_test.go logtail: add ParsePublicID that doesn't allocate 2020-04-13 08:54:35 -07:00
id.go all: fix spelling mistakes 2022-09-29 13:36:13 -07:00
logtail_test.go refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
logtail.go logtail: always record timestamps in UTC (#5732) 2022-10-05 12:27:52 -07:00
README.md Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00

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.