Release v1.38.0#7271
Merged
MrAlias merged 7 commits intoopen-telemetry:mainfrom Aug 29, 2025
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7271 +/- ##
=====================================
Coverage 82.9% 82.9%
=====================================
Files 265 265
Lines 24894 24894
=====================================
+ Hits 20643 20644 +1
+ Misses 3876 3875 -1
Partials 375 375
🚀 New features to boost your workflow:
|
61c0512 to
57167c9
Compare
XSAM
reviewed
Aug 29, 2025
XSAM
approved these changes
Aug 29, 2025
pellared
approved these changes
Aug 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This release is the last to support [Go 1.23].
The next release will require at least [Go 1.24].
Added
go.opentelemetry.io/otel/exporters/prometheus. (Add support for native histogram exemplars #6772)go.opentelmetry.io/otel/semconv/v1.34.0package. (Render semconv template attributes #6939)ContainerLabelDBOperationParameterDBSystemParameterHTTPRequestHeaderHTTPResponseHeaderK8SCronJobAnnotationK8SCronJobLabelK8SDaemonSetAnnotationK8SDaemonSetLabelK8SDeploymentAnnotationK8SDeploymentLabelK8SJobAnnotationK8SJobLabelK8SNamespaceAnnotationK8SNamespaceLabelK8SNodeAnnotationK8SNodeLabelK8SPodAnnotationK8SPodLabelK8SReplicaSetAnnotationK8SReplicaSetLabelK8SStatefulSetAnnotationK8SStatefulSetLabelProcessEnvironmentVariableRPCConnectRPCRequestMetadataRPCConnectRPCResponseMetadataRPCGRPCRequestMetadataRPCGRPCResponseMetadataErrorTypeattribute helper function to thego.opentelmetry.io/otel/semconv/v1.34.0package. (semconv: add ErrorType attribute function #6962)WithAllowKeyDuplicationingo.opentelemetry.io/otel/sdk/logwhich can be used to disable deduplication for log records. (sdk/log: Add WithAllowKeyDuplication logger provider option #6968)WithCardinalityLimitoption to configure the cardinality limit ingo.opentelemetry.io/otel/sdk/metric. (sdk/metric: Add WithCardinalityLimit option #6996, sdk/metric: do not document default cardinality limit #7065, sdk/metric: Apply Cardinality Limits to Aggregations #7081, sdk/metric: Add Unit Tests for Cardinality Limits #7164, sdk/metric: package example includes Cardinality Limits #7165, sdk/metric: Add Documentation for Cardinality Limits #7179)Clonemethod toRecordingo.opentelemetry.io/otel/logthat returns a copy of the record with no shared state. ( log: Add Record.Clone #7001)go.opentelemetry.io/otel/sdk/trace. Check thego.opentelemetry.io/otel/sdk/trace/internal/xpackage documentation for more information. (sdk/trace: self-observability: span metrics #7027, sdk/trace: self-observability: batch span processor metrics #6393, Propagate context to self-observability measurements insdk/trace#7209)go.opentelemetry.io/otel/semconv/v1.36.0package. The package contains semantic conventions from thev1.36.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.34.0.(Generatesemconv/v1.36.0#7032, Change generated semconv sdk queue metrics to observable #7041)WithTranslationStrategyoption ingo.opentelemetry.io/otel/exporters/prometheus. The current default translation strategy when UTF-8 mode is enabled isNoUTF8EscapingWithSuffixes, but a future release will change the default strategy toUnderscoreEscapingWithSuffixesfor compliance with the specification. ( prometheus: Add support for setting Translation Strategy config option #7111)go.opentelemetry.io/otel/sdk/log. Check thego.opentelemetry.io/otel/sdk/log/internal/xpackage documentation for more information. (sdk/log: self-observability: log created metric #7121)go.opentelemetry.io/otel/exporters/stdout/stdouttrace. Check thego.opentelemetry.io/otel/exporters/stdout/stdouttrace/internal/xpackage documentation for more information. (feat(stdouttrace): add experimental self-observability metrics #7133)go.opentelemetry.io/otel/semconv/v1.37.0package. The package contains semantic conventions from thev1.37.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.36.0.(Generate thesemconv/v1.37.0packages #7254)Changed
TraceIDFromHexandSpanIDFromHexingo.opentelemetry.io/otel/sdk/trace. (trace: optimize id parsing and string functions #6791)AssertEqualingo.opentelemetry.io/otel/log/logtestto acceptTestingTin order to support benchmarks and fuzz tests. (log/logtest: change AssertEqual to accept TestingT for benchmark support #6908)DefaultExemplarReservoirProviderSelectoringo.opentelemetry.io/otel/sdk/metricto useruntime.GOMAXPROCS(0)instead ofruntime.NumCPU()for theFixedSizeReservoirProviderdefault size. (sdk/metric: use runtime.GOMAXPROCS(0) instead of runtime.NumCPU() in DefaultExemplarReservoirProviderSelector for the FixedSizeReservoirProvider default size #7094)Fixed
SetBodymethod ofRecordingo.opentelemetry.io/otel/sdk/lognow deduplicates key-value collections (log.Valueoflog.KindMapfromgo.opentelemetry.io/otel/log). (sdk/log: Deduplicate key-value collections in Record.SetBody #7002)go.opentelemetry.io/otel/exporters/prometheusto not append a suffix if it's already present in metric name. (fix(deps): update github.com/prometheus/otlptranslator digest to ab8d56d #7088)go.opentelemetry.io/otel/exporters/stdout/stdouttraceself-observability component type and name. (Fix component name for stdouttrace #7195)go.opentelemetry.io/otel/exporters/stdout/stdouttrace. (Handle partial export counts instdouttraceobservability #7199)Deprecated
WithoutUnitsandWithoutCounterSuffixesoptions, preferringWithTranslationStrategyinstead. ( prometheus: Add support for setting Translation Strategy config option #7111)OTEL_GO_X_CARDINALITY_LIMITenvironment variable ingo.opentelemetry.io/otel/sdk/metric. UseWithCardinalityLimitoption instead. (sdk/metric: Deprecate thesdk/metric/xFeature Supporting Cardinality Limits #7166)[Go 1.25]: https://go.dev/doc/go1.25
[Go 1.24]: https://go.dev/doc/go1.24