Files
zeekay 57d6230871 feat: ZAP is the only transport — drop OTLP, gRPC and protobuf
The OTLP exporter was already gone from the code: exporter_default.go returns
errLegacyOTLPDisabled and nothing imports an exporter package. go.mod still
required otlptrace, otlptracegrpc, otlptracehttp, proto/otlp, protobuf and grpc,
so every consumer of this module pulled gRPC and protobuf to reach code that
cannot run. That is why 131 modules in the workspace list google.golang.org/grpc
while none of their own source imports it.

Those requires are gone. This module now builds with no OTLP, no protobuf and no
gRPC in its graph at all.

ExporterType follows: Disabled and ZAP, nothing else. Keeping GRPC and HTTP as
values advertised transports that could not be constructed — ExporterTypeFromString
would accept "grpc", and the exporter would then fail at use. It now refuses them
at parse time, which is where a wrong config should be caught, and the tests
assert the rejection rather than the old acceptance.
2026-07-26 18:48:02 -07:00

37 lines
1.3 KiB
AMPL

module github.com/luxfi/trace
go 1.26.4
require (
github.com/luxfi/zap v1.2.6
github.com/stretchr/testify v1.11.1
go.opentelemetry.io/otel v1.43.0
go.opentelemetry.io/otel/sdk v1.42.0
go.opentelemetry.io/otel/trace v1.43.0
)
require (
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cloudflare/circl v1.6.3 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/go-logr/logr v1.4.3 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grandcat/zeroconf v1.0.0 // indirect
github.com/luxfi/accel v1.2.4 // indirect
github.com/luxfi/crypto v1.20.2 // indirect
github.com/luxfi/mdns v0.1.1 // indirect
github.com/miekg/dns v1.1.72 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
go.opentelemetry.io/otel/metric v1.43.0 // indirect
golang.org/x/crypto v0.52.0 // indirect
golang.org/x/mod v0.36.0 // indirect
golang.org/x/net v0.55.0 // indirect
golang.org/x/sync v0.20.0 // indirect
golang.org/x/sys v0.45.0 // indirect
golang.org/x/tools v0.45.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)