Skip to content
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

chore(deps): update opentelemetry-go monorepo to v0.10.0 #672

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 18, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.0.0-20240518090000-14441aefdf88 -> v0.10.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.3.0 -> v0.10.0 age adoption passing confidence
go.opentelemetry.io/otel/log v0.3.0 -> v0.10.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk/log v0.3.0 -> v0.10.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

open-telemetry/opentelemetry-go (go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc)

v0.10.0

Compare Source

This release migrates the default OpenTelemetry SDK into its own Go module, decoupling the SDK from the API and reducing dependencies for instrumentation packages.

Added
  • The Zipkin exporter now has NewExportPipeline and InstallNewPipeline constructor functions to match the common pattern.
    These function build a new exporter with default SDK options and register the exporter with the global package respectively. (#​944)
  • Add propagator option for gRPC instrumentation. (#​986)
  • The testtrace package now tracks the trace.SpanKind for each span. (#​987)
Changed
  • Replace the RegisterGlobal Option in the Jaeger exporter with an InstallNewPipeline constructor function.
    This matches the other exporter constructor patterns and will register a new exporter after building it with default configuration. (#​944)
  • The trace (go.opentelemetry.io/otel/exporters/trace/stdout) and metric (go.opentelemetry.io/otel/exporters/metric/stdout) stdout exporters are now merged into a single exporter at go.opentelemetry.io/otel/exporters/stdout.
    This new exporter was made into its own Go module to follow the pattern of all exporters and decouple it from the go.opentelemetry.io/otel module. (#​956, #​963)
  • Move the go.opentelemetry.io/otel/exporters/test test package to go.opentelemetry.io/otel/sdk/export/metric/metrictest. (#​962)
  • The go.opentelemetry.io/otel/api/kv/value package was merged into the parent go.opentelemetry.io/otel/api/kv package. (#​968)
    • value.Bool was replaced with kv.BoolValue.
    • value.Int64 was replaced with kv.Int64Value.
    • value.Uint64 was replaced with kv.Uint64Value.
    • value.Float64 was replaced with kv.Float64Value.
    • value.Int32 was replaced with kv.Int32Value.
    • value.Uint32 was replaced with kv.Uint32Value.
    • value.Float32 was replaced with kv.Float32Value.
    • value.String was replaced with kv.StringValue.
    • value.Int was replaced with kv.IntValue.
    • value.Uint was replaced with kv.UintValue.
    • value.Array was replaced with kv.ArrayValue.
  • Rename Infer to Any in the go.opentelemetry.io/otel/api/kv package. (#​972)
  • Rename go.opentelemetry.io/otel/sdk/metric/aggregator/test package to go.opentelemetry.io/otel/sdk/metric/aggregator/aggregatortest. (#​980)
  • Make the SDK into its own Go module called go.opentelemetry.io/otel/sdk. (#​985)
  • Changed the default trace Sampler from AlwaysOn to ParentOrElse(AlwaysOn). (#​989)
Removed
  • The IndexedAttribute function from the go.opentelemetry.io/otel/api/label package was removed in favor of IndexedLabel which it was synonymous with. (#​970)
Fixed
  • Bump github.com/golangci/golangci-lint from 1.28.3 to 1.29.0 in /tools. (#​953)
  • Bump github.com/google/go-cmp from 0.5.0 to 0.5.1. (#​957)
  • Use global.Handle for span export errors in the OTLP exporter. (#​946)
  • Correct Go language formatting in the README documentation. (#​961)
  • Remove default SDK dependencies from the go.opentelemetry.io/otel/api package. (#​977)
  • Remove default SDK dependencies from the go.opentelemetry.io/otel/instrumentation package. (#​983)
  • Move documented examples for go.opentelemetry.io/otel/instrumentation/grpctrace interceptors into Go example tests. (#​984)

Raw changes made between v0.9.0 and v0.10.0

fd61d2e (HEAD -> master, tag: v0.10.0, tag: sdk/v0.10.0, tag: exporters/trace/zipkin/v0.10.0, tag: exporters/trace/jaeger/v0.10.0, tag: exporters/stdout/v0.10.0, tag: exporters/otlp/v0.10.0, tag: exporters/metric/prometheus/v0.10.0, tag: example/zipkin/v0.10.0, tag: example/prometheus/v0.10.0, tag: example/otel-collector/v0.10.0, tag: example/namedtracer/v0.10.0, tag: example/jaeger/v0.10.0, tag: example/http/v0.10.0, tag: example/grpc/v0.10.0, tag: example/basic/v0.10.0, upstream/master, origin/master, origin/HEAD) Release v0.10.0 (#​990)
1299210 Change default Sampler to ParentOrElse(AlwaysOn) (#​989)
fa883d4 testtrace.Span tracks and returns its SpanKind. (#​987)
26e85e1 Add propagator option for gRPC instrumentation (#​986)
8fbaa9d Make the SDK into its own Go module (#​985)
d6bf2fb Decouple instrumentation from SDK (#​983)
42c2a86 Move grpctrace examples from comment to code (#​984)
e06c9da Rename aggregator/test to aggregatortest (#​980)
67a2c23 Update Changelog (#​982)
2833212 Decouple API from SDK (#​977)
7f1dc4a Update Contributing style guide section (#​971)
6917167 Rename kv.Infer to kv.Any (#​969) (#​972)
c9c8137 Remove IndexedAttribute from api/label (#​970)
3b01a85 Make the stdout exporter a package (#​963)
c6611f4 Move export test package to SDK (#​962)
d99ac09 Remove sub-package value from kv (#​968)
fd54b6c paivagustavo to emeritus for now (#​960)
7918070 README: fixup spaces on code example (#​961)
452256c Unify trace and metric stdout exporters (#​956)
f31d8ec Unify trace and metric exporter helpers (#​944)
c5d77d2 Bump github.com/google/go-cmp from 0.5.0 to 0.5.1 (#​957)
c8b657e use global handler for span export err in otlp (#​946)
f6b51df Bump github.com/golangci/golangci-lint from 1.28.3 to 1.29.0 in /tools (#​953)

v0.9.0

Compare Source

This release includes a new Resource auto-detector interface and a generation of the OTLP locally.

Added
  • A new Resource Detector interface is included to allow resources to be automatically detected and included. (#​939)
  • A Detector to automatically detect resources from an environment variable. (#​939)
  • Github action to generate protobuf Go bindings locally in internal/opentelemetry-proto-gen. (#​938)
  • OTLP .proto files from open-telemetry/opentelemetry-proto imported as a git submodule under internal/opentelemetry-proto. References to github.com/open-telemetry/opentelemetry-proto changed to go.opentelemetry.io/otel/internal/opentelemetry-proto-gen. (#​942)
Changed
  • Non-nil value structs for key-value pairs will be marshalled using JSON rather than Sprintf. (#​948)
Removed
  • Removed dependency on github.com/open-telemetry/opentelemetry-collector. (#​943)

Raw changes made between v0.8.0 and v0.9.0

58e50e2 (HEAD -> master, tag: v0.9.0, tag: exporters/trace/zipkin/v0.9.0, tag: exporters/trace/jaeger/v0.9.0, tag: exporters/otlp/v0.9.0, tag: exporters/metric/prometheus/v0.9.0, tag: example/zipkin/v0.9.0, tag: example/prometheus/v0.9.0, tag: example/otel-collector/v0.9.0, tag: example/namedtracer/v0.9.0, tag: example/jaeger/v0.9.0, tag: example/http/v0.9.0, tag: example/grpc/v0.9.0, tag: example/basic/v0.9.0, upstream/master, origin/master, origin/HEAD) Release v0.9.0 (#​952)
e6537c6 Fix typo in comment (#​951)
99c2998 OT resource detector (#​939)
b2b23e1 supports marshaling values as json (#​948)
d6ad4d4 [jaeger] Stop ignoring uints (#​945)
4f3fab3 Remove github.com/open-telemetry/opentelemetry-collector dependency (#​943)
166c703 Import open-telemetry/opentelemetry-proto submodule and generate protobuf bindings locally (#​942)
dd79483 Create protobuf generation GitHub action (#​938)
31dd06a Bump github.com/golangci/golangci-lint from 1.28.2 to 1.28.3 in /tools (#​936)
9edcad3 Backport tag script from contrib repo (#​934)

v0.8.0

Compare Source

This release includes additions and changes to implements the v0.6.0 OpenTelemetry specification and other fixes.

Added
  • The B3Encoding type to represent the B3 encoding(s) the B3 propagator can inject.
    A value for HTTP supported encodings (Multiple Header: MultipleHeader, Single Header: SingleHeader) are included. (#​882)
  • The FlagsDeferred trace flag to indicate if the trace sampling decision has been deferred. (#​882)
  • The FlagsDebug trace flag to indicate if the trace is a debug trace. (#​882)
  • Add peer.service semantic attribute. (#​898)
  • Add database-specific semantic attributes. (#​899)
  • Add semantic convention for faas.coldstart and container.id. (#​909)
  • Add http content size semantic conventions. (#​905)
  • Include http.request_content_length in HTTP request basic attributes. (#​905)
  • Add semantic conventions for operating system process resource attribute keys. (#​919)
  • The Jaeger exporter now has a WithBatchMaxCount option to specify the maximum number of spans sent in a batch. (#​931)
Changed
  • Update CONTRIBUTING.md to ask for updates to CHANGELOG.md with each pull request. (#​879)
  • Use lowercase header names for B3 Multiple Headers. (#​881)
  • The B3 propagator SingleHeader field has been replaced with InjectEncoding.
    This new field can be set to combinations of the B3Encoding bitmasks and will inject trace information in these encodings.
    If no encoding is set, the propagator will default to MultipleHeader encoding. (#​882)
  • The B3 propagator now extracts from either HTTP encoding of B3 (Single Header or Multiple Header) based on what is contained in the header.
    Preference is given to Single Header encoding with Multiple Header being the fallback if Single Header is not found or is invalid.
    This behavior change is made to dynamically support all correctly encoded traces received instead of having to guess the expected encoding prior to receiving. (#​882)
  • Extend semantic conventions for RPC. (#​900)
  • To match constant naming conventions in the api/standard package, the FaaS* key names are appended with a suffix of Key. (#​920)
    • "api/standard".FaaSName -> FaaSNameKey
    • "api/standard".FaaSID -> FaaSIDKey
    • "api/standard".FaaSVersion -> FaaSVersionKey
    • "api/standard".FaaSInstance -> FaaSInstanceKey
Removed
  • The FlagsUnused trace flag is removed.
    The purpose of this flag was to act as the inverse of FlagsSampled, the inverse of FlagsSampled is used instead. (#​882)
  • The B3 header constants (B3SingleHeader, B3DebugFlagHeader, B3TraceIDHeader, B3SpanIDHeader, B3SampledHeader, B3ParentSpanIDHeader) are removed.
    If B3 header keys are needed the authoritative OpenZipkin package constants should be used instead. (#​882)
Fixed
  • The B3 Single Header name is now correctly b3 instead of the previous X-B3. (#​881)
  • The B3 propagator now correctly supports sampling only values (b3: 0, b3: 1, or b3: d) for a Single B3 Header. (#​882)
  • The B3 propagator now propagates the debug flag.
    This removes the behavior of changing the debug flag into a set sampling bit.
    Instead, this now follow the B3 specification and omits the X-B3-Sampling header. (#​882)
  • The B3 propagator now tracks "unset" sampling state (meaning "defer the decision") and does not set the X-B3-Sampling header when injecting. (#​882)
  • Bump github.com/itchyny/gojq from 0.10.3 to 0.10.4 in /tools. (#​883)
  • Bump github.com/opentracing/opentracing-go from v1.1.1-0.20190913142402-a7454ce5950e to v1.2.0. (#​885)
  • The tracing time conversion for OTLP spans is now correctly set to UnixNano. (#​896)
  • Ensure span status is not set to Unknown when no HTTP status code is provided as it is assumed to be 200 OK. (#​908)
  • Ensure httptrace.clientTracer closes http.headers span. (#​912)
  • Prometheus exporter will not apply stale updates or forget inactive metrics. (#​903)
  • Add test for api.standard HTTPClientAttributesFromHTTPRequest. (#​905)
  • Bump github.com/golangci/golangci-lint from 1.27.0 to 1.28.1 in /tools. (#​901, #​913)
  • Update otel-colector example to use the v0.5.0 collector. (#​915)
  • The grpctrace instrumentation uses a span name conforming to the OpenTelemetry semantic conventions (does not contain a leading slash (/)). (#​922)
  • The grpctrace instrumentation includes an rpc.method attribute now set to the gRPC method name. (#​900, #​922)
  • The grpctrace instrumentation rpc.service attribute now contains the package name if one exists.
    This is in accordance with OpenTelemetry semantic conventions. (#​922)
  • Correlation Context extractor will no longer insert an empty map into the returned context when no valid values are extracted. (#​923)
  • Bump google.golang.org/api from 0.28.0 to 0.29.0 in /exporters/trace/jaeger. (#​925)
  • Bump github.com/itchyny/gojq from 0.10.4 to 0.11.0 in /tools. (#​926)
  • Bump github.com/golangci/golangci-lint from 1.28.1 to 1.28.2 in /tools. (#​930)

Commits since previous tag v0.7.0

aff7a80 (HEAD -> master, tag: v0.8.0, tag: exporters/trace/zipkin/v0.8.0, tag: exporters/trace/jaeger/v0.8.0, tag: exporters/otlp/v0.8.0, tag: exporters/metric/prometheus/v0.8.0, tag: example/zipkin/v0.8.0, tag: example/prometheus/v0.8.0, tag: example/otel-collector/v0.8.0, tag: example/namedtracer/v0.8.0, tag: example/jaeger/v0.8.0, tag: example/http/v0.8.0, tag: example/grpc/v0.8.0, tag: example/basic/v0.8.0, upstream/master, origin/master, origin/HEAD) Release v0.8.0 (#​929)
9e99b44 Bump github.com/golangci/golangci-lint from 1.28.1 to 1.28.2 in /tools (#​930)
4dec0ad [jaeger] Added WithBatchMaxCount as an option (#​931)
d979977 Add semantic conventions for OS process as resource attributes (#​919)
54fffd6 Update grpctrace instrumentation span names (#​922)
d2913b7 Bump google.golang.org/api from 0.28.0 to 0.29.0 in /exporters/trace/jaeger (#​925)
c719588 Avoid replacing existing correlation map data in context when correlation context extractor does not find any valid data (#​923)
fab431e Fix api/standard constant names and documentation (#​920)
cf6462c Bump github.com/itchyny/gojq from 0.10.4 to 0.11.0 in /tools (#​926)
03cd779 Add http content size semantic conventions (#​905)
1c9aab6 Extend semantic convetions for RPC (#​900)
918c654 Update Changelog with omitted changes (#​921)
c506e99 Fix B3 propagator and add tests (#​882)
3475d55 Fix incorrect aggregation; Prometheus exporter behavior (#​903)
808345c Bump CircleCI instance size (#​917)
c219029 Update otel-collector example to use collector v0.5.0 (#​915)
1c6ca87 Ensure clientTracer closes http.headers span (#​912)
463c458 Add more database-specific semantic attributes (#​899)
5a4b68c Add semantic convention for faas.coldstart and container.id (#​909)
eaa94e9 Avoid setting span status to Unknown when no HTTP status is provided; stdlib assumes it to be 200 OK (#​908)
9342eb2 Bump github.com/golangci/golangci-lint from 1.28.0 to 1.28.1 in /tools (#​913)
27e892a Remove -v from Go tests (#​904)
bd1e174 Add "peer.service" semantic to standard attributes (#​898)
8d1f448 Bump github.com/golangci/golangci-lint from 1.27.0 to 1.28.0 in /tools (#​901)
550d365 fix trace event time conversion from internal to otlp (#​896)
f1e3536 Update opentracing dependency (#​885)
f4b1568 Bump github.com/itchyny/gojq from 0.10.3 to 0.10.4 in /tools (#​883)
8205b0b Update B3 header names (#​881)
2635f96 Ask for changelog updates with PRs (#​879)

v0.7.0

Compare Source

This release implements the v0.5.0 version of the OpenTelemetry specification.

Added
  • The othttp instrumentation now includes default metrics. (#​861)
  • This CHANGELOG file to track all changes in the project going forward.
  • Support for array type attributes. (#​798)
  • Apply transitive dependabot go.mod dependency updates as part of a new automatic Github workflow. (#​844)
  • Timestamps are now passed to exporters for each export. (#​835)
  • Add new Accumulation type to metric SDK to transport telemetry from Accumulators to Processors.
    This replaces the prior Record struct use for this purpose. (#​835)
  • New dependabot integration to automate package upgrades. (#​814)
  • Meter and Tracer implementations accept instrumentation version version as an optional argument.
    This instrumentation version is passed on to exporters. (#​811) (#​805) (#​802)
  • The OTLP exporter includes the instrumentation version in telemetry it exports. (#​811)
  • Environment variables for Jaeger exporter are supported. (#​796)
  • New aggregation.Kind in the export metric API. (#​808)
  • New example that uses OTLP and the collector. (#​790)
  • Handle errors in the span SetName during span initialization. (#​791)
  • Default service config to enable retries for retry-able failed requests in the OTLP exporter and an option to override this default. (#​777)
  • New go.opentelemetry.io/otel/api/oterror package to uniformly support error handling and definitions for the project. (#​778)
  • New global default implementation of the go.opentelemetry.io/otel/api/oterror.Handler interface to be used to handle errors prior to an user defined Handler.
    There is also functionality for the user to register their Handler as well as a convenience function Handle to handle an error with this global Handler(#​778)
  • Options to specify propagators for httptrace and grpctrace instrumentation. (#​784)
  • The required application/json header for the Zipkin exporter is included in all exports. (#​774)
  • Integrate HTTP semantics helpers from the contrib repository into the api/standard package. #​769
Changed
  • Rename Integrator to Processor in the metric SDK. (#​863)
  • Rename AggregationSelector to AggregatorSelector. (#​859)
  • Rename SynchronizedCopy to SynchronizedMove. (#​858)
  • Rename simple integrator to basic integrator. (#​857)
  • Merge otlp collector examples. (#​841)
  • Change the metric SDK to support cumulative, delta, and pass-through exporters directly.
    With these changes, cumulative and delta specific exporters are able to request the correct kind of aggregation from the SDK. (#​840)
  • The Aggregator.Checkpoint API is renamed to SynchronizedCopy and adds an argument, a different Aggregator into which the copy is stored. (#​812)
  • The export.Aggregator contract is that Update() and SynchronizedCopy() are synchronized with each other.
    All the aggregation interfaces (Sum, LastValue, ...) are not meant to be synchronized, as the caller is expected to synchronize aggregators at a higher level after the Accumulator.
    Some of the Aggregators used unnecessary locking and that has been cleaned up. (#​812)
  • Use of metric.Number was replaced by int64 now that we use sync.Mutex in the MinMaxSumCount and Histogram Aggregators. (#​812)
  • Replace AlwaysParentSample with ParentSample(fallback) to match the OpenTelemetry v0.5.0 specification. (#​810)
  • Rename sdk/export/metric/aggregator to sdk/export/metric/aggregation. #​808
  • Send configured headers with every request in the OTLP exporter, instead of just on connection creation. (#​806)
  • Update error handling for any one off error handlers, replacing, instead, with the global.Handle function. (#​791)
  • Rename plugin directory to instrumentation to match the OpenTelemetry specification. (#​779)
  • Makes the argument order to Histogram and DDSketch New() consistent. (#​781)
Removed
  • Uint64NumberKind and related functions from the API. (#​864)
  • Context arguments from Aggregator.Checkpoint and Integrator.Process as they were unused. (#​803)
  • SpanID is no longer included in parameters for sampling decision to match the OpenTelemetry specification. (#​775)
Fixed
  • Upgrade OTLP exporter to opentelemetry-proto matching the opentelemetry-collector v0.4.0 release. (#​866)
  • Allow changes to go.sum and go.mod when running dependabot tidy-up. (#​871)
  • Bump github.com/stretchr/testify from 1.4.0 to 1.6.1. (#​824)
  • Bump github.com/prometheus/client_golang from 1.7.0 to 1.7.1 in /exporters/metric/prometheus. (#​867)
  • Bump google.golang.org/grpc from 1.29.1 to 1.30.0 in /exporters/trace/jaeger. (#​853)
  • Bump google.golang.org/grpc from 1.29.1 to 1.30.0 in /exporters/trace/zipkin. (#​854)
  • Bumps github.com/golang/protobuf from 1.3.2 to 1.4.2 (#​848)
  • Bump github.com/stretchr/testify from 1.4.0 to 1.6.1 in /exporters/otlp (#​817)
  • Bump github.com/golangci/golangci-lint from 1.25.1 to 1.27.0 in /tools (#​828)
  • Bump github.com/prometheus/client_golang from 1.5.0 to 1.7.0 in /exporters/metric/prometheus (#​838)
  • Bump github.com/stretchr/testify from 1.4.0 to 1.6.1 in /exporters/trace/jaeger (#​829)
  • Bump github.com/benbjohnson/clock from 1.0.0 to 1.0.3 (#​815)
  • Bump github.com/stretchr/testify from 1.4.0 to 1.6.1 in /exporters/trace/zipkin (#​823)
  • Bump github.com/itchyny/gojq from 0.10.1 to 0.10.3 in /tools (#​830)
  • Bump github.com/stretchr/testify from 1.4.0 to 1.6.1 in /exporters/metric/prometheus (#​822)
  • Bump google.golang.org/grpc from 1.27.1 to 1.29.1 in /exporters/trace/zipkin (#​820)
  • Bump google.golang.org/grpc from 1.27.1 to 1.29.1 in /exporters/trace/jaeger (#​831)
  • Bump github.com/google/go-cmp from 0.4.0 to 0.5.0 (#​836)
  • Bump github.com/google/go-cmp from 0.4.0 to 0.5.0 in /exporters/trace/jaeger (#​837)
  • Bump github.com/google/go-cmp from 0.4.0 to 0.5.0 in /exporters/otlp (#​839)
  • Bump google.golang.org/api from 0.20.0 to 0.28.0 in /exporters/trace/jaeger (#​843)
  • Set span status from HTTP status code in the othttp instrumentation. (#​832)
  • Fixed typo in push controller comment. (#​834)
  • The Aggregator testing has been updated and cleaned. (#​812)
  • metric.Number(0) expressions are replaced by 0 where possible. (#​812)
  • Fixed global handler_test.go test failure. #​804
  • Fixed BatchSpanProcessor.Shutdown to wait until all spans are processed. (#​766)
  • Fixed OTLP example's accidental early close of exporter. (#​807)
  • Ensure zipkin exporter reads and closes response body. (#​788)
  • Update instrumentation to use api/standard keys instead of custom keys. (#​782)
  • Clean up tools and RELEASING documentation. (#​762)

v0.6.0

Compare Source

Added
  • Support for Resources in the prometheus exporter. (#​757)
  • New pull controller. (#​751)
  • New UpDownSumObserver instrument. (#​750)
  • OpenTelemetry collector demo. (#​711)
  • New SumObserver instrument. (#​747)
  • New UpDownCounter instrument. (#​745)
  • New timeout Option and configuration function WithTimeout to the push controller. (#​742)
  • New api/standards package to implement semantic conventions and standard key-value generation. (#​731)
Changed
  • Rename Register* functions in the metric API to New* for all Observer instruments. (#​761)
  • Use []float64 for histogram boundaries, not []metric.Number. (#​758)
  • Change OTLP example to use exporter as a trace Syncer instead of as an unneeded Batcher. (#​756)
  • Replace WithResourceAttributes() with WithResource() in the trace SDK. (#​754)
  • The prometheus exporter now uses the new pull controller. (#​751)
  • Rename ScheduleDelayMillis to BatchTimeout in the trace BatchSpanProcessor.(#​752)
  • Support use of synchronous instruments in asynchronous callbacks (#​725)
  • Move Resource from the Export method parameter into the metric export Record. (#​739)
  • Rename Observer instrument to ValueObserver. (#​734)
  • The push controller now has a method (Provider()) to return a metric.Provider instead of the old Meter method that acted as a metric.Provider. (#​738)
  • Replace Measure instrument by ValueRecorder instrument. (#​732)
  • Rename correlation context header from "Correlation-Context" to "otcorrelations" to match the OpenTelemetry specification. 727)
Fixed
  • Ensure gRPC ClientStream override methods do not panic in grpctrace package. (#​755)
  • Disable parts of BatchSpanProcessor test until a fix is found. (#​743)
  • Fix string case in kv Infer function. (#​746)
  • Fix panic in grpctrace client interceptors. (#​740)
  • Refactor the api/metrics push controller and add CheckpointSet synchronization. (#​737)
  • Rewrite span batch process queue batching logic. (#​719)
  • Remove the push controller named Meter map. (#​738)
  • Fix Histogram aggregator initial state (fix #​735). (#​736)
  • Ensure golang alpine image is running golang-1.14 for examples. (#​733)
  • Added test for grpctrace UnaryInterceptorClient. (#​695)
  • Rearrange api/metric code layout. (#​724)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovatebot label Jan 18, 2025
Copy link
Contributor Author

renovate bot commented Jan 18, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: dagger/go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: downloading github.com/aws/aws-sdk-go v1.55.6
go: downloading github.com/jmespath/go-jmespath v0.4.0
go: dagger/cloud-native-ref imports
	dagger/cloud-native-ref/internal/dagger: package dagger/cloud-native-ref/internal/dagger is not in std (/opt/containerbase/tools/golang/1.23.5/src/dagger/cloud-native-ref/internal/dagger)

Copy link
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Dependency Update Validation

Ensure that the updated dependencies and their versions are compatible with the existing codebase and do not introduce breaking changes or regressions.

	go.opentelemetry.io/otel v1.34.0
	go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.10.0
	go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.10.0
	go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.34.0
	go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.34.0
	go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.33.0 // indirect
	go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.34.0
	go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.34.0
	go.opentelemetry.io/otel/log v0.10.0
	go.opentelemetry.io/otel/metric v1.34.0
	go.opentelemetry.io/otel/sdk v1.34.0
	go.opentelemetry.io/otel/sdk/log v0.10.0
	go.opentelemetry.io/otel/sdk/metric v1.34.0
	go.opentelemetry.io/otel/trace v1.34.0
	go.opentelemetry.io/proto/otlp v1.5.0
	golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8
	golang.org/x/net v0.34.0 // indirect
	golang.org/x/sync v0.10.0
	golang.org/x/sys v0.29.0 // indirect
	golang.org/x/text v0.21.0 // indirect
	google.golang.org/genproto/googleapis/api v0.0.0-20250106144421-5f5ef82da422 // indirect
	google.golang.org/genproto/googleapis/rpc v0.0.0-20250106144421-5f5ef82da422 // indirect
	google.golang.org/grpc v1.69.2
	google.golang.org/protobuf v1.36.2 // indirect
)

replace go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc => go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.10.0

replace go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp => go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.10.0

replace go.opentelemetry.io/otel/log => go.opentelemetry.io/otel/log v0.10.0

replace go.opentelemetry.io/otel/sdk/log => go.opentelemetry.io/otel/sdk/log v0.10.0

Copy link
Contributor

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion                                                                                                                                    Score
General
Ensure compatibility of updated OpenTelemetry modules with the existing codebase to prevent runtime errors

Verify compatibility between the updated OpenTelemetry modules and the rest of the
codebase, as breaking changes in major or minor version updates could lead to
runtime errors or unexpected behavior.

dagger/go.mod [23-27]

 +	go.opentelemetry.io/otel v1.34.0
 +	go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.10.0
 +	go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.10.0
 +	go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.34.0
 +	go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.34.0
+# Ensure compatibility with the rest of the codebase to avoid runtime issues.
Suggestion importance[1-10]: 6

Why: The suggestion to verify compatibility of updated OpenTelemetry modules is valid and important to prevent runtime errors. However, it is not actionable directly in the code and requires external validation, which slightly reduces its impact.

6
Verify the necessity and correctness of the new replace directives to prevent dependency conflicts

Confirm that the new replace directives for OpenTelemetry modules are necessary and
correctly resolve any potential dependency conflicts or version mismatches.

dagger/go.mod [49-55]

 +replace go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc => go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.10.0
 +replace go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp => go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.10.0
 +replace go.opentelemetry.io/otel/log => go.opentelemetry.io/otel/log v0.10.0
 +replace go.opentelemetry.io/otel/sdk/log => go.opentelemetry.io/otel/sdk/log v0.10.0
+# Verify the necessity and correctness of these replacements to avoid dependency issues.
Suggestion importance[1-10]: 5

Why: The suggestion to confirm the necessity and correctness of the replace directives is relevant to avoid dependency conflicts. However, it is not directly actionable in the code and requires external validation, which limits its immediate impact.

5

@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch from d3050b4 to 4728250 Compare January 25, 2025 09:18
@renovate renovate bot changed the title fix(deps): update opentelemetry-go monorepo chore(deps): update opentelemetry-go monorepo to v0.10.0 Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants