Skip to content

v0.9.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@MrAlias MrAlias released this 26 May 20:30
· 828 commits to main since this release
v0.9.0
db7d0be

This release contains configuration fixes and simplifies the API before a stable release is published.

go.opentelemetry.io/otel* dependencies are updated to v1.7.0 and go.opentelemetry.io/contrib* dependencies are updated to v1.7.0/v0.32.0.

Changed

  • The NewTracer function from github.com/signalfx/splunk-otel-go/instrumentation/github.com/graphql-gophers/graphql-go/splunkgraphql now returns a tracer.Tracer instead of the deprecated trace.Tracer from github.com/graph-gophers/graphql-go. (#855)
  • The TraceQuery method of the Tracer from github.com/signalfx/splunk-otel-go/instrumentation/github.com/graphql-gophers/graphql-go/splunkgraphql now returns a tracer.QueryFinishFunc instead of the deprecated trace.TraceQueryFinishFunc from github.com/graph-gophers/graphql-go. (#855)
  • The TraceField method of the Tracer from github.com/signalfx/splunk-otel-go/instrumentation/github.com/graphql-gophers/graphql-go/splunkgraphql now returns a tracer.FieldFinishFunc instead of the deprecated trace.TraceFieldFinishFunc from github.com/graph-gophers/graphql-go. (#855)
  • The TraceValidation method of the Tracer from github.com/signalfx/splunk-otel-go/instrumentation/github.com/graphql-gophers/graphql-go/splunkgraphql now returns a tracer.ValidationFinishFunc instead of the deprecated trace.TraceValidationFinishFunc from github.com/graph-gophers/graphql-go. (#855)
  • Configure TLS using the system CA for OTLP gRPC exporter connections when configured to connect to external endpoints. (#792)
  • Remove opts ...Option parameter from NewHandler function from github.com/signalfx/splunk-otel-go/instrumentation/net/http/splunkhttp
    package. (#947)
  • Update go.opentelemetry.io/otel* dependencies from v1.6.1 to v1.7.0. (#926)
  • Update go.opentelemetry.io/contrib* dependencies from v1.6.0/v0.31.0 to v1.7.0/v0.32.0. (#926)

Removed

  • Minimize github.com/signalfx/splunk-otel-go/distro package to contain only necessary option functions. (#941)
    • Remove WithAccessToken function, use SPLUNK_ACCESS_TOKEN environment variable instead.
    • Remove WithEndpoint function, use one of the OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, OTEL_EXPORTER_JAEGER_ENDPOINT environment variables instead.
    • Remove WithPropagator function, use OTEL_PROPAGATORS environment variable instead.
    • Remove WithTraceExporter function, use OTEL_TRACES_EXPORTER environment variable instead.
  • Minimize github.com/signalfx/splunk-otel-go/instrumentation/net/http/splunkhttp package to contain only necessary functions and types. (#947)
    • Remove WithTraceResponseHeader function, use SPLUNK_TRACE_RESPONSE_HEADER_ENABLED environment variable instead.
    • Remove TraceResponseHeaderMiddleware function, use NewHandler function instead.
    • Remove Option type.

Fixed

  • Use the correct Splunk Observability Cloud OTLP over gRPC endpoint when SPLUNK_REALM is set. (#791)