mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Plumb context from the API down to libnet driver method `CreateNetwork`, and add an OTel span to the bridge driver's `createNetwork` method. Include a few attributes describing the network configuration (e.g. IPv4/IPv6, ICC, internal and MTU). A new util function, `RecordStatus`, is added to the `otelutil` package to easily record any error, and update the span status accordingly. Signed-off-by: Albin Kerouanton <albinker@gmail.com>