Release v0.8.0-alpha
Added
- Add the WithEnv InstrumentationOption to configure Instrumentation to parse the environment. The Instrumentation will no longer by default parse the environment. This option needs to be used to enable environment parsing, and the order it is passed influences the environment precedence. All options passed before this one will be overridden if there are conflicts, and those passed after will override the environment. (#417)
- Add the WithTraceExporter InstrumentationOption to configure the trace SpanExporter used by an Instrumentation. (#426)
- Add HTTP status code attribute to net/http server instrumentation. (#428)
- The instrumentation scope now includes the version of the auto-instrumentation project. (#442)
- Add a new WithSampler method allowing end-users to provide their own implementation of OpenTelemetry sampler directly through the package API. (#468).
- Add uprobes to execDC in order to instrument SQL DML. (#475)
Changed
- Documentation no longer says that SYS_PTRACE capability is needed. (#388)
- The NewInstrumentation no longer parses environment variables by default. Use the new WithEnv option to enable environment parsing. (#417)
- NewInstrumentation now requires a context.Context as its first argument. This context is used in the instantiation of exporters. (#426)
- Instrumentation now uses an OTLP over HTTP/protobuf exporter (changed from gRPC/protobuf). (#426)
Fixed
- Parse Go versions that contain GOEXPERIMENT suffixes. (#389)
- Include the schema URL for the semantic convention used in the exported resource. (#426)
- Support Go module replace directives for the golang.org/x/net within the google.golang.org/grpc server instrumentation. (#450)
Removed
- The deprecated go.opentelemetry.io/auto/examples/rolldice module is removed. (#423)
New Contributors
- @theletterf made their first contribution in #373
- @zchee made their first contribution in #389
- @zengyuxing007 made their first contribution in #422
- @thomasgouveia made their first contribution in #468
Full Changelog: v0.7.0-alpha...v0.8.0-alpha