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
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>
2 years ago
..
backoff all: adjust some log verbosity 3 years ago
example refactor: move from io/ioutil to io and os packages 2 years ago
filch refactor: move from io/ioutil to io and os packages 2 years ago
.gitignore Move Linux client & common packages into a public repo. 5 years ago
README.md Move Linux client & common packages into a public repo. 5 years ago
api.md Move Linux client & common packages into a public repo. 5 years ago
buffer.go logtail, net/portmapper, wgengine/magicsock: use fmt.Appendf 2 years ago
id.go all: fix spelling mistakes 2 years ago
id_test.go logtail: add ParsePublicID that doesn't allocate 5 years ago
logtail.go logtail: always record timestamps in UTC (#5732) 2 years ago
logtail_test.go refactor: move from io/ioutil to io and os packages 2 years 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.