swift-prometheus

2.0.0

Prometheus client library for Swift
swift-server/swift-prometheus

What's New

2.0.0

2024-05-01T13:29:00Z

Highlights

The 2.0 release brings new and improved APIs which provide a more correct user-experience and overall higher performance.

This release is a major version that contains breaking changes compared to the 1.x versions:

  • PrometheusClient has been renamed to PrometheusCollectorRegistry
    • Most method names on PrometheusCollectorRegistry have been changed as well createMetric has been renamed to makeMetric in most cases
  • Summaries are no longer supported
  • The PromMetric protocol has been removed
  • The Collector types are no longer prefixed with Prom

Please refer to our [documentation] hosted on the Swift Package Index for more details regarding the new API.

What's Changed (since 1.x series)

See also: 2.0.0-alpha.1, 2.0.0-alpha.2 for the previous alpha releases of the 2.x series.

New Contributors

Full Changelog: 1.0.2...2.0.0

Swift Prometheus

sswg:sandbox Documentation

A Swift client for the Prometheus monitoring system, supporting counters, gauges and histograms. Swift Prometheus implements the Swift Metrics API.

Security

Please see SECURITY.md for details on the security process.

Contributing

All contributions are most welcome!

If you think of some cool new feature that should be included, please create an issue. Or, if you want to implement it yourself, fork this repo and submit a PR!

If you find a bug or have issues, please create an issue explaining your problems. Please include as much information as possible, so it's easier for us to reproduce (Framework, OS, Swift version, terminal output, etc.)

Description

  • Swift Tools 5.7.0
View More Packages from this Author

Dependencies

Last updated: Wed Dec 18 2024 13:41:40 GMT-1000 (Hawaii-Aleutian Standard Time)