moby/cmd/dockerd
Brian Goff 642e9917ff Add otel support
This uses otel standard environment variables to configure tracing in
the daemon.
It also adds support for propagating trace contexts in the client and
reading those from the API server.

See
https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/
for details on otel environment variables.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2023-09-07 18:38:19 +00:00
..
trap cmd/dockerd: format code with gofumpt 2023-06-29 00:25:45 +02:00
cobra.go cli: move cobra customizations into cmd/dockerd 2022-12-14 11:37:51 +01:00
config.go daemon/config: move MTU to BridgeConfig 2023-07-05 14:43:35 +02:00
config_unix.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
config_unix_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
config_windows.go daemon/config: New(): initialize config with platform-specific defaults 2022-08-17 08:54:32 +02:00
daemon.go Add otel support 2023-09-07 18:38:19 +00:00
daemon_freebsd.go daemon: move check for CPU-realtime daemon options 2022-03-03 19:50:27 +01:00
daemon_linux.go vendor: github.com/containerd/cgroups/v3 v3.0.1 2023-03-08 20:15:17 +09:00
daemon_linux_test.go cmd/dockerd: gracefully shut down the API server 2023-04-26 10:57:28 -04:00
daemon_test.go Set default CDI spec dirs after parsing args 2023-08-03 12:21:44 +02:00
daemon_unix.go cmd/dockerd: format code with gofumpt 2023-06-29 00:25:45 +02:00
daemon_unix_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
daemon_windows.go cmd/dockerd: format code with gofumpt 2023-06-29 00:25:45 +02:00
docker.go swap logrus types for their containerd/logs aliases 2023-08-01 13:02:55 +02:00
docker_unix.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
docker_windows.go cmd/dockerd: format code with gofumpt 2023-06-29 00:25:45 +02:00
error.go cli: move cobra customizations into cmd/dockerd 2022-12-14 11:37:51 +01:00
genwinres_windows.go use go-winres for cross to create Windows resources 2022-04-14 19:52:35 +02:00
grpclog.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
main_linux_test.go Fix listener parsering regression when no addr set 2023-03-09 23:53:05 +00:00
metrics.go Switch all logging to use containerd log pkg 2023-06-24 00:23:44 +00:00
options.go Update dockerd to support JSON logging format 2023-06-28 12:46:28 -05:00
options_test.go cli: remove cli/config package, integrate into cmd/dockerd 2022-12-14 12:52:40 +01:00
README.md Fix readme doc for dockerd 2016-09-01 14:47:51 +08:00
required.go cli: move cobra customizations into cmd/dockerd 2022-12-14 11:37:51 +01:00
service_unsupported.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
service_windows.go windows: fix --register-service when executed from within binary directory 2023-07-27 16:20:49 +02:00

docker.go contains Docker daemon's main function.

This file provides first line CLI argument parsing and environment variable setting.