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.8.0 #546

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 9, 2024

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.8.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.3.0 -> v0.8.0 age adoption passing confidence
go.opentelemetry.io/otel/log v0.3.0 -> v0.8.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk/log v0.3.0 -> v0.8.0 age adoption passing confidence

Release Notes

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

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 Nov 9, 2024
Copy link
Contributor Author

renovate bot commented Nov 9, 2024

⚠️ 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.5
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.3/src/dagger/cloud-native-ref/internal/dagger)

Copy link
Contributor

github-actions bot commented Nov 9, 2024

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
⚡ No major issues detected

Copy link
Contributor

github-actions bot commented Nov 9, 2024

PR Code Suggestions ✨

No code suggestions found for the PR.

@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch from 3deecc0 to 6f09ab6 Compare November 9, 2024 10:44
@renovate renovate bot changed the title fix(deps): update opentelemetry-go monorepo chore(deps): update opentelemetry-go monorepo to v0.8.0 Nov 9, 2024
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch from 6f09ab6 to 982aee0 Compare November 9, 2024 10:45
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