A prometheus client for Swift supporting counters, gauges and histograms. Swift Prometheus implements the Swift Metrics API.
Please see SECURITY.md for details on the security process.
All contributions are most welcome!
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.)
|Last commit: Yesterday|
This 2.0 pre-release contains breaking changes compared to the current released version 1.x:
PrometheusClienthas been renamed to
PrometheusCollectorRegistryhave been changed as well
createMetrichas been renamed to
makeMetricin most cases
PromMetricprotocol has been removed
Please refer to our documentation hosted on the Swift Package Index for more details regarding the new API.