v1.1.0
版本发布时间: 2021-10-28 03:25:49
open-telemetry/opentelemetry-go最新发布版本:v1.30.0(2024-09-11 05:35:18)
Added
- Add the
"go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc".WithGRPCConn
option so the exporter can reuse an existing gRPC connection. (#2002) - Add the
go.opentelemetry.io/otel/semconv/v1.7.0
package. The package contains semantic conventions from thev1.7.0
version of the OpenTelemetry specification. (#2320) - Add the
go.opentelemetry.io/otel/semconv/v1.6.1
package. The package contains semantic conventions from thev1.6.1
version of the OpenTelemetry specification. (#2321) - Add the
go.opentelemetry.io/otel/semconv/v1.5.0
package. The package contains semantic conventions from thev1.5.0
version of the OpenTelemetry specification. (#2322)- When upgrading from the
semconv/v1.4.0
package note the following name changes:-
K8SReplicasetUIDKey
->K8SReplicaSetUIDKey
-
K8SReplicasetNameKey
->K8SReplicaSetNameKey
-
K8SStatefulsetUIDKey
->K8SStatefulSetUIDKey
-
k8SStatefulsetNameKey
->K8SStatefulSetNameKey
-
K8SDaemonsetUIDKey
->K8SDaemonSetUIDKey
-
K8SDaemonsetNameKey
->K8SDaemonSetNameKey
-
- When upgrading from the
Changed
- Links added to a span will be dropped by the SDK if they contain an invalid span context (#2275).
Fixed
- The
"go.opentelemetry.io/otel/semconv/v1.4.0".HTTPServerAttributesFromHTTPRequest
now correctly only sets the HTTP client IP attribute even if the connection was routed with proxies and there are multiple addresses in theX-Forwarded-For
header. (#2282, #2284) - The
"go.opentelemetry.io/otel/semconv/v1.4.0".NetAttributesFromHTTPRequest
function correctly handles IPv6 addresses as IP addresses and sets the correct net peer IP instead of the net peer hostname attribute. (#2283, #2285) - The simple span processor shutdown method deterministically returns the exporter error status if it simultaneously finishes when the deadline is reached. (#2290, #2289)