open-telemetry / opentelemetry-log-collection

OpenTelemetry log collection library
https://opentelemetry.io
Apache License 2.0
92 stars 41 forks source link

Bump go.opentelemetry.io/collector from 0.48.0 to 0.51.0 #487

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps go.opentelemetry.io/collector from 0.48.0 to 0.51.0.

Release notes

Sourced from go.opentelemetry.io/collector's releases.

v0.51.0

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.51.0

🛑 Breaking changes 🛑

  • Remove deprecated model module, everything is available in pdata and semconv. (#5281)
    • Old versions of the module are still available, but no new versions will be released.
  • Remove deprecated LogRecord.Name field. (#5202)

🚩 Deprecations 🚩

  • In preparation of migration to immutable slices for primitive type items, the following methods are renamed (#5344)
    • Value.BytesVal func is deprecated in favor of Value.MBytesVal.
    • Value.SetBytesVal func is deprecated in favor of Value.SetMBytesVal.
    • Value.UpdateBytes func is deprecated in favor of Value.UpdateMBytes.
    • Value.InsertBytes func is deprecated in favor of Value.InsertMBytes.
    • Value.UpsertBytes func is deprecated in favor of Value.UpsertMBytes.
    • <HistogramDataPoint|Buckets>.BucketCounts funcs are deprecated in favor of <HistogramDataPoint|Buckets>.MBucketCounts.
    • <HistogramDataPoint|Buckets>.SetBucketCounts funcs are deprecated in favor of <HistogramDataPoint|Buckets>.SetMBucketCounts.
    • HistogramDataPoint.ExplicitBounds func is deprecated in favor of HistogramDataPoint.MExplicitBounds.
    • HistogramDataPoint.SetExplicitBounds func is deprecated in favor of HistogramDataPoint.SetMExplicitBounds.

💡 Enhancements 💡

  • pdata: Expose pcommon.NewSliceFromRaw and pcommon.Slice.AsRaw functions (#5311)

🧰 Bug fixes 🧰

  • Fix Windows Event Logs ignoring user-specified logging options (#5298)

v0.50.0

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.50.0

🛑 Breaking changes 🛑

  • Remove pdata deprecated funcs from 2 versions (v0.48.0) ago. (#5219)
  • Remove non pdata deprecated funcs/structs (#5220)
  • pmetric.Exemplar.ValueType() now returns new type ExemplarValueType (#5233)

🚩 Deprecations 🚩

  • Deprecate configunmarshaler package, move it to internal (#5151)
  • Deprecate all API in model/semconv. The package is moved to a new semcomv module (#5196)
  • Deprecate access to config.Retrieved fields, use the newly added funcs to interact with the internal fields (#5198)
  • Deprecate p<signal>otlp.Request.Set<Logs|Metrics|Traces> (#5234)
    • plogotlp.Request.SetLogs func is deprecated in favor of plogotlp.NewRequestFromLogs
    • pmetricotlp.Request.SetMetrics func is deprecated in favor of pmetricotlp.NewRequestFromMetrics
    • ptraceotlp.Request.SetTraces func is deprecated in favor of ptraceotlp.NewRequestFromTraces

... (truncated)

Changelog

Sourced from go.opentelemetry.io/collector's changelog.

v0.51.0 Beta

🛑 Breaking changes 🛑

  • Remove deprecated model module, everything is available in pdata and semconv. (#5281)
    • Old versions of the module are still available, but no new versions will be released.
  • Remove deprecated LogRecord.Name field. (#5202)

🚩 Deprecations 🚩

  • In preparation of migration to immutable slices for primitive type items, the following methods are renamed (#5344)
    • Value.BytesVal func is deprecated in favor of Value.MBytesVal.
    • Value.SetBytesVal func is deprecated in favor of Value.SetMBytesVal.
    • Value.UpdateBytes func is deprecated in favor of Value.UpdateMBytes.
    • Value.InsertBytes func is deprecated in favor of Value.InsertMBytes.
    • Value.UpsertBytes func is deprecated in favor of Value.UpsertMBytes.
    • <HistogramDataPoint|Buckets>.BucketCounts funcs are deprecated in favor of <HistogramDataPoint|Buckets>.MBucketCounts.
    • <HistogramDataPoint|Buckets>.SetBucketCounts funcs are deprecated in favor of <HistogramDataPoint|Buckets>.SetMBucketCounts.
    • HistogramDataPoint.ExplicitBounds func is deprecated in favor of HistogramDataPoint.MExplicitBounds.
    • HistogramDataPoint.SetExplicitBounds func is deprecated in favor of HistogramDataPoint.SetMExplicitBounds.

💡 Enhancements 💡

  • pdata: Expose pcommon.NewSliceFromRaw and pcommon.Slice.AsRaw functions (#5311)

🧰 Bug fixes 🧰

  • Fix Windows Event Logs ignoring user-specified logging options (#5298)

v0.50.0 Beta

🛑 Breaking changes 🛑

  • Remove pdata deprecated funcs from 2 versions (v0.48.0) ago. (#5219)
  • Remove non pdata deprecated funcs/structs (#5220)
  • pmetric.Exemplar.ValueType() now returns new type ExemplarValueType (#5233)
  • Remove deprecated Delete pdata func from (v0.47.0). (#5307)

🚩 Deprecations 🚩

  • Deprecate configunmarshaler package, move it to internal (#5151)
  • Deprecate all API in model/semconv. The package is moved to a new semcomv module (#5196)
  • Deprecate access to config.Retrieved fields, use the newly added funcs to interact with the internal fields (#5198)
  • Deprecate p<signal>otlp.Request.Set<Logs|Metrics|Traces> (#5234)
    • plogotlp.Request.SetLogs func is deprecated in favor of plogotlp.NewRequestFromLogs
    • pmetricotlp.Request.SetMetrics func is deprecated in favor of pmetricotlp.NewRequestFromMetrics
    • ptraceotlp.Request.SetTraces func is deprecated in favor of ptraceotlp.NewRequestFromTraces
  • pmetric.NumberDataPoint.ValueType() now returns new type NumberDataPointValueType (#5233)

... (truncated)

Commits
  • 4878d42 Prerelease collector v0.51.0 (#5340)
  • 6cde802 [pdata] Rename methods dealing with slices of primitive type items (#5344)
  • 7f66c9c setup-go github action does all the env setup (#5336)
  • 9d84bff Bump github.com/golangci/golangci-lint to latest (#5332)
  • eee8ff7 Fix go cache path per Github Action example, fix build for different go versi...
  • b781f85 Fix windows go cache path, per GA examples (#5330)
  • e436314 Merge cache for go mod and tools. go mod cache already got invalidated when t...
  • 79911de [pdata] Make Slice.AsRaw() method exported (#5311)
  • 781b97c [chore] bump dependencies (#5326)
  • dfc8d70 Implement unmarshal traces with jsoniter, make 35x faster than jsonpb(#4817) ...
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
codecov[bot] commented 2 years ago

Codecov Report

Merging #487 (d0664fa) into main (c912ec5) will decrease coverage by 0.0%. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #487     +/-   ##
=======================================
- Coverage   76.9%   76.9%   -0.1%     
=======================================
  Files         85      85             
  Lines       4153    4153             
=======================================
- Hits        3197    3195      -2     
- Misses       672     673      +1     
- Partials     284     285      +1     
Impacted Files Coverage Δ
operator/input/tcp/tcp.go 78.4% <0.0%> (-1.6%) :arrow_down:
dependabot[bot] commented 2 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.