Releases: open-telemetry/opentelemetry-swift
Releases · open-telemetry/opentelemetry-swift
1.1.5
General
- Fixes compilation with swift 5.7 by @nachoBonafonte in #308
- Commented some flaky tests that failed randomly by @bryce-b in #317
Spans
- Fixes a thread race condition when exporting Span events by @nachoBonafonte in #319
OtlpTraceExporter
- Adds logger to OtlpTraceExporter init so GRPC calls can be logged. by @BennettSmith in #309
URLSessionInstrumentation
- Fixes a message about API misuse by @BennettSmith in #307
Full Changelog: 1.1.4...1.1.5
1.1.4
1.1.3
OpenTelemetryProtocol (OTLP) Exporter
- update OTLP Exporter and proto files to match the changes in the metrics specifications. It now needs a collector version >= 0.50.0 #301
Persistence Exporter
- Simplified configuration of Persistence exporter and reduced number of used queues #288
OTLP Exporter Sample
- Improved documentation about setting service name #303
1.1.2
General
OpenTelemetryContextProvider
now works correctly foractiveSpan
andactiveBaggage
when usingConcurrency
framework andasync
/await
code. Limited to using XCode 13.2 and up, any version lower than that can fail when using newConcurrency
features.
Datadog Exporter
- Add us5 to list of possible endpoints
1.1.1
General
- Improve
SemanticConvention
generation template #277
Traces
- Make
SpanData
conform toCodable
to support persisting #279 - Fix
startTime
for spans, it was always using the SpanBuilder creation time as the start time #282
Metrics
- Make
Metric
conform toCodable
to support persisting #279
Resources
- Added extra parameters to resource attributes, as per the updated spec #276
- Fixed bug where enum values were not public, and thus could not be used by clients #276
New Persistence Exporter
- The Persistence Exporter is not an actual exporter by itself, but an exporter decorator. It decorates a given exporter by persisting the exported data to the disk first, and then proceeds to forward it to the decorated exporter. More information and examples in the included README. #280
1.1.0
Package
- Removed duplicated lib products, use non
lib
prefixed ones. Since 1.0.3 they have been exactly equal. #271 (Breaking)
General
- Provide a way to register the different propagators other than W3C. #261
- Add a Zipkin baggage propagator #264
- Update SemanticAttributes and ResourceAttributes to version 1.7.0 #272 (Breaking)
Traces
- Removed
textFormat
member fromTracerSdk
, users of this propagators must use the global registered ones instead:OpenTelemetry.instance.propagators.textMapPropagator
#261 (Breaking) SimpleSpanProcessor
now exports the spans asynchronously, and synchronises only on shutdown or flush. For production environments BatchSpanProcessor is still preferred. #263- Implement ForceFlush spec on Span processors adding a timeout parameter. #273
Resources
- Fix environment variable for specifying resource attribute as it was not following the spec. Changed to
OTEL_RESOURCE_ATTRIBUTES
fromOTEL_RESOURCE_ATTRIBUTES_ENV
#255 (Breaking) EnvironmentContextPropagator
now usesTRACEPARENT
andTRACESTATE
instead ofOTEL_TRACE_PARENT
andOTEL_TRACE_STATE
for compatibility with other tools #255 (Breaking)
URLSession Instrumentation
- Avoid potential interlocking in network instrumentation #263
- Fix concurrent network requests could fail to correctly create spans #270
Zipkin Exporter
1.0.7
1.0.6
Package
- Fix: Xcode 13.0 building for macOS #247
- Update swift-atomics minimum version to 1.0.0 #240
- Remove experimental name from targets based on Metrics
General
- Fix: Resources were not properly updated from environment variables #242
Metrics
- New: Add support for Histogram metrics. Currently only OTLP exporter is supported. #244
Traces
- Added a method to SpanBuilder to start span directly as active. #245
Datadog Exporter
- Allow disabling payload compression
1.0.5 (beta)
Package
- Remove some third party dependencies that are now included with the library code #236
General
- Add support for Swift async/await and structured concurrency #230
- Fix support for
macCatalyst
target environment that was broken from two last releases #226
Zipkin exporter
- Fix Zipkin exporter's treatment of status to follow the spec #232
Datadog Exporter
- Updated to intake v2, it support both apiKey and clientToken for traces and logs #227
URLSessionInstrumentation
- Fix creating duplicated spans with iOS < 13 #231
- Delegate calls were not being properly called when running in iOS < 13 #231
- Payload was not being recorded with some code paths #231
- URLRequest are not modified if tracing headers are not injected #231
- Fix a thread race condition #235
OpenTelemetryProtocol (OTLP) Sample
- New sample code that uses the OTLP Exporter to send traces and metrics to otel-collector which is configured to export traces to zipkin and metrics to prometheus respectively. #228
1.0.4 (beta)
URLSessionInstrumentation
- Fix appleTV linking when using URLSession instrumentation.