containerd/cmd
Brian Goff 45c3453a7c Add open telemetry logging hook for logrus
This adds valuable logging data to the open telemetry traces.

When the trace is not recording we don't bother doing anything as it is
relatively expensive to convert logrus data to otel just due to the
nature of how logrus works.

The way this works is that we now set a context on the logrus.Entry that
gets passed around which the hook then uses to determine if there is an
active span to forward the logs to.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2021-09-21 21:19:28 +00:00
..
containerd Add open telemetry logging hook for logrus 2021-09-21 21:19:28 +00:00
containerd-shim replace uses of os/exec with golang.org/x/sys/execabs 2021-08-25 18:11:09 +02:00
containerd-shim-runc-v1 Run go fmt with Go 1.17 2021-08-22 09:31:50 +09:00
containerd-shim-runc-v2 Run go fmt with Go 1.17 2021-08-22 09:31:50 +09:00
containerd-stress Run go fmt with Go 1.17 2021-08-22 09:31:50 +09:00
ctr Merge pull request #5997 from ktock/deduped-ref 2021-09-21 23:44:19 +09:00
gen-manpages Remove useless lines 2021-05-20 16:19:09 +08:00
protoc-gen-gogoctrd Update ttrpc for containerd repo 2018-06-28 09:53:40 -04:00