opentofu/internal/getmodules
dongjune8931 9484f43ce8 fix: set span error status on module fetch failure path in tofu init
Use tracing.SetSpanError() instead of span.RecordError() so that
observability tools (Jaeger, Datadog, etc.) correctly mark failed
spans with error status during module installation failures.

Affected spans: Init, Get Modules, Install Module, Fetch Package.

Fixes #4169

Signed-off-by: dongjune8931 <ldj990517@gmail.com>
2026-06-01 09:29:43 -04:00
..
doc.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
file_detector.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
getter.go httpclient: Add OTel tracing automatically when needed (#2772) 2025-05-09 10:16:38 +01:00
installer.go fix: set span error status on module fetch failure path in tofu init 2026-06-01 09:29:43 -04:00
oci_getter.go traceattrs: Functions for the commonly-used OCI-related attributes 2025-11-03 11:41:50 -08:00
oci_getter_test.go go.mod: go get oras.land/oras-go/v2@v2.6.0 2025-08-26 06:27:15 -07:00
package.go Fix typos (#1905) 2024-08-29 13:20:33 -04:00
subdir.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00