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

Bump the opentelemetry group with 8 updates #7266

Closed
wants to merge 2 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2025

Bumps the opentelemetry group with 8 updates:

Package From To
Microsoft.Extensions.Configuration.Binder 8.0.2 9.0.0
OpenTelemetry.Exporter.OpenTelemetryProtocol 1.9.0 1.10.0
Microsoft.Extensions.DependencyInjection.Abstractions 8.0.2 9.0.0
Microsoft.Extensions.Hosting.Abstractions 8.0.1 9.0.0
Microsoft.Extensions.Logging.Abstractions 8.0.2 9.0.0
Microsoft.Extensions.Primitives 8.0.0 9.0.0
OpenTelemetry.Extensions.Hosting 1.9.0 1.10.0
OpenTelemetry.Exporter.InMemory 1.9.0 1.10.0

Updates Microsoft.Extensions.Configuration.Binder from 8.0.2 to 9.0.0

Release notes

Sourced from Microsoft.Extensions.Configuration.Binder's releases.

.NET 9.0.0

Release

What's Changed

... (truncated)

Commits

Updates OpenTelemetry.Exporter.OpenTelemetryProtocol from 1.9.0 to 1.10.0

Release notes

Sourced from OpenTelemetry.Exporter.OpenTelemetryProtocol's releases.

core-1.10.0

For highlights and announcements pertaining to this release see: Release Notes > 1.10.0.

The following changes are from the previous release 1.10.0-rc.1.

  • NuGet: OpenTelemetry v1.10.0

    • Promoted the MetricPoint reclaim feature for Delta aggregation temporality from experimental to stable. (#5956)

      Previous Behavior: The SDK maintained a fixed set of MetricPoints which were assigned on a first-come basis based on the tags. MetricPoint reclaim was an experimental feature users could opt-into setting the environment variable OTEL_DOTNET_EXPERIMENTAL_METRICS_RECLAIM_UNUSED_METRIC_POINTS=true.

      New Behavior: MetricPoint reclaim is now enabled by default when Delta aggregation temporality is used without the need to set an environment variable. Unused MetricPoints will automatically be reclaimed and reused for future measurements. There is NO ability to revert to the old behavior.

    • Updated the Microsoft.Extensions.Logging.Configuration and Microsoft.Extensions.Diagnostics.Abstractions package versions to 9.0.0. (#5967)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Api v1.10.0

    • Updated System.Diagnostics.DiagnosticSource package version to 9.0.0. (#5967)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.10.0

    • Updated Microsoft.Extensions.DependencyInjection.Abstractions package version to 9.0.0. (#5967)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.Console v1.10.0

    No notable changes.

... (truncated)

Changelog

Sourced from OpenTelemetry.Exporter.OpenTelemetryProtocol's changelog.

1.10.0

Release details: 1.10.0

  • Bumped the package versions of System.Diagnostic.DiagnosticSource and other Microsoft.Extensions.* packages to 9.0.0.

  • Added support for new APIs introduced in System.Diagnostics.DiagnosticSource 9.0.0:

  • Experimental features promoted to stable:

    • CardinalityLimit can now be managed for individual metrics via the View API. For details see: Changing cardinality limit for a Metric.

    • The overflow attribute (otel.metric.overflow) behavior is now enabled by default. The OTEL_DOTNET_EXPERIMENTAL_METRICS_EMIT_OVERFLOW_ATTRIBUTE environment variable is no longer required. For details see: Cardinality Limits.

    • The MetricPoint reclaim behavior is now enabled by default when Delta aggregation temporality is used. The OTEL_DOTNET_EXPERIMENTAL_METRICS_RECLAIM_UNUSED_METRIC_POINTS environment variable is no longer required. For details see: Cardinality Limits.

  • Added OpenTelemetrySdk.Create API for configuring OpenTelemetry .NET signals (logging, tracing, and metrics) via a single builder. This new API simplifies bootstrap and teardown, and supports cross-cutting extensions targeting IOpenTelemetryBuilder.

  • Removed out of support net6.0 target and added net9.0 target.

Commits
  • 626b30e [release] Prepare release core-1.10.0 (#5968)
  • 8ae9453 [repo] Updates for .NET 9 release (#5967)
  • 6fbae0d [docs] Add digital signing section with sigstore details (#5961)
  • ae3feb9 [otlp] OTLP Exporter Custom serializer - (Part 2) Histogram and Exponential H...
  • d113ecf [docs-metrics] Add content for histogram bucket configuration via advice api ...
  • 2aae6e1 [tests] Clean up class structure in metrics tests (#5960)
  • 6044583 [otlp] OTLP Exporter Custom serializer - (Part 1) Counter and Gauge (#5958)
  • e3b920c Move Reiley Yang 🐇 to Emeritus👋 (#5959)
  • 8c1cd64 [docs] Tweaks for stable metric point reclaim (#5957)
  • 112e17f [sdk-metrics] Stablize MetricPoint reclaim feature for delta aggregation (#5956)
  • Additional commits viewable in compare view

Updates Microsoft.Extensions.Configuration.Binder from 8.0.2 to 9.0.0

Release notes

Sourced from Microsoft.Extensions.Configuration.Binder's releases.

.NET 9.0.0

Release

What's Changed

... (truncated)

Commits

Updates Microsoft.Extensions.DependencyInjection.Abstractions from 8.0.2 to 9.0.0

Release notes

Sourced from Microsoft.Extensions.DependencyInjection.Abstractions's releases.

.NET 9.0.0

Release

What's Changed

... (truncated)

Commits

Updates Microsoft.Extensions.Hosting.Abstractions from 8.0.1 to 9.0.0

Release notes

Sourced from Microsoft.Extensions.Hosting.Abstractions's releases.

.NET 9.0.0

Release

What's Changed

... (truncated)

Commits

@dependabot dependabot bot added the area-codeflow for labeling automated codeflow. intentionally a different color! label Jan 27, 2025
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Jan 27, 2025
Bumps the opentelemetry group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [Microsoft.Extensions.Configuration.Binder](https://github.com/dotnet/runtime) | `8.0.2` | `9.0.0` |
| [OpenTelemetry.Exporter.OpenTelemetryProtocol](https://github.com/open-telemetry/opentelemetry-dotnet) | `1.9.0` | `1.10.0` |
| [Microsoft.Extensions.DependencyInjection.Abstractions](https://github.com/dotnet/runtime) | `8.0.2` | `9.0.0` |
| [Microsoft.Extensions.Hosting.Abstractions](https://github.com/dotnet/runtime) | `8.0.1` | `9.0.0` |
| [Microsoft.Extensions.Logging.Abstractions](https://github.com/dotnet/runtime) | `8.0.2` | `9.0.0` |
| [Microsoft.Extensions.Primitives](https://github.com/dotnet/runtime) | `8.0.0` | `9.0.0` |
| [OpenTelemetry.Extensions.Hosting](https://github.com/open-telemetry/opentelemetry-dotnet) | `1.9.0` | `1.10.0` |
| [OpenTelemetry.Exporter.InMemory](https://github.com/open-telemetry/opentelemetry-dotnet) | `1.9.0` | `1.10.0` |


Updates `Microsoft.Extensions.Configuration.Binder` from 8.0.2 to 9.0.0
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](dotnet/runtime@v8.0.2...v9.0.0)

Updates `OpenTelemetry.Exporter.OpenTelemetryProtocol` from 1.9.0 to 1.10.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md)
- [Commits](open-telemetry/opentelemetry-dotnet@core-1.9.0...core-1.10.0)

Updates `Microsoft.Extensions.Configuration.Binder` from 8.0.2 to 9.0.0
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](dotnet/runtime@v8.0.2...v9.0.0)

Updates `Microsoft.Extensions.DependencyInjection.Abstractions` from 8.0.2 to 9.0.0
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](dotnet/runtime@v8.0.2...v9.0.0)

Updates `Microsoft.Extensions.Hosting.Abstractions` from 8.0.1 to 9.0.0
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](dotnet/runtime@v8.0.1...v9.0.0)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.2 to 9.0.0
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](dotnet/runtime@v8.0.2...v9.0.0)

Updates `Microsoft.Extensions.Primitives` from 8.0.0 to 9.0.0
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](dotnet/runtime@v8.0.0...v9.0.0)

Updates `OpenTelemetry.Extensions.Hosting` from 1.9.0 to 1.10.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md)
- [Commits](open-telemetry/opentelemetry-dotnet@core-1.9.0...core-1.10.0)

Updates `OpenTelemetry.Exporter.InMemory` from 1.9.0 to 1.10.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md)
- [Commits](open-telemetry/opentelemetry-dotnet@core-1.9.0...core-1.10.0)

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Configuration.Binder
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: opentelemetry
- dependency-name: OpenTelemetry.Exporter.OpenTelemetryProtocol
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: opentelemetry
- dependency-name: Microsoft.Extensions.Configuration.Binder
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: opentelemetry
- dependency-name: Microsoft.Extensions.DependencyInjection.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: opentelemetry
- dependency-name: Microsoft.Extensions.Hosting.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: opentelemetry
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: opentelemetry
- dependency-name: Microsoft.Extensions.Primitives
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: opentelemetry
- dependency-name: OpenTelemetry.Extensions.Hosting
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: opentelemetry
- dependency-name: OpenTelemetry.Exporter.InMemory
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: opentelemetry
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/nuget/opentelemetry-eb9284d963 branch from 8e47071 to 42286ac Compare January 29, 2025 01:22
@danmoseley
Copy link
Member

or CS0618: (NETCORE_ENGINEERING_TELEMETRY=Build) 'ActivityExtensions.RecordException(Activity?, Exception?)' is obsolete: 'Call Activity.AddException instead this method will be removed in a future version.'

@danmoseley
Copy link
Member

@sebastienros or someone could you please sign off on my minor fixes

<PackageVersion Include="OpenTelemetry.Exporter.InMemory" Version="1.9.0" />
<PackageVersion Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.9.0" />
<PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.9.0" />
<PackageVersion Include="OpenTelemetry.Exporter.InMemory" Version="1.10.0" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Starting with 1.10 (there is a 1.11.1 btw) the net8.0 target depends on

Microsoft.Extensions.Diagnostics.Abstractions (>= 9.0.0)
Microsoft.Extensions.Logging.Configuration (>= 9.0.0)
System.Diagnostics.DiagnosticSource (>= 9.0.0)

@eerhardt Do we need to split this for net8.0 and net9.0

@@ -90,14 +90,14 @@
<MicrosoftExtensionsDiagnosticsHealthChecksLTSVersion>8.0.12</MicrosoftExtensionsDiagnosticsHealthChecksLTSVersion>
<MicrosoftExtensionsFeaturesLTSVersion>8.0.12</MicrosoftExtensionsFeaturesLTSVersion>
<!-- Runtime -->
<MicrosoftExtensionsHostingAbstractionsLTSVersion>8.0.1</MicrosoftExtensionsHostingAbstractionsLTSVersion>
<MicrosoftExtensionsHostingAbstractionsLTSVersion>9.0.0</MicrosoftExtensionsHostingAbstractionsLTSVersion>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the LTS versions, so they should not be bumped to 9.0. There is the <MicrosoftExtensionsHostingAbstractions> tag that tracks it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah - didn't think of support angle. @eerhardt I think you were already looking at this, perhaps I should clsoe this PR

@eerhardt
Copy link
Member

See .NET Aspire is stuck on OpenTelemetry 1.9.0 (dotnet/aspire#7123).

Closing.

@danmoseley - if you want, can you disable OTel dependabot updates for now?

@eerhardt eerhardt closed this Jan 30, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 30, 2025

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot dependabot bot deleted the dependabot/nuget/opentelemetry-eb9284d963 branch January 30, 2025 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-codeflow for labeling automated codeflow. intentionally a different color! community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants