OpenTelemetry - CNCF/opentelemetry-swift: Release 1.0.3
Name: opentelemetry-swift
Owner: OpenTelemetry - CNCF
Release: 1.0.3 (beta)
Released: 2021-08-13
License: Apache-2.0
Release Assets:
Package
- All package products are changed to be distributed in
.static
format, having the dynamic version distributed by default has been confusing for users. lib... named packages will be deleted in the future.
General
- Add a
willExportCallback
toBatchSpanProcessor
, it will be called just before export action. Allows modifying spans (e.g. saving export timestamp in an attribute) or deleting them before exporting #207 - Fix
MetricProcessorSDK
was not cleaning already collected metrics, so were being reported repeatedly #206 - Deprecate
UngroupedBatcher
metric processor, it works likeMetricProcessorSDK
but is not concurrently safe #206 - Added
TracerProviderBuilder
andMeterProviderBuilder
#213
OpenTelemetryProtocol (OTLP) Exporter
- Add aggregationTemporality to OTEL metrics exporter #203
- Created
OtlpConfiguration
for OTLP exporters, allowing configuring headers and timeouts. SupportsOTEL_EXPORTER_OTLP_HEADERS
#213
URLSessionInstrumentation
- Adds new NetworkStatus instrumentation to iOS network calls #217
- Changed configuration callback
shouldInjectTracingHeaders
to not accept modifying the URLRequest, because the callback is called more than once in some situations. Use newly createdinjectCustomHeaders
callback for modification of the request or headers.
NetworkStatus
- New instrumentation only for iOS, it captures cellular or network status #217
SignPost Integration
- Add support also for iOS and tvOS #216
Prometheus Sample
- Improve documentation on local configuration for Prometheus server #211