OpenTelemetry - CNCF/opentelemetry-go: Release v0.16.0
Name: opentelemetry-go
Owner: OpenTelemetry - CNCF
Release: Release v0.16.0
Released: 2021-01-14
License: Apache-2.0
Release Assets:
Added
- Add the
ReadOnlySpan
andReadWriteSpan
interfaces to provide better control for accessing span data. (#1360) NewGRPCDriver
function returns aProtocolDriver
that maintains a single gRPC connection to the collector. (#1369)- Added documentation about the project's versioning policy. (#1388)
- Added
NewSplitDriver
for OTLP exporter that allows sending traces and metrics to different endpoints. (#1418) - Added codeql worfklow to GitHub Actions (#1428)
- Added Gosec workflow to GitHub Actions (#1429)
- Add new HTTP driver for OTLP exporter in
exporters/otlp/otlphttp
. Currently it only supports the binary protobuf payloads. (#1420)
Changed
- Rename
internal/testing
tointernal/internaltest
. (#1449) - Rename
export.SpanData
toexport.SpanSnapshot
and use it only for exporting spans. (#1360) - Store the parent's full
SpanContext
rather than just its span ID in thespan
struct. (#1360) - Improve span duration accuracy. (#1360)
- Migrated CI/CD from CircleCI to GitHub Actions (#1382)
- Remove duplicate checkout from GitHub Actions workflow (#1407)
- Metric
array
aggregator renamedexact
to match itsaggregation.Kind
(#1412) - Metric
exact
aggregator includes per-point timestamps (#1412) - Metric stdout exporter uses MinMaxSumCount aggregator for ValueRecorder instruments (#1412)
NewExporter
fromexporters/otlp
now takes aProtocolDriver
as a parameter. (#1369)- Many OTLP Exporter options became gRPC ProtocolDriver options. (#1369)
- Unify endpoint API that related to OTel exporter. (#1401)
- Optimize metric histogram aggregator to re-use its slice of buckets. (#1435)
- Metric aggregator Count() and histogram Bucket.Counts are consistently
uint64
. (1430) SamplingResult
now passed aTracestate
from the parentSpanContext
(#1432)- Moved gRPC driver for OTLP exporter to
exporters/otlp/otlpgrpc
. (#1420) - The
TraceContext
propagator now correctly propagatesTraceState
through theSpanContext
. (#1447) - Metric Push and Pull Controller components are combined into a single "basic" Controller:
WithExporter()
andStart()
to configure Push behaviorStart()
is optional; useCollect()
andForEach()
for Pull behaviorStart()
andStop()
accept Context. (#1378)
Removed
- Remove
errUninitializedSpan
as its only usage is now obsolete. (#1360) - Remove Metric export functionality related to quantiles and summary data points: this is not specified (#1412)
- Remove DDSketch metric aggregator; our intention is to re-introduce this as an option of the histogram aggregator after new OTLP histogram data types are released (#1412)
Fixed
BatchSpanProcessor.Shutdown()
will now shutdown underlyingexport.SpanExporter
. (#1443)
Raw changes made between v0.15.0 and v0.16.0
0aadfb27bc9e0d6fc0008001720aa5d466c06156 Prepare release v0.16.0 (#1464) 207587b6ab2d658ad39774d6a3cc7fa2f5c6c52b Metric histogram aggregator: Swap in SynchronizedMove to avoid allocations (#1435) c29c6fd1adf4f9c1faf8165fe326f507efd84425 Shutdown underlying span exporter while shutting down BatchSpanProcessor (#1443) dfece3d2b97fd38ac9182db978dbacd953e58f4a Combine the Push and Pull metric controllers (#1378) 74deeddd2608efffe53a2cd9163314af3015eacb Handle tracestate in TraceContext propagator (#1447) 49f699d65742e144cf19b5dd28f3d3a0891bf200 Remove Quantile aggregation, DDSketch aggregator; add Exact timestamps (#1412) 9c949411ce58356a4553732733e5a7144860d1e0 Rename internal/testing to internal/internaltest (#1449) 8d8098146547e28913abfb3f1b228a99050c5563 Move gRPC driver to a subpackage and add an HTTP driver (#1420) 9332af1b460196074d8aa00fb73b3568f6274a29 Bump github.com/golangci/golangci-lint in /internal/tools (#1445) 5ed96e92446d2d58d131e0672da613a84c16af7a Update exporters/otlp Readme.md (#1441) bc9cb5e3541f9f8eae6c9e713c3b97b47442f051 Switch CircleCI badge to GitHub Actions (#1440) 716ad08200c47997cddbf9457362351087248405 Remove CircleCI config (#1439) 0682db1e2312731a1c0461e9710a586693f229f3 Adding Security Workflows to GitHub Actions (2/2): gosec workflow (#1429) 11f732b85c7355794030979f8580861fe922fefe Adding Security Workflows to GitHub Actions (1/2): codeql workflow (#1428) 40f1c0039d394231e25031bee264e7dab7f479e2 Add Tracestate into the SamplingResult struct (#1432) db06c8d1cb3c1646098295f6007f6d6128a382c7 Flush metric events before shutdown in collector example (#1438) f6f458e1554dc5221c133155ae8acf64d5054663 Fix golint issue caused by typo in trace.go (#1436) fe9d1f7ec5265272db4cb6bdc959dbffbf22c56c Use uint64 Count consistently in metric aggregation (#1430) 3a337d0b79a568d13c3360e295814b1794df4e32 Bump github.com/golangci/golangci-lint in /internal/tools (#1433) 1e4c832189e9ace709423f9eca01a0fc3f8ec8a0 cleanup: drop the removed examples in gitignore (#1427) 5c9221cf5379c051249a743f6aee4c7115d6e4d7 Unify endpoint API that related to OTel exporter (#1401) 045c3ffeada5342e34df7759348c4813b3ebceec Build scripts: Replace mapfile with read loop for old bash versions (#1425) 2def8c3db0d988be141457010cae7ee77d370dd9 Add Versioning Documentation (#1388) 6bcd1085d318acc2c8760ee6969eec18035ca1d2 Bump github.com/itchyny/gojq from 0.11.2 to 0.12.0 in /internal/tools (#1424) 38e76efe997331ca747b7eff6c9bb656c6210c86 Add a split protocol driver for otlp exporter (#1418) 439cd31389fec380a160471feb55143df7b6c6df Add TraceState to SpanContext in API (#1340) 35215264dc5f67356cff035c29e168794333bcad Split connection management away from exporter (#1369) add9d933f6a32dd1d4e4fb9624bc68d62ad46ced Bump github.com/prometheus/client_golang from 1.8.0 to 1.9.0 in /exporters/metric/prometheus (#1414) 93d426a1a97fedf6663548baf4f1e2db300f0e30 Add @dashpole as a project Approver (#1410) 6fe20ef393446b9a15ceb45501475727fbb579cd Fix small typo (#1409) b22d0d70d9c0cc145614aa8c32ed38dec660ee69 Mention the getting started guide (#1406) 3fb80fb2df8e7b41c4c90390f7b6670edddbf0e6 Fix duplicate checkout action in GitHub workflow (#1407) 2051927b9bb80a36e507cb694d39478727f22b17 Correct CI workflow syntax (#1403) f11a86f7809cb38d46c4cff5934ea0f46af90d8e Fix typo in comment (#1402) bdf87a78965644e2e3444035eb13068972bb7d07 Migrate CircleCI ci.yml workflow to GitHub Actions (#1382) 4e59dd1f01b27cbc4b0ce4d4c4f9059c14806c66 Bump google.golang.org/grpc from 1.32.0 to 1.34.0 in /example/otel-collector (#1400) 83513f70f30ef52b466bb7f0f3aaf6a96e623906 Bump google.golang.org/api from 0.32.0 to 0.36.0 in /exporters/trace/jaeger (#1398) a354fc4152cea4a93cdfb8ecc12960b589f93fa6 Bump github.com/prometheus/client_golang from 1.7.1 to 1.8.0 in /exporters/metric/prometheus (#1397) 3528e42c931c66c3bc74cb3fa03fab4d88875a64 Bump google.golang.org/grpc from 1.32.0 to 1.34.0 in /exporters/otlp (#1396) af114baf6b5cad9c71adc01d277d173bc71e6d44 Call otel.Handle with non-nil errors (#1384) c3c4273eccd7bfab8fcaa44ccd6be6f9dd532efd Add RO/RW span interfaces (#1360)