Prometheus-net breaking changes

nuget

5 curated breaking changes across major versions of Prometheus-net. Use this as a migration checklist before bumping dependencies.

5
changes
Breaking changes by transition
  • v2.1.3 \u2192 v3.0.0breaking

    Breaking change: removed "windows" from built-in metric names as they are not Windows-specific.

  • v2.1.3 \u2192 v3.0.0breaking

    Breaking change: removed support for protobuf export format (it is no longer used by Prometheus).

  • v2.1.3 \u2192 v3.0.0breaking

    Breaking change: API surface cleaned up, removed some legacy methods, made many internal types actually internal.

  • v2.1.3 \u2192 v3.0.0breaking

    Breaking change: "on demand collectors" concept replaced with simpler "before collect callbacks". Works the same, just less code needed to use it and fewer possible error conditions.

  • v2.1.3 \u2192 v3.0.0breaking

    Breaking change: removed support for "custom collectors", as this was a very special use case that did not benefit at all from the main functionality of the library. Just generate a Prometheus exporter output document yourself if you need to export arbitrary data.

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/nuget/Prometheus-net
Prometheus-net breaking changes — NuGet migration guide | DepScope