Profile
Back to NewsBack
GitHub Trending 1 min
Reader Mode
swift-server/swift-prometheus: Prometheus client library for Swift

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

15 hours ago

Swift Prometheus

![sswg:sandbox][SSWG-Incubation] ![Documentation][Documentation] Supported Swift Versions</a> Supported Platforms</a>

A Swift client library for Prometheus Monitoring System.

This can also be used a backend implementation for Swift Metrics.

swift-prometheus supports creating Counters, Gauges and Histograms, updating metric values, and exposing their values in the Prometheus text format.

Installation and Usage

Please see the swift-prometheus [DocC Documentation][Documentation] for details on installation, usage, implementation, and Prometheus standards compliance.

For general Prometheus guidance, see [Prometheus Monitoring System][prometheus-docs].

Security

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

Contributing

We welcome contributions! Please see CONTRIBUTING.md to learn how you can help, or browse our open issues to find a place to start.

Benchmarks

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.

[Documentation]: https://swiftpackageindex.com/swift-server/swift-prometheus/documentation/prometheus [prometheus-docs]: https://prometheus.io/docs/introduction/overview/ [SSWG-Incubation]: https://www.swift.org/sswg/incubation-process.html

Chat with me