Announcing Swift System Metrics 1.0

We are excited to announce the 1.0 release of Swift System Metrics, a Swift package that collects process-level system metrics like CPU utilization time and memory usage. Swift System Metrics runs on both Linux and macOS, providing a common API across platforms.

swift.org/blog/swift-system-metrics-1.0-released/

Apple released Swift System Metrics 1.0. It is a Swift package that collects system metrics from a process. It works on Linux and macOS with the same API. It tracks:

You add it with a few lines of code. It sends data to Swift Metrics, which works with Prometheus and OpenTelemetry. It uses Swift Service Lifecycle for start-up and clean-up. Version 1.0 has a stable API. The package was once called swift-metrics-extras. It includes an example Grafana dashboard.


Enjoyed this post?

Well, you could share the post with others, follow me with RSS Feeds and/or send me a comment via email.


Tags

Category:

Tag:

Year:


#100DaysToOffload 20 of 100