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 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.)
link |
Stars: 118 |
Last commit: Yesterday |
This 2.0 pre-release contains breaking changes compared to the current released version 1.x:
PrometheusClient
has been renamed to PrometheusCollectorRegistry
PrometheusCollectorRegistry
have been changed as well createMetric
has been renamed to makeMetric
in most casesPromMetric
protocol has been removedProm
Please refer to our documentation hosted on the Swift Package Index for more details regarding the new API.
FUNDING.yml
(#88)Package.resolved
(#87)Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics