Skip to content

v0.8.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@MrAlias MrAlias released this 05 Apr 20:27
· 865 commits to main since this release
v0.8.0
620cbe1

Added

  • Add the WithPropagator option to github.com/signalfx/splunk-otel-go/distro along with parsing of the OTEL_PROPAGATORS environment variable to set the global OpenTelemetry TextMapPropagator. (#295)
  • Add the WithTraceExporter and WithTLSConfig options to github.com/signalfx/splunk-otel-go/distro along with parsing of the OTEL_TRACES_EXPORTER environment variable to set the global OpenTelemetry SpanExporter used by the SDK to export traces. (#300)
  • Add the splunk.distro.version attribute to the SDK resource. (#332)
  • Add the WithLogger option to github.com/signalfx/splunk-otel-go/distro along with parsing of the OTEL_LOG_LEVEL environment variable to set the logging level of the default logger used. (#336)
  • The github.com/signalfx/splunk-otel-go/distro package from github.com/signalfx/splunk-otel-go has been made into its own module. (#492)
  • The SPLUNK_REALM environment variable is now supported. If set, the exporter will use the corresponding Splunk ingest endpoint. (#725)

Changed

  • The SDK from github.com/signalfx/splunk-otel-go/distro now uses an OTLP exporter by default. The previous default Jaeger thrift exporter can still be used by setting the OTEL_TRACES_EXPORTER environment variable to jaeger-thrift-splunk, or by directly passing the user configured exporter with a WithTraceExporter option. (#300)
  • Update go.opentelemetry.io/otel* dependencies from [v1.3.0][otel-v1.3.0] to [v1.6.1][otel-v1.6.1]. (#406, #471, #656, #721)
  • Update go.opentelemetry.io/contrib* dependencies from [v1.3.0/v0.28.0][contrib-v1.3.0] to [v1.6.0/v0.31.0][contrib-v1.6.0]. (#406, #721)
  • The OTEL_TRACES_SAMPLER environment variable is now honored instead of only defaulting to an always-on sampler. (#724)
  • Set span limits to the Splunk defaults (the link count is limited to 1000, the attribute value length is limited to 12000, and all other limits are set to be unlimited) if they are not set by the user with environment variables. (#723)

Fixed

  • Consistently import github.com/jackc/pgx/v4, instead of github.com/jackc/pgx, in the github.com/signalfx/splunk-otel-go/instrumentation/github.com/jackc/pgx/splunkpgx instrumentation. (#478)