PackageTrack
Sign in Get early access

prometheus-net

.NET client library for the Prometheus monitoring and alerting system

8.2.1 321M downloads/mo #174 most downloaded on NuGet prometheus-net/prometheus-net

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Release timing varies

gaps range from 8 days to 5 months

Rarely documented

notes for 8 of 52 stable releases

6 versions withdrawn

withdrawn after publishing

127 years old

186 releases · first in 1900

0 releases in the last 12 months

see the full history below

Release timeline

186 releases · Jan 1900 to Jan 2024
1901 1917 1933 1949 1965 1981 1997 2013
Release Pre-release Withdrawn

Releases

latest 60 of 186
  1. 8.2.1 03 Jan 2024
    Release notes

    Fix occasional "Collection was modified" exception when serializing metrics. #464

    Open source →
  2. 8.2.1-pre-240103185829-60e9106 03 Jan 2024 pre-release

    Nothing published for this version

  3. 8.2.0 05 Dec 2023
    Release notes
    • .WithLabels() & similar now accept ReadOnlyMemory as alternative to string[]. Same behavior, just easier to use if you already have a ReadOnlyMemory.
    • .WithLabels() & similar now accept ReadOnlySpan as alternative to string[]. This enables allocation-free metric instance creation if a metric instance with these labels is already known.
    • Incorporated various optimizations to reduce the required CPU time and allocated memory, including #410, #443 and other contributions.
    • Observation of large histograms is now 10-30% faster on machines that support AVX2 instructions.
    • health checks exposed via ForwardToPrometheus() no longer create a default metric if a custom metric is provided #444
    Open source →
  4. 8.2.0-pre-231205215128-a2c1c8f 05 Dec 2023 pre-release

    Nothing published for this version

  5. 8.2.0-pre-231205134623-36b4750 05 Dec 2023 pre-release

    Nothing published for this version

  6. 8.2.0-pre-231204222617-7837255 04 Dec 2023 pre-release

    Nothing published for this version

  7. 8.2.0-pre-231204170437-99f640f 04 Dec 2023 pre-release

    Nothing published for this version

  8. 8.2.0-pre-231204094406-885f52c 04 Dec 2023 pre-release

    Nothing published for this version

  9. 8.2.0-pre-231204084751-4d19b42 04 Dec 2023 pre-release

    Nothing published for this version

  10. 8.2.0-pre-231128134008-9a7dad2 28 Nov 2023 pre-release

    Nothing published for this version

  11. 8.1.1 28 Nov 2023
    Release notes
    • Fix bug in .NET Meters API adapter for UpDownCounter, which was incorrectly transformed to Prometheus metrics. #452 and #453
    Open source →
  12. 8.1.1-pre-231128114341-17bb2a0 28 Nov 2023 pre-release

    Nothing published for this version

  13. 8.1.0 29 Oct 2023
    Release notes

    Add support for capturing HttpClient metrics from all registered HttpClients (services.UseHttpClientMetrics()).

    Open source →
  14. 8.1.0-pre-231028004937-71a8668 28 Oct 2023 pre-release

    Nothing published for this version

  15. 8.0.1 18 Jul 2023
    Release notes

    Allow ObservableCounter to be reset. Previously, the MeterAdapter output got stuck on its previous maximum if the underlying Meter reset its value to a lower value. Now we transform the value 1:1.

    Open source →
  16. 8.0.1-pre-230718073955-ea794f6 18 Jul 2023 pre-release

    Nothing published for this version

  17. 8.0.1-pre-230718042806-718dffc 18 Jul 2023 pre-release

    Nothing published for this version

  18. 8.0.0 17 Feb 2023
    Release notes
    • Added OpenMetrics exposition format support (#388).
    • Added exemplar support for Counter and Histogram (#388).
    • The ':' character is no longer allowed in metric or label names. For metric names, Prometheus standard practice is to use colon only in recording rules.
    • Publish symbol packages and add Source Link support for easier debugging experience.
    • Fix defect where metrics with different labels could overwrite each other in specific circumstances with multiple metric factories in use (#389).
    • Ensure even harder that MetricPusher flushes the final state before stopping (#383 and #384)
    • Simplify DotNetStats built-in collector code for ease of readability and more best practices (#365, #364)
    • Slightly improve Counter performance under concurrent load.
    • Reduce memory allocations performed during ASP.NET Core HTTP request tracking.
    • By default, EventCounterAdapter will only listen to a small predefined set of general-purpose useful event sources, to minimize resource consumption in the default configuration. A custom event source filter must now be provided to enable listening for additional event sources.
    • EventCounterAdapter will only refresh data every 10 seconds by default, to reduce amount of garbage generated in memory (.NET event counters are very noisy and create many temporary objects).
    • Added IManagedLifetimeMetricFactory.WithLabels() to enable simpler label enrichment in scenarios where lifetime-managed metric instances are used.
    • Added back .NET Standard 2.0 support as some customers had a hard dependency on .NET Standard 2.0 (despite not being a documented feature even earlier).
    • Added (Observable)UpDownCounter support to MeterAdapter (.NET 7 specific feature).
    Open source →
  19. 8.0.0-pre-230212122408-a055f5b 12 Feb 2023 pre-release

    Nothing published for this version

  20. 8.0.0-pre-230210074852-a7c1277 10 Feb 2023 pre-release

    Nothing published for this version

  21. 8.0.0-pre-230209100041-c35ac64 09 Feb 2023 pre-release

    Nothing published for this version

  22. 8.0.0-pre-230209074620-4f8f59c 09 Feb 2023 pre-release

    Nothing published for this version

  23. 8.0.0-pre-230203154858-4bf76fb 03 Feb 2023 pre-release

    Nothing published for this version

  24. 8.0.0-pre-230203125716-1813839 03 Feb 2023 pre-release

    Nothing published for this version

  25. 8.0.0-pre-230203073826-06c2e2f 03 Feb 2023 pre-release

    Nothing published for this version

  26. 8.0.0-pre-230201062733-ece2743 01 Feb 2023 pre-release

    Nothing published for this version

  27. 8.0.0-pre-230127154206-9ec9e9b 27 Jan 2023 pre-release

    Nothing published for this version

  28. 8.0.0-pre-230127124604-8b7c7e1 27 Jan 2023 pre-release

    Nothing published for this version

  29. 8.0.0-pre-230127111923-d72115a 27 Jan 2023 pre-release

    Nothing published for this version

  30. 8.0.0-pre-230127084218-90f4311 27 Jan 2023 pre-release

    Nothing published for this version

  31. 8.0.0-pre-230127075825-bfc1041 27 Jan 2023 pre-release

    Nothing published for this version

  32. 8.0.0-pre-230126143551-210a1ab 26 Jan 2023 pre-release

    Nothing published for this version

  33. 8.0.0-pre-230119065217-312c2e9 19 Jan 2023 pre-release

    Nothing published for this version

  34. 8.0.0-pre-230116052305-1ed397b 16 Jan 2023 pre-release

    Nothing published for this version

  35. 8.0.0-pre-230102092516-2351266 02 Jan 2023 pre-release

    Nothing published for this version

  36. 8.0.0-pre-230101195105-9f23889 01 Jan 2023 pre-release

    Nothing published for this version

  37. 8.0.0-pre-230101084444-630935f 01 Jan 2023 pre-release

    Nothing published for this version

  38. 8.0.0-pre-221231102537-13e7ac6 31 Dec 2022 pre-release

    Nothing published for this version

  39. 8.0.0-pre-221231100152-fb39dcb 31 Dec 2022 pre-release

    Nothing published for this version

  40. 8.0.0-pre-000351-fb39dcb 31 Dec 2022 pre-release

    Nothing published for this version

  41. 8.0.0-pre-000347-e83cc87 30 Dec 2022 pre-release

    Nothing published for this version

  42. 8.0.0-pre-000346-e83cc87 30 Dec 2022 pre-release

    Nothing published for this version

  43. 8.0.0-pre-000342-4d6812e 29 Dec 2022 pre-release

    Nothing published for this version

  44. 7.1.0-pre-000318-0479f53 15 Nov 2022 pre-release

    Nothing published for this version

  45. 7.1.0-pre-000310-9c9e1e9 07 Nov 2022 pre-release

    Nothing published for this version

  46. 7.1.0-pre-000307-f980713 27 Oct 2022 pre-release

    Nothing published for this version

  47. 7.0.0 26 Oct 2022
    Release notes
    • .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.
    Open source →
  48. 7.0.0-pre-000305-75cc817 17 Oct 2022 pre-release

    Nothing published for this version

  49. 7.0.0-pre-000304-cbb305a 17 Oct 2022 pre-release

    Nothing published for this version

  50. 7.0.0-pre-000303-5a44ada 16 Oct 2022 pre-release

    Nothing published for this version

  51. 7.0.0-pre-000301-06c5932 13 Oct 2022 pre-release

    Nothing published for this version

  52. 7.0.0-pre-000298-4b8d3e7 13 Oct 2022 pre-release

    Nothing published for this version

  53. 7.0.0-pre-000297-7068d28 13 Oct 2022 pre-release

    Nothing published for this version

  54. 7.0.0-pre-000296-5b1a1c4 05 Oct 2022 pre-release

    Nothing published for this version

  55. 7.0.0-pre-000294-486fcd8 05 Oct 2022 pre-release

    Nothing published for this version

  56. 7.0.0-pre-000293-d13fe06 04 Oct 2022 pre-release

    Nothing published for this version

  57. 7.0.0-pre-000292-88fbe2a 04 Oct 2022 pre-release

    Nothing published for this version

  58. 7.0.0-pre-000288-4688bd3 02 Oct 2022 pre-release

    Nothing published for this version

  59. 7.0.0-pre-000282-d90ebf3 28 Sep 2022 pre-release

    Nothing published for this version

  60. 7.0.0-pre-000280-ce6d494 28 Sep 2022 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive