A Swift client library for Prometheus Monitoring System.
swift-prometheus
supports creating Counter
s, Gauge
s and Histogram
s, updating metric values, and exposing their values in the Prometheus text format.
Please refer to the Documentation for installation, usage instructions, and implementation details including Prometheus standards compliance.
For general Prometheus guidance, see Prometheus Monitoring System.
Please see SECURITY.md for details on the security process.
We welcome all contributions to swift-prometheus
! For feature requests or bug reports, please create an issue with detailed information including Swift version, platform, and reproduction steps. To contribute code, fork this repo and submit a pull request with tests and documentation updates.
Benchmarks are located in the Benchmarks subfolder and use the package-benchmark
plugin. See the Benchmarks Getting Started guide for installation instructions. Run benchmarks by navigating to Benchmarks and executing:
swift package benchmark
For more information please refer to swift package benchmark --help
or the package-benchmark
Documentation.