[PR #8630] [MERGED] chore(deps): update dependency prometheus-net.aspnetcore to v7 #11621

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/8630
Author: @renovate[bot]
Created: 10/26/2022
Status: Merged
Merged: 11/24/2022
Merged by: @Bond-009

Base: masterHead: renovate/prometheus-net.aspnetcore-7.x


📝 Commits (1)

  • 7bf8950 chore(deps): update dependency prometheus-net.aspnetcore to v7

📊 Changes

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

View changed files

📝 Jellyfin.Server/Jellyfin.Server.csproj (+1 -1)

📄 Description

Mend Renovate

This PR contains the following updates:

Package Type Update Change
prometheus-net.AspNetCore nuget major 6.0.0 -> 7.0.0

Release Notes

prometheus-net/prometheus-net

v7.0.0

  • .NET Core specific functionality now targeting .NET 6.0 or greater (all previous versions will be end of life by December 2022).
  • Relaxed the API restriction that forbade you to create multiple metrics with the same name but different label names. While this is a Prometheus anti-pattern, it is a standard pattern in other metrics technologies and we will allow it in the name of interoperability.
  • Added IMetricFactory.WithLabels() to define static labels per-factory and reduce the effort needed by users when defining static labels in specific scopes.
  • Added automatic metric expiration feature, to remove timeseries when they are no longer used after a while. This improves interoperability with other metrics technologies such as .NET Meters.
  • (Breaking change) Rewrite of the MeterAdapter functionality to bridge .NET 6 metrics to Prometheus. API remains equivalent, though options class changed. Output format (what metrics are published) is completely different. Now it translates metric names (instead of putting them in labels) and preserves tags (labels) provided via the .NET Meters API. Added sample project to demonstrate functionality. Ref #​359
  • (Breaking change) Dropped support for .NET Standard 2.0 - now will target specifically .NET 6.0 and .NET Framework 4.6.2. This was already documented before but there was "unofficial" support also for .NET Standard remaining. This is now removed.
  • (Breaking change) EventCounterAdapter output format changed to translate counters to Prometheus metrics and to improve usability by publishing both counters and gauges from ambiguous event counters.
  • EventCounterAdapter and MeterAdapter are now enabled on startup by default.
  • Added some debug metrics to indicate the number of metric families, instances and timeseries being exported by prometheus-net.
  • Added typical benchmark results to readme for easy reference, and to show relative speed of the simple versus complex instruments.
  • (Breaking change) Removed MetricConfiguration.StaticLabels because it had negative performance impact on many code paths that did not use it. The same functionality can be manually implemented in user code. Static labels remain available on registry and factory level.
  • When a before-collection metrics update callback throws an exception, it is now logged and ignored instead of breaking all metrics collection.
  • EventCounterAdapter now defaults to Informational events only, for reduced performance overhead. Can be configured via callback.

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 this update again.


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

This PR has been generated by Mend Renovate. View repository job log here.


🔄 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/8630 **Author:** [@renovate[bot]](https://github.com/apps/renovate) **Created:** 10/26/2022 **Status:** ✅ Merged **Merged:** 11/24/2022 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `renovate/prometheus-net.aspnetcore-7.x` --- ### 📝 Commits (1) - [`7bf8950`](https://github.com/jellyfin/jellyfin/commit/7bf89502bccd350c4f2e0577f1f48fe32af03c54) chore(deps): update dependency prometheus-net.aspnetcore to v7 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Server/Jellyfin.Server.csproj` (+1 -1) </details> ### 📄 Description [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [prometheus-net.AspNetCore](https://togithub.com/prometheus-net/prometheus-net) | nuget | major | `6.0.0` -> `7.0.0` | --- ### Release Notes <details> <summary>prometheus-net/prometheus-net</summary> ### [`v7.0.0`](https://togithub.com/prometheus-net/prometheus-net/releases/tag/v7.0.0) - .NET Core specific functionality now targeting .NET 6.0 or greater (all previous versions will be end of life by December 2022). - Relaxed the API restriction that forbade you to create multiple metrics with the same name but different label names. While this is a Prometheus anti-pattern, it is a standard pattern in other metrics technologies and we will allow it in the name of interoperability. - Added `IMetricFactory.WithLabels()` to define static labels per-factory and reduce the effort needed by users when defining static labels in specific scopes. - Added automatic metric expiration feature, to remove timeseries when they are no longer used after a while. This improves interoperability with other metrics technologies such as .NET Meters. - (Breaking change) Rewrite of the MeterAdapter functionality to bridge .NET 6 metrics to Prometheus. API remains equivalent, though options class changed. Output format (what metrics are published) is completely different. Now it translates metric names (instead of putting them in labels) and preserves tags (labels) provided via the .NET Meters API. Added sample project to demonstrate functionality. Ref [#&#8203;359](https://togithub.com/prometheus-net/prometheus-net/issues/359) - (Breaking change) Dropped support for .NET Standard 2.0 - now will target specifically .NET 6.0 and .NET Framework 4.6.2. This was already documented before but there was "unofficial" support also for .NET Standard remaining. This is now removed. - (Breaking change) EventCounterAdapter output format changed to translate counters to Prometheus metrics and to improve usability by publishing both counters and gauges from ambiguous event counters. - `EventCounterAdapter` and `MeterAdapter` are now enabled on startup by default. - Added some debug metrics to indicate the number of metric families, instances and timeseries being exported by prometheus-net. - Added typical benchmark results to readme for easy reference, and to show relative speed of the simple versus complex instruments. - (Breaking change) Removed `MetricConfiguration.StaticLabels` because it had negative performance impact on many code paths that did not use it. The same functionality can be manually implemented in user code. Static labels remain available on registry and factory level. - When a before-collection metrics update callback throws an exception, it is now logged and ignored instead of breaking all metrics collection. - EventCounterAdapter now defaults to Informational events only, for reduced performance overhead. Can be configured via callback. </details> --- ### 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 this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/jellyfin/jellyfin). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xLjUiLCJ1cGRhdGVkSW5WZXIiOiIzNC4xNy4xIn0=--> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 08:51:27 +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#11621
No description provided.