Skip to content

Releases: GoogleCloudPlatform/opentelemetry-operations-go

v1.0.0

21 Jan 17:42
2748432
Compare
Choose a tag to compare
prepare for releasing 1.0.0 and 0.24.0 (#213)

* prepare for releasing 1.0.0 and 0.24.0

v0.22.0 and v1.0.0-RC2

04 Aug 21:01
cec455d
Compare
Choose a tag to compare

Breaking changes

  • Simplify exporter creation functions (#193, #194).
Before After
tp, shutdown, err := exporter.InstallNewPipeline(
  exporterOpts,
  sdkOpts...,
)
// handle error
defer shutdown()
exporter, err := exporter.New(exporterOpts)
// handle error
tp := sdktrace.NewTracerProvider(
  sdktrace.WithBatcher(exporter),
  sdkOpts...,
)
defer tp.Shutdown(context.Background())
otel.SetTracerProvider(tp)
tp, shutdown, err := exporter.NewExportPipeline(
  exporterOpts,
  sdkOpts...,
)
// handle error
defer shutdown()
exporter, err := exporter.New(exporterOpts)
// handle error
tp := sdktrace.NewTracerProvider(
  sdktrace.WithBatcher(exporter),
  sdkOpts...,
)
defer tp.Shutdown(context.Background())
  • Remove ExportCustomSpans and associated interface which were introduced in -RC1 (#187).
  • Un-export string constants from OTel semantic conventions (#192).
  • Remove DisplayNameFormatter and DefaultTraceAttributes from trace exporter options (#188, #191)
  • Use OTel ErrorHandler for handling errors (#196).

Enhancements

  • Update to OTel-go v1.0.0-RC2 + v0.22.0 (#199) and other miscellaneous dependencies (#197).
  • Remove unused Location field from trace options (#195).

v0.21.0 and v1.0.0-RC1

15 Jul 16:02
d9f7562
Compare
Choose a tag to compare

Breaking changes

  • Trace exporter now expects instances of the ReadOnlySpan interface rather than the SpanContext struct.

New features

Implemented in #173, thanks to contributor @0xc0d!

  • Trace exporter is compatible with v1.0.0-RC1 of opentelemetry-go stable components
  • Metric exporter is compatible with v0.21.0 of opentelemetry-go unstable components

Additional details on the mix of version numbers

Enhancements

  • Map OTel span kind to Cloud Trace (#179, #180)
  • Map OTel span links to Cloud Trace (#176, #178)
  • Add end-to-end tests (#177)

v0.20.1

25 May 18:48
17073c8
Compare
Choose a tag to compare

Bug fixes

v0.20.0

27 Apr 15:24
5a6256f
Compare
Choose a tag to compare

New features

  • Compatible with version v0.20.0 of opentelemetry-go

Enhancements

v0.19.0

23 Mar 14:32
7bb6aa8
Compare
Choose a tag to compare

New features

  • When exported to Google Cloud Trace, spans are named <name> instead of Span.<kind>.<name>, which aligns with exporters in other languages (#109, #151, #155)
  • Compatible with version 0.19.0 of opentelemetry-go (#158)

v0.18.0

09 Mar 16:10
9bf278c
Compare
Choose a tag to compare

New features

  • Compatible with version v0.18.0 of opentelemetry-go

v0.17.0

08 Mar 19:22
deca57d
Compare
Choose a tag to compare

Breaking changes

  • Remove exporter-side bundling of traces and remove unused configuration parameters (#149, fixes #100). To recover the performance benefits of bundling, please use a BatchSpanProcessor.

New features

  • Set User-Agent header correctly on requests to GCP APIs (#148)
  • Compatible with v0.17.0 of opentelemetry-go (#144, #145)

Bugfixes

  • Map OTel span status codes correctly to Google Cloud Trace API status codes (#150, fixes #143)

Miscellaneous

  • Better verification of example code stored outside this repo (#140)
  • Better verification of copyright headers (#139)

v0.16.0

01 Feb 20:13
ef5498c
Compare
Choose a tag to compare

Update OTel dependencies to v0.16.0
Map OT service.name to Service in SD UI
Stagger interval end time to comply with GCP API requirements

Release v0.13.0

29 Oct 02:06
8167a6d
Compare
Choose a tag to compare

46340c4 Fix to use the correct version to build user agent (#105)
1b6dd8a Better bundle config and error management (#111)
402639d check for the existence of metric descriptors before creating (#108)
ec19c7e Update to OpenTelemetry v0.13. (#106)
82ab7c7 Use %s to print duration (#104)