1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/logger
Brian Goff 933a87236f Reduce allocations for logfile reader
Before this change, the log decoder function provided by the log driver
to logfile would not be able to re-use buffers, causing undeeded
allocations and memory bloat for dockerd.

This change introduces an interface that allows the log driver to manage
it's memory usge more effectively.
This only affects json-file and local log drivers.

`json-file` still is not great just because of how the json decoder in the
stdlib works.
`local` is significantly improved.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2020-04-08 12:24:31 -07:00
..
awslogs bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
etwlogs
fluentd Fluentd: add fluentd-request-ack option 2020-02-11 02:13:24 +01:00
gcplogs homedir: remove idtools and libcontainer's user package dependencies 2019-09-24 00:32:13 +00:00
gelf logger/gelf: Skip empty lines to comply with spec 2019-11-25 11:55:15 +01:00
journald vendor containerd, BuildKit, protobuf, grpc, and golang.org/x 2020-03-03 10:25:20 +09:00
jsonfilelog Reduce allocations for logfile reader 2020-04-08 12:24:31 -07:00
local Reduce allocations for logfile reader 2020-04-08 12:24:31 -07:00
logentries Use a regex to match labels 2019-01-16 22:17:16 +00:00
loggerutils Reduce allocations for logfile reader 2020-04-08 12:24:31 -07:00
splunk Fix more goimports 2020-02-11 18:56:25 +01:00
syslog Use a regex to match labels 2019-01-16 22:17:16 +00:00
templates bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
adapter.go Adds PartialLogMetadata to encode protobuf for logger plugins 2019-04-09 16:14:33 +05:00
adapter_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
copier.go
copier_test.go daemon/logger: normalize comment formatting 2019-11-27 15:42:27 +01:00
factory.go Support configuration of log cacher. 2020-02-19 17:02:34 -05:00
log_cache_opts.go Support configuration of log cacher. 2020-02-19 17:02:34 -05:00
logger.go
logger_test.go
loginfo.go Use a regex to match labels 2019-01-16 22:17:16 +00:00
metrics.go goimports: fix imports 2019-09-18 12:56:54 +02:00
plugin.go Entropy cannot be saved 2019-06-07 11:54:45 +01:00
plugin_unix.go
plugin_unsupported.go
proxy.go
ring.go
ring_test.go