OpenTelemetry - CNCF/opentelemetry-go: Release v0.19.0
Name: opentelemetry-go
Owner: OpenTelemetry - CNCF
Release: Release v0.19.0
Released: 2021-03-19
License: Apache-2.0
Release Assets:
Added
- Added
Marshaler
config option tootlphttp
to enable otlp over json or protobufs. (#1586) - A
ForceFlush
method to the"go.opentelemetry.io/otel/sdk/trace".TracerProvider
to flush all registeredSpanProcessor
s. (#1608) - Added
WithSampler
andWithSpanLimits
to tracer provider. (#1633, #1702) "go.opentelemetry.io/otel/trace".SpanContext
now has aremote
property, andIsRemote()
predicate, that is true when theSpanContext
has been extracted from remote context data. (#1701)- A
Valid
method to the"go.opentelemetry.io/otel/attribute".KeyValue
type. (#1703)
Changed
trace.SpanContext
is now immutable and has no exported fields. (#1573)trace.NewSpanContext()
can be used in conjunction with thetrace.SpanContextConfig
struct to initialize a newSpanContext
where all values are known.
- Update the
ForceFlush
method signature to the"go.opentelemetry.io/otel/sdk/trace".SpanProcessor
to accept acontext.Context
and return an error. (#1608) - Update the
Shutdown
method to the"go.opentelemetry.io/otel/sdk/trace".TracerProvider
return an error on shutdown failure. (#1608) - The SimpleSpanProcessor will now shut down the enclosed
SpanExporter
and gracefully ignore subsequent calls toOnEnd
afterShutdown
is called. (#1612) "go.opentelemetry.io/sdk/metric/controller.basic".WithPusher
is replaced withWithExporter
to provide consistent naming across project. (#1656)- Added non-empty string check for trace
Attribute
keys. (#1659) - Add
description
to SpanStatus only whenStatusCode
is set to error. (#1662) - Jaeger exporter falls back to
resource.Default
'sservice.name
if the exported Span does not have one. (#1673) - Jaeger exporter populates Jaeger's Span Process from Resource. (#1673)
- Renamed the
LabelSet
method of"go.opentelemetry.io/otel/sdk/resource".Resource
toSet
. (#1692) - Changed
WithSDK
toWithSDKOptions
to accept variadic arguments ofTracerProviderOption
type ingo.opentelemetry.io/otel/exporters/trace/jaeger
package. (#1693) - Changed
WithSDK
toWithSDKOptions
to accept variadic arguments ofTracerProviderOption
type ingo.opentelemetry.io/otel/exporters/trace/zipkin
package. (#1693) "go.opentelemetry.io/otel/sdk/resource".NewWithAttributes
will now drop any invalid attributes passed. (#1703)"go.opentelemetry.io/otel/sdk/resource".StringDetector
will now error if the produced attribute is invalid. (#1703)
Removed
- Removed
serviceName
parameter from Zipkin exporter and uses resource instead. (#1549) - Removed
WithConfig
from tracer provider to avoid overriding configuration. (#1633) - Removed the exported
SimpleSpanProcessor
andBatchSpanProcessor
structs. These are now returned as a SpanProcessor interface from their respective constructors. (#1638) - Removed
WithRecord()
fromtrace.SpanOption
when creating a span. (#1660) - Removed setting status to
Error
while recording an error as a span event inRecordError
. (#1663) - Removed
jaeger.WithProcess
configuration option. (#1673) - Removed
ApplyConfig
method from"go.opentelemetry.io/otel/sdk/trace".TracerProvider
and the now unneededConfig
struct. (#1693)
Fixed
- Jaeger Exporter: Ensure mapping between OTEL and Jaeger span data complies with the specification. (#1626)
SamplingResult.TraceState
is correctly propagated to a newly created span'sSpanContext
. (#1655)- The
otel-collector
example now correctly flushes metric events prior to shutting down the exporter. (#1678) - Do not set span status message in
SpanStatusFromHTTPStatusCode
if it can be inferred fromhttp.status_code
. (#1681) - Synchronization issues in global trace delegate implementation. (#1686)
- Reduced excess memory usage by global
TracerProvider
. (#1687)
Raw changes made between v0.18.0 and v0.19.0
2b4fa9681bd0c69574aaa879039382002b220204 (HEAD -> main, tag: v0.19.0, tag: trace/v0.19.0, tag: sdk/v0.19.0, tag: sdk/metric/v0.19.0, tag: sdk/export/metric/v0.19.0, tag: oteltest/v0.19.0, tag: metric/v0.19.0, tag: exporters/trace/zipkin/v0.19.0, tag: exporters/trace/jaeger/v0.19.0, tag: exporters/stdout/v0.19.0, tag: exporters/otlp/v0.19.0, tag: exporters/metric/prometheus/v0.19.0, tag: example/zipkin/v0.19.0, tag: example/prometheus/v0.19.0, tag: example/prom-collector/v0.19.0, tag: example/otel-collector/v0.19.0, tag: example/opencensus/v0.19.0, tag: example/namedtracer/v0.19.0, tag: example/jaeger/v0.19.0, tag: bridge/opentracing/v0.19.0, tag: bridge/opencensus/v0.19.0, upstream/main, origin/main) Release v0.19.0 (#1710) 4beb70416e1272c578edfe1d5f88a3a2236da178 sdk/trace: removing ApplyConfig and Config (#1693) 1d42be1601e2d9bbd1101780759520e3f3960a29 Rename WithDefaultSampler TracerProvider option to WithSampler and update docs (#1702) 860d5d86e7ace12bf2b2ca8e437d2d4fc68a6913 Add flag to determine whether SpanContext is remote (#1701) 0fe65e6bd2b3fad00289427e0bac1974086d4326 Comply with OpenTelemetry attributes specification (#1703) 888843519dae308f165d1d20c095bb6352baeb52 Bump google.golang.org/api from 0.40.0 to 0.41.0 in /exporters/trace/jaeger (#1700) 345f264a137ed7162c30d14dd4739b5b72f76537 (global-docs) breaking(zipkin): removes servicName from zipkin exporter. (#1697) 62cbf0f240112813105d7056506496b59740e0c2 Populate Jaeger's Span.Process from Resource (#1673) 28eaaa9a919d03227856d83e2149b85f78d57775 Add a test to prove the Tracer is safe for concurrent calls (#1665) 8b1be11a549eefb6efeda2f940cbda70b3c3d08d Rename resource pkg label vars and methods (#1692) a1539d44857a29ea43c9da9bc95e0229f79c2663 OpenCensus metric exporter bridge (#1444) 77aa218d4d8fa2ebda14a7a0b58db22fd20398b7 Fix issue #1490, apply same logic as in the SDK (#1687) 9d3416cc915ba4bfe0e7328da24bb6a3000549f9 Fix synchronization issues in global trace delegate implementation (#1686) 58f69f091e61db2ca7a8ca31d518c5de02411184 Span status from HTTP code: Do not set status message if it can be inferred (#1681) 9c305bde9c27bc2252f13ca21fc869918601b124 Flush metric events prior to shutdown in OTLP example (#1678) 66b1135af4afdd1740d1c0738b9e2c5e6fe4e937 Fix CHANGELOG (#1680) 90bd4ab50c6e85743f2b8f3a1768a5afceeb1fc0 Update employer information for maintainers (#1683) 368419133859dcd7a97a881ce57082d1c0a3fbfe Remove WithRecord() option from trace.SpanOption when starting a span (#1660) 65c7de206921411cc4220c107bcad893a12033c5 Remove trace prefix from NoOp src files. (#1679) e88a091a72e4cf4c3f3a6d6e4b440d757bd3ecac Make SpanContext Immutable (#1573) d75e268053a7a3fc19394cb48a98d22fd15eb36a Avoid overriding configuration of tracer provider (#1633) 2b4d5ac3293eee30536754a5d5efec5124433ded Bump github.com/golangci/golangci-lint in /internal/tools (#1671) 150b868d02c8b9844f3db446d91267ad4e75beb9 Bump github.com/google/go-cmp from 0.5.4 to 0.5.5 (#1667) 76aa924e75b22f95bb189337fb9d46b64bc66c53 Fix the examples target info messaging (#1676) a3aa9fdab061197aae67ac4a2c57712cfe5ef38e Bump github.com/itchyny/gojq from 0.12.1 to 0.12.2 in /internal/tools (#1672) a5edd79e312675f0cccf75aa324495205c95fe73 Removed setting error status while recording err as span event (#1663) e9814758278b57ef5bd939aa6fcb6a1a10772db0 chore(zipkin): improves zipkin example to not to depend on timeouts. (#1566) 3dc91f2d76146ac6a08012b8c451cc00e59ef481 Add ForceFlush method to TracerProvider (#1608) bd0bba43b5a1edb1da059760462fa15d81ff7cd9 exporter: swap pusher for exporter (#1656) 569048591c2661808ebddbd953c41c6808289454 Update the SimpleSpanProcessor (#1612) a7f7abac654d0c3fc93732c7f47c2bef05976eb4 SpanStatus description set only when status code is set to Error (#1662) 05252f40d807999388813afb2802918a38cc0e8a Jaeger Exporter: Fix minor mapping discrepancies (#1626) 238e7c61ba9e5b2ca3f66f20a5db5711e062f36e Add non-empty string check for attribute keys (#1659) e9b9aca8a6dc8cd0b13ffea4f7a26186f4b316fd Add tests for propagation of Sampler Tracestate changes (#1655) 875a25835fcfcddd61e94d87b1a0b14db4d5a0e5 Add docs on when reviews should be cleared (#1556) 7153ef2dc294fbfebaafd355ab98050b4181ff1f Add HTTP/JSON to the otlp exporter (#1586) 62e2a0f766d001e48867866ba7293565b9caa0c0 Unexport the simple and batch SpanProcessors (#1638) 992837f195eacbd84f0596bfaa79470dba7408e5 Add TracerProvider tests to oteltest harness (#1607)