Fixes a bug in otelc pin introduced in v1.0.0 where incorrect module
paths were written into user go.mod files. All users of v1.0.0 should
upgrade to v1.0.1. v1.0.0 is retracted.
Fixes
otelc pinwrites correct module paths — the command now uses the
canonicalgo.opentelemetry.io/otelcpaths when generating
otel.instrumentation.goand updatinggo.modtool directives (#688)- Retract v1.0.0 in
go.modso the Go toolchain warns and skips it
during version selection (#690)
Also included
- docs: fix directive rule example to use template instead of replace (#686)
- chore(deps): bump golang.org/x/crypto (#663)
Getting Started
# Build from source
git clone https://github.com/open-telemetry/opentelemetry-go-compile-instrumentation.git
cd opentelemetry-go-compile-instrumentation
make build
# Instrument your application
./otelc go build -o myapp .
# Confirm the release
otelc version # prints v1.0.1Full Changelog: v1.0.0...v1.0.1