[PR #5651] [MERGED] Bump prometheus-net.DotNetRuntime from 3.4.1 to 4.0.0 #10410

Closed
opened 2025-12-22 08:02:18 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5651
Author: @dependabot[bot]
Created: 3/29/2021
Status: Merged
Merged: 4/27/2021
Merged by: @Bond-009

Base: masterHead: dependabot/nuget/prometheus-net.DotNetRuntime-4.0.0


📝 Commits (1)

  • 47c5416 Bump prometheus-net.DotNetRuntime from 3.4.1 to 4.0.0

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 Emby.Server.Implementations/Emby.Server.Implementations.csproj (+1 -1)

📄 Description

Bumps prometheus-net.DotNetRuntime from 3.4.1 to 4.0.0.

Release notes

Sourced from prometheus-net.DotNetRuntime's releases.

V4

Summary

A large refactor that aims to make this library far more stable and performant by default. Event counters are now the default source of metrics while more detailed events can be enabled manually when required (see CaptureLevel).

Changes

Breaking changes

  • Dropped support for prometheus-net v2.
  • Dropped support for netcoreapp2.2
  • WithThreadPoolSchedulingStats has been removed- it was both a performance hog and incorrect (the IDs of the start/stop events were not stable). May consider adding this in a later release as .NET 5.0 should have fixed the stable IDs issue.
  • DotNetRuntimeStatsBuilder.Default() now only uses event counters to generate metrics. JIT metrics will not be collected (there are no JIT-related event counters in .NET core 3.1). Plan to add support for .NET 5.0 in a later release. You can restore more detailed metrics by using DotNetRuntimeStatsBuilder.Customize() and passing a custom CaptureLevel.
  • Renamed dotnet_gc_collection_reasons_total -> dotnet_gc_collection_count_total

Additions/ enhancements

  • Added new threadpool metrics: dotnet_threadpool_throughput_total, dotnet_threadpool_queue_length and dotnet_threadpool_timer_count
  • Added dotnet_gc_memory_total_available_bytes to track the total amount of memory .NET can allocate to (this takes into account docker memory limits)
  • Added ability to configure the source of majority of collectors- can either be driven solely by event counters (CaptureLevel.Counters) or event listeners for more detailed metrics.
  • Added support for recycling EventListeners periodically (net5.0 only as netcoreapp3.1 is impacted by dotnet/runtime#49804).
  • Improved the collection of debugging metrics available
  • Added documentation around metrics exposed
  • Added an example docker-compose stack that can be used for testing and experimentation

Fixes

Commits

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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/5651 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 3/29/2021 **Status:** ✅ Merged **Merged:** 4/27/2021 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `dependabot/nuget/prometheus-net.DotNetRuntime-4.0.0` --- ### 📝 Commits (1) - [`47c5416`](https://github.com/jellyfin/jellyfin/commit/47c54166e14a89a6895f6ceda3ab48591c097fad) Bump prometheus-net.DotNetRuntime from 3.4.1 to 4.0.0 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/Emby.Server.Implementations.csproj` (+1 -1) </details> ### 📄 Description Bumps [prometheus-net.DotNetRuntime](https://github.com/djluck/prometheus-net.DotNetRuntime) from 3.4.1 to 4.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/djluck/prometheus-net.DotNetRuntime/releases">prometheus-net.DotNetRuntime's releases</a>.</em></p> <blockquote> <h2>V4</h2> <h2>Summary</h2> <p>A large refactor that aims to make this library far more stable and performant by default. Event counters are now the default source of metrics while more detailed events can be enabled manually when required (see <code>CaptureLevel</code>).</p> <h2>Changes</h2> <h3>Breaking changes</h3> <ul> <li>Dropped support for <code>prometheus-net</code> v2.</li> <li>Dropped support for <code>netcoreapp2.2</code></li> <li><code>WithThreadPoolSchedulingStats</code> has been removed- it was both a performance hog and incorrect (the IDs of the start/stop events were not stable). May consider adding this in a later release as .NET 5.0 should have fixed the stable IDs issue.</li> <li><code>DotNetRuntimeStatsBuilder.Default()</code> now only uses event counters to generate metrics. JIT metrics will not be collected (there are no JIT-related event counters in .NET core 3.1). Plan to add support for .NET 5.0 in a later release. You can restore more detailed metrics by using <code>DotNetRuntimeStatsBuilder.Customize()</code> and passing a custom <code>CaptureLevel</code>.</li> <li>Renamed <code>dotnet_gc_collection_reasons_total</code> -&gt; <code>dotnet_gc_collection_count_total</code></li> </ul> <h2>Additions/ enhancements</h2> <ul> <li>Added new threadpool metrics: <code>dotnet_threadpool_throughput_total</code>, <code>dotnet_threadpool_queue_length</code> and <code>dotnet_threadpool_timer_count</code></li> <li>Added <code>dotnet_gc_memory_total_available_bytes</code> to track the total amount of memory .NET can allocate to (this takes into account docker memory limits)</li> <li>Added ability to configure the source of majority of collectors- can either be driven solely by event counters (<code>CaptureLevel.Counters</code>) or event listeners for more detailed metrics.</li> <li>Added support for recycling <code>EventListener</code>s periodically (<code>net5.0</code> only as <code>netcoreapp3.1</code> is impacted by <a href="https://github-redirect.dependabot.com/dotnet/runtime/issues/49804">dotnet/runtime#49804</a>).</li> <li>Improved the collection of debugging metrics available</li> <li>Added documentation around metrics exposed</li> <li>Added an example <code>docker-compose</code> stack that can be used for testing and experimentation</li> </ul> <h2>Fixes</h2> <ul> <li><a href="https://github-redirect.dependabot.com/djluck/prometheus-net.DotNetRuntime/issues/9">#9</a></li> <li><a href="https://github-redirect.dependabot.com/djluck/prometheus-net.DotNetRuntime/issues/10">#10</a></li> <li><a href="https://github-redirect.dependabot.com/djluck/prometheus-net.DotNetRuntime/issues/20">#20</a></li> <li><a href="https://github-redirect.dependabot.com/djluck/prometheus-net.DotNetRuntime/issues/33">#33</a></li> <li><a href="https://github-redirect.dependabot.com/djluck/prometheus-net.DotNetRuntime/issues/35">#35</a></li> <li><a href="https://github-redirect.dependabot.com/djluck/prometheus-net.DotNetRuntime/issues/39">#39</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/djluck/prometheus-net.DotNetRuntime/commit/91bb6b8e115a7017456de3510d02a54293721581"><code>91bb6b8</code></a> Trying to fix package pipeline</li> <li><a href="https://github.com/djluck/prometheus-net.DotNetRuntime/commit/aa9fb94ac63643aeef2ac1a11d6a57f8378d9aac"><code>aa9fb94</code></a> V4 (<a href="https://github-redirect.dependabot.com/djluck/prometheus-net.DotNetRuntime/issues/43">#43</a>)</li> <li>See full diff in <a href="https://github.com/djluck/prometheus-net.DotNetRuntime/compare/3.4.1...4.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prometheus-net.DotNetRuntime&package-manager=nuget&previous-version=3.4.1&new-version=4.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 08:02:18 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#10410
No description provided.