Skip to content

Releases: open-telemetry/opentelemetry-go

Release v0.2.1

08 Jan 14:46
v0.2.1
ea67a56
Compare
Choose a tag to compare

Added

  • Global meter forwarding implementation.
    This enables deferred initialization for metric instruments registered before the first Meter SDK is installed. (#392)
  • Global trace forwarding implementation.
    This enables deferred initialization for tracers registered before the first Trace SDK is installed. (#406)
  • Standardize export pipeline creation in all exporters. (#395)
  • A testing, organization, and comments for 64-bit field alignment. (#418)
  • Script to tag all modules in the project. (#414)

Changed

  • Renamed propagation package to propagators. (#362)
  • Renamed B3Propagator propagator to B3. (#362)
  • Renamed TextFormatPropagator propagator to TextFormat. (#362)
  • Renamed BinaryPropagator propagator to Binary. (#362)
  • Renamed BinaryFormatPropagator propagator to BinaryFormat. (#362)
  • Renamed NoopTextFormatPropagator propagator to NoopTextFormat. (#362)
  • Renamed TraceContextPropagator propagator to TraceContext. (#362)
  • Renamed SpanOption to StartOption in the trace API. (#369)
  • Renamed StartOptions to StartConfig in the trace API. (#369)
  • Renamed EndOptions to EndConfig in the trace API. (#369)
  • Number now has a pointer receiver for its methods. (#375)
  • Renamed CurrentSpan to SpanFromContext in the trace API. (#379)
  • Renamed SetCurrentSpan to ContextWithSpan in the trace API. (#379)
  • Renamed Message in Event to Name in the trace API. (#389)
  • Prometheus exporter no longer aggregates metrics, instead it only exports them. (#385)
  • Renamed HandleImpl to BoundInstrumentImpl in the metric API. (#400)
  • Renamed Float64CounterHandle to Float64CounterBoundInstrument in the metric API. (#400)
  • Renamed Int64CounterHandle to Int64CounterBoundInstrument in the metric API. (#400)
  • Renamed Float64GaugeHandle to Float64GaugeBoundInstrument in the metric API. (#400)
  • Renamed Int64GaugeHandle to Int64GaugeBoundInstrument in the metric API. (#400)
  • Renamed Float64MeasureHandle to Float64MeasureBoundInstrument in the metric API. (#400)
  • Renamed Int64MeasureHandle to Int64MeasureBoundInstrument in the metric API. (#400)
  • Renamed Release method for bound instruments in the metric API to Unbind. (#400)
  • Renamed AcquireHandle method for bound instruments in the metric API to Bind. (#400)
  • Renamed the File option in the stdout exporter to Writer. (#404)
  • Renamed all Options to Config for all metric exports where this wasn't already the case.

Fixed

  • Aggregator import path corrected. (#421)
  • Correct links in README. (#368)
  • The README was updated to match latest code changes in its examples. (#374)
  • Don't capitalize error statements. (#375)
  • Fix ignored errors. (#375)
  • Fix ambiguous variable naming. (#375)
  • Removed unnecessary type casting. (#375)
  • Use named parameters. (#375)
  • Updated release schedule. (#378)
  • Correct http-stackdriver example module name. (#394)
  • Removed the http.request span in httptrace package. (#397)
  • Add comments in the metrics SDK (#399)
  • Initialize checkpoint when creating ddsketch aggregator to prevent panic when merging into a empty one. (#402) (#403)
  • Add documentation of compatible exporters in the README. (#405)
  • Typo fix. (#408)
  • Simplify span check logic in SDK tracer implementation. (#419)

Release v0.2.0

03 Dec 08:19
d35ea75
Compare
Choose a tag to compare

Added

  • Unary gRPC tracing example. (#351)
  • Prometheus exporter. (#334)
  • Dogstatsd metrics exporter. (#326)

Changed

  • Rename MaxSumCount aggregation to MinMaxSumCount and add the Min interface for this aggregation. (#352)
  • Rename GetMeter to Meter. (#357)
  • Rename HTTPTraceContextPropagator to TraceContextPropagator. (#355)
  • Rename HTTPB3Propagator to B3Propagator. (#355)
  • Rename HTTPTraceContextPropagator to TraceContextPropagator. (#355)
  • Move /global package to /api/global. (#356)
  • Rename GetTracer to Tracer. (#347)

Removed

  • SetAttribute from the Span interface in the trace API. (#361)
  • AddLink from the Span interface in the trace API. (#349)
  • Link from the Span interface in the trace API. (#349)

Fixed

  • Exclude example directories from coverage report. (#365)
  • Lint make target now implements automatic fixes with golangci-lint before a second run to report the remaining issues. (#360)
  • Drop GO111MODULE environment variable in Makefile as Go 1.13 is the project specified minimum version and this is environment variable is not needed for that version of Go. (#359)
  • Run the race checker for all test. (#354)
  • Redundant commands in the Makefile are removed. (#354)
  • Split the generate and lint targets of the Makefile. (#354)
  • Renames circle-ci target to more generic ci in Makefile. (#354)
  • Add example Prometheus binary to gitignore. (#358)
  • Support negative numbers with the MaxSumCount. (#335)
  • Resolve race conditions in push_test.go identified in #339. (#340)
  • Use /usr/bin/env bash as a shebang in scripts rather than /bin/bash. (#336)
  • Trace benchmark now tests both AlwaysSample and NeverSample.
    Previously it was testing AlwaysSample twice. (#325)
  • Trace benchmark now uses a []byte for TraceID to fix failing test. (#325)
  • Added a trace benchmark to test variadic functions in setAttribute vs setAttributes (#325)
  • The defaultkeys batcher was only using the encoded label set as its map key while building a checkpoint.
    This allowed distinct label sets through, but any metrics sharing a label set could be overwritten or merged incorrectly.
    This was corrected. (#333)

Changes since v0.1.2

d35ea75 go module update for release v0.2.0 (#366)
f0eb35b exclude example dirs from coverage test/report. (#365)
eb9fe13 Drop SetAttribute from Span (#361)
f25c84f Fix lint target (#360)
921ea03 Drop GO111MODULE environment variable (#359)
e6d7256 Simplify Makefile (#354)
77543cd Unary gRPC tracing example (#351)
fef504d Add Min() interface - rename MaxSumCount to MinMaxSumCount (#352)
5ec1f5c Add example prometheus binary to gitignore (#358)
a99f872 Span interface should only allow LinkedTo at creation. (#349)
3d78564 Prometheus exporter (#334)
1b08d82 Rename GetMeter() to Meter() (#357)
5f776db Remove "HTTP" from propagator names (#355)
13cd2ac move /global to /api/global (#356)
9a2484c Implement support for NonAbsolute Measurement MaxSumCount (#335)
0f052af Rename GetTracer to Tracer (#347)
059ca3e Removing pjanotti from owners (#342)
799a418 Fix race conditions in push_test.go (#340)
b9706b2 Dogstatsd metrics exporter (#326)
6b63281 Use /usr/bin/env bash rather than /bin/bash (#336)
2c437c9 fix benchmark error, with always/never sample and add benchmark setAttribute vs setAttributes (#325)
dfae2ac Fix the defaultkeys metrics batcher (#333)

Release v0.1.2

18 Nov 19:19
9d1a0d5
Compare
Choose a tag to compare

Fixed

  • Optimized the simplelru map for attributes to reduce the number of allocations. (#328)
  • Removed unnecessary unslicing of parameters that are already a slice. (#324)

Changes since v0.1.1

9d1a0d5 go module update for release v0.1.2 (#330)
3495d74 specialize simplelru(span's lruMap) for attributes only (#328)
eb3b31e Unslice to simplify (#324)

Release v0.1.1

18 Nov 18:10
Compare
Choose a tag to compare

This release contains a Metrics SDK with stdout exporter and supports basic aggregations such as counter, gauges, array, maxsumcount, and ddsketch.

Added

  • Metrics stdout export pipeline. (#265)
  • Array aggregation for raw measure metrics. (#282)
  • The core.Value now have a MarshalJSON method. (#281)

Removed

  • WithService, WithResources, and WithComponent methods of tracers. (#314)
  • Prefix slash in Tracer.Start() for the Jaeger example. (#292)

Changed

  • Allocation in LabelSet construction to reduce GC overhead. (#318)
  • trace.WithAttributes to append values instead of replacing (#315)
  • Use a formula for tolerance in sampling tests. (#298)
  • Move export types into trace and metric-specific sub-directories. (#289)
  • SpanKind back to being based on an int type. (#288)

Fixed

  • URL to OpenTelemetry website in README. (#323)
  • Name of othttp default tracer. (#321)
  • ExportSpans for the stackdriver exporter now handles nil context. (#294)
  • CI modules cache to correctly restore/save from/to the cache. (#316)
  • Fix metric SDK race condition between LoadOrStore and the assignment rec.recorder = i.meter.exporter.AggregatorFor(rec). (#293)
  • README now reflects the new code structure introduced with these changes. (#291)
  • Make the basic example work. (#279)

Changes since v0.1.0

90ba74e Fix url to website in readme (#323)
9878f3b Metrics stdout export pipeline (#265)
c3d5b7b remove empty package (#322)
64eaee8 fix typo in othttp handler (#321)
ee87858 Avoid one memory allocation in LabelSet construction (#318)
9d19d82 Clear NoopTracer implementation and improve Tracer argument names (#314)
1fd93b2 change trace.WithAttributes to append values instead of replacing (#315)
a228baf exporter(stackdriver): fix ExportSpans when ctx is not nil (#294)
f403198 propose additional CODEOWNERS (#313)
b6ada23 Fix CI modules cache (#316)
2950978 Remove myself from CODEOWNERS (#308)
769a03a Use a formula for tolerance in sampling tests (#298)
2546646 Fix metric SDK race condition (#293)
68bd627 Move export types into trace and metric-specific subdirs (#289)
17439d8 [example/jaeger] Remove prefix slash in Tracer.Start() (#292)
2ac5725 update README for v0.1.0 (#291)
1bfa1aa Change SpanKind type an integer type (#288)
9040d82 Add array aggregation for raw measure metrics, improve testing (#282)
6b48fce example/basic: make basic example work (#279)
881e51f Add MarshalJSON for core.Value (#281)

Release v0.1.0

04 Nov 19:51
ded8fe6
Compare
Choose a tag to compare

Alpha Release v0.1.0

This is the first release of open-telemetry go library.
It contains api and sdk for trace and meter.

Added

  • Initial OpenTelemetry trace and metric API prototypes.
  • Initial OpenTelemetry trace, metric, and export SDK packages.
  • A wireframe bridge to support compatibility with OpenTracing.
  • Example code for a basic, http-stackdriver, http, jaeger, and named tracer setup.
  • Exporters for Jaeger, Stackdriver, and stdout.
  • Propagators for binary, B3, and trace-context protocols.
  • Project information and guidelines in the form of a README and CONTRIBUTING.
  • Tools to build the project and a Makefile to automate the process.
  • Apache-2.0 license.
  • CircleCI build CI manifest files.
  • CODEOWNERS file to track owners of this project.