mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-19 17:59:05 -05:00
This adds more detailed OTel trace spans to our various different interactions with OCI repositories, which is helpful to understand the time spent in each of the various sequential steps involved in resolving an OCI artifact. OTel's centrally-maintained conventions for attribute names currently only have a standard for reporting a manifest digest, so we'll use that where it's appropriate but use our own "opentofu.oci."-prefixed attribute names for everything else for now. Hopefully the upstream standard will be broadened later to include some additional concepts, at which point we can switch over to the standardized attribute names. Signed-off-by: Martin Atkins <mart@degeneration.co.uk>