v1.4.0
版本发布时间: 2022-02-12 00:56:52
open-telemetry/opentelemetry-go最新发布版本:v1.30.0(2024-09-11 05:35:18)
Added
- Use
OTEL_EXPORTER_ZIPKIN_ENDPOINT
environment variable to specify zipkin collector endpoint. (#2490) - Log the configuration of
TracerProvider
s, andTracer
s for debugging. To enable use a logger with Verbosity (V level)>=1
. (#2500) - Added support to configure the batch span-processor with environment variables.
The following environment variables are used. (#2515)
-
OTEL_BSP_SCHEDULE_DELAY
-
OTEL_BSP_EXPORT_TIMEOUT
-
OTEL_BSP_MAX_QUEUE_SIZE
. -
OTEL_BSP_MAX_EXPORT_BATCH_SIZE
-
Changed
- Zipkin exporter exports
Resource
attributes in theTags
field. (#2589)
Deprecated
- Deprecate module the
go.opentelemetry.io/otel/sdk/export/metric
. Use thego.opentelemetry.io/otel/sdk/metric
module instead. (#2382) - Deprecate
"go.opentelemetry.io/otel/sdk/metric".AtomicFieldOffsets
. (#2445)
Fixed
- Fixed the instrument kind for noop async instruments to correctly report an implementation. (#2461)
- Fix UDP packets overflowing with Jaeger payloads. (#2489, #2512)
- Change the
otlpmetric.Client
interface'sUploadMetrics
method to accept a singleResourceMetrics
instead of a slice of them. (#2491) - Specify explicit buckets in Prometheus example, fixing issue where example only has
+inf
bucket. (#2419, #2493) - W3C baggage will now decode urlescaped values. (#2529)
- Baggage members are now only validated once, when calling
NewMember
and not also when adding it to the baggage itself. (#2522) - The order attributes are dropped from spans in the
go.opentelemetry.io/otel/sdk/trace
package when capacity is reached is fixed to be in compliance with the OpenTelemetry specification. Instead of dropping the least-recently-used attribute, the last added attribute is dropped. This drop order still only applies to attributes with unique keys not already contained in the span. If an attribute is added with a key already contained in the span, that attribute is updated to the new value being added. (#2576)
Removed
- Updated
go.opentelemetry.io/proto/otlp
fromv0.11.0
tov0.12.0
. This version removes a number of deprecated methods. (#2546)