Thanks to visit codestin.com
Credit goes to github.com

Skip to content

swift-server/swift-prometheus

Swift Prometheus

sswg:sandbox Documentation
Supported Swift Versions Supported Platforms

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 for details on installation, usage, implementation, and Prometheus standards compliance.

For general Prometheus guidance, see Prometheus Monitoring System.

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.