-
Notifications
You must be signed in to change notification settings - Fork 725
Release v1.39.0 #8261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v1.39.0 #8261
Conversation
The log.Processor now always contains the `Enabled` method. There is no need, or way, to test when a processor is passed that does not have this method.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8261 +/- ##
=====================================
Coverage 82.2% 82.3%
=====================================
Files 195 195
Lines 13796 13800 +4
=====================================
+ Hits 11347 11359 +12
+ Misses 2041 2033 -8
Partials 408 408
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the OpenTelemetry Contrib repository to version 1.39.0, bumping version numbers across all modules and updating dependencies to use OpenTelemetry v1.39.0. Beyond routine version updates, the PR includes several functional changes to improve code quality and fix issues.
Key Changes:
- Version bumps from 1.38.0 to 1.39.0 for stable modules, and corresponding increments for experimental modules
- Dependency updates to OpenTelemetry v1.39.0 and related packages
- Functional improvements in processors/minsev, processors/baggagecopy, and exporters/autoexport
- Addition of github.com/cespare/xxhash/v2 v2.3.0 as an indirect dependency across modules
Reviewed changes
Copilot reviewed 91 out of 147 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| versions.yaml | Updates module set versions: stable-v1 to v1.39.0, stable-v2 to v2.1.0, experimental modules to v0.64.0, v0.33.0, v0.19.0, v0.14.0, v0.12.0, and v0.11.0 |
| version.go, zpages/version.go, tools/version.go, etc. | Version string updates to 1.39.0 or corresponding experimental versions |
| go.mod files | Updates OpenTelemetry dependencies from 1.38.0 to 1.39.0, adds xxhash/v2 v2.3.0 |
| go.sum files | Updates checksums for new dependency versions |
| processors/minsev/*.go | Refactors LogProcessor to use wrapped field instead of filter, removes FilterProcessor interface dependency |
| processors/baggagecopy/log_processor*.go | Adds Enabled method implementation to satisfy Processor interface |
| exporters/autoexport/metrics*.go | Fixes Prometheus producer registration to avoid duplicates, improves test logging and assertions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Overview
Added
ParseYAMLingo.opentelemetry.io/contrib/otelconfnow supports environment variables substitution in the format${[env:]VAR_NAME[:-defaultvalue]}. (otelconf: add env var substitution in ParseYAML #6215)http.routemetric attribute togo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (otelmux: Adding http.route attribute to metrics #7966)db.client.operation.durationmetric forgo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo. (support mongo-driver's db metrics #7983)WithSpanNameFormatteroption togo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo. (feat(mongo): add SpanNameResolver for customizable span naming #7986)go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechoto specify the behavior when an error occurs. (fix(otelecho): add config option to skip global error handler call #8025)go.opentelemetry.io/contrib/otelconfto include the v1.0.0-rc2 release candidate of schema which includes backwards incompatible changes. (otelconf: add support for 1.0.0 release candidate #8026)go.opentelemetry.io/contrib/otelconf. (otelconf: introduce support for v1.0.0-rc.2 #8031)CardinalityLimitsandSpanLimitsto v1.0.0 model ingo.opentelemetry.io/contrib/otelconf. (otelconf: add unmarshaling and validation for span & cardinality limits #8043)BatchLogRecordProcessor,BatchSpanProcessor, andPeriodicMetricReaderto v1.0.0 model ingo.opentelemetry.io/contrib/otelconf. ( otelconf: add unmarshaling / validation for batch processors #8049)TextMapPropagatorto v1.0.0 model ingo.opentelemetry.io/contrib/otelconf. (otelconf: unmarshal TextMapPropagator #8052)jaeger.sampler.type/jaeger.sampler.paramattributes for adaptive sampling support and optionWithAttributesDisabledingo.opentelemetry.io/contrib/samplers/jaegerremote. (feat: add sampling attributes for jaeger remote sampler #8073)OTEL_EXPERIMENTAL_CONFIG_FILEvia theNewSDKfunction ingo.opentelemetry.io/contrib/otelconf(otelconf: add support for OTEL_EXPERIMENTAL_CONFIG_FILE #8106)OTLPHttpExporter,OTLPGrpcExporter,OTLPGrpcMetricExporterandOTLPHttpMetricExporterto v1.0.0 model ingo.opentelemetry.io/contrib/otelconf. (otelconf: add unmarshalers for otlp exporters #8112)AttributeType,AttributeNameValue,SimpleSpanProcessor,SimpleLogRecordProcessor,ZipkinSpanExporter,NameStringValuePair,InstrumentType,ExperimentalPeerInstrumentationServiceMappingElem,ExporterDefaultHistogramAggregation,PullMetricReaderto v1.0.0 model ingo.opentelemetry.io/contrib/otelconf. (otelconf: add remaining unmarshaling code from initial PR #8127)container,host,processresource detectors ingo.opentelemetry.io/contrib/otelconf. (otelconf: add support for parsing resource detectors #8180)Changed
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (otelgrpc: optimize stats handler InPayload and OutPayload #8035)ReadEventsandWriteEventsconstants ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpso they can be used inWithMessageEvents. (otelhttp: export Event type for WithMessageEvents #8153)OTEL_SEMCONV_STABILITY_OPT_INto emit the v1.37.0 semantic conventions by default ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo. Use the environment variableOTEL_SEMCONV_STABILITY_OPT_INto configure duplication with old semantic conventions if needed (i.e.OTEL_SEMCONV_STABILITY_OPT_IN="database/dup"). (otelmongo: default to stable semconv #8230)Deprecated
WithRouteTagingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpis deprecated. The route is already added automatically for spans. For metrics, the alternative is to use theWithMetricAttributesFnoption. (otelhttp: deprecate the WithRouteTag option #8117)WithPublicEndpointingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpis deprecated. UseWithPublicEndpointFninstead. (otelhttp: deprecate WithPublicEndpoint in favor of WithPublicEndpointFn (#8133) #8152)DefaultClient,Get,Head,Post, andPostFormingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpare deprecated. Use a custom*http.Clientwithotelhttp.NewTransport(http.DefaultTransport)instead. (otelhttp: Deprecate DefaultClient #8140, Deprecate otelhttp's Get/Post/Head/PostForm methods #8201)Removed
go.opentelemetry.io/contrib/detectors/aws/ec2module, please usego.opentelemetry.io/contrib/detectors/aws/ec2/v2instead. (chore: remove deprecated EC2 detector #7841)ExtractandInjectfunctions fromgo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (chore: remove the deprecated Inject and Extract from otelgrpc #7952)