<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/announcing-swift-system-metrics-1-0-process-level-monitoring-x2ddug70q" -->

---
title: Announcing Swift System Metrics 1.0: Process-Level...
description: Swift System Metrics has reached its 1.0 release, a Swift package that collects process-level metrics such as CPU utilization, memory usage, file descriptor...
canonical: https://daily.dev/posts/announcing-swift-system-metrics-1-0-process-level-monitoring-x2ddug70q
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Announcing Swift System Metrics 1.0: Process-Level Monitoring | daily.dev
og:description: Swift System Metrics has reached its 1.0 release, a Swift package that collects process-level metrics such as CPU utilization, memory usage, file descriptor...
og:url: https://daily.dev/posts/announcing-swift-system-metrics-1-0-process-level-monitoring-x2ddug70q
og:image: https://api.daily.dev/og/posts/x2dDug70Q.png
og:image:alt: Announcing Swift System Metrics 1.0: Process-Level Monitoring
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Announcing Swift System Metrics 1.0: Process-Level Monitoring

**[Swift.org](https://daily.dev/sources/swift)** · 3 min read · 0 upvotes · 0 comments

## Summary

Swift System Metrics has reached its 1.0 release, a Swift package that collects process-level metrics such as CPU utilization, memory usage, file descriptor counts, and process start time on both Linux and macOS. It integrates with Swift Metrics for reporting to backends like Prometheus and OpenTelemetry, and uses Swift Service Lifecycle for bootstrapping and cleanup. The package was previously named swift-metrics-extras and has been renamed. With 1.0, its API is stable and will maintain backwards compatibility going forward. A sample Grafana dashboard configuration is included to help visualize metrics quickly.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://swift.org/blog/swift-system-metrics-1.0-released>

## Questions this post answers

### What is Swift System Metrics and what does version 1.0 add?

Swift System Metrics 1.0 is a Swift package that collects process-level metrics including CPU utilization time, virtual and resident memory usage, open and maximum file descriptors, and process start time on both Linux and macOS. The 1.0 release makes the public API stable and guarantees backwards compatibility going forward. It reports data through Swift Metrics to backends like Prometheus and OpenTelemetry, and uses Swift Service Lifecycle for setup and cleanup.

_daily.dev helps Swift developers track new releases like this when adding observability to their services._

### Was swift-metrics-extras renamed to swift-system-metrics?

Yes, the package now called Swift System Metrics was previously named swift-metrics-extras and was renamed to better reflect its purpose of collecting process-level system metrics. It reached its 1.0 milestone with a stable, backwards-compatible API under the new name.

_Developers migrating Swift dependencies can follow renames like this one on daily.dev._

### How do I add Swift System Metrics to a Swift Package.swift file?

Add `.package(url: "https://github.com/apple/swift-system-metrics", from: "1.0.0")` as a package dependency, then add `.product(name: "SystemMetrics", package: "swift-system-metrics")` to your target's dependencies. After importing SystemMetrics along with ServiceLifecycle, create a SystemMetricsMonitor and include it in your ServiceGroup alongside your other services.

_daily.dev keeps developers wiring up observability tooling current on package integration steps like these._

## Similar posts on daily.dev

- [Monitoring app performance with MetricKit](https://daily.dev/posts/monitoring-app-performance-with-metrickit-zxpakgrra) · Swift with Majid · 0 upvotes · 0 comments
- [Robust Monitoring Of Linux Host with Prometheus & Grafana \(A. Fetching metrics\)](https://daily.dev/posts/robust-monitoring-of-linux-host-with-prometheus-grafana-a-fetching-metrics--jxiuat0vk) · ITNEXT · 0 upvotes · 0 comments
- [Building Type-Safe Metrics API in Swift: Part I](https://daily.dev/posts/building-type-safe-metrics-api-in-swift-part-i-edepchvsz) · Sentry Engineering · 0 upvotes · 0 comments
- [Elastic’s new metrics capabilities will dramatically improve uptime for public sector IT](https://daily.dev/posts/elastic-s-new-metrics-capabilities-will-dramatically-improve-uptime-for-public-sector-it-1tv2tpxd0) · elastic · 0 upvotes · 0 comments

---

Tags: [#swift](https://daily.dev/tags/swift), [#observability](https://daily.dev/tags/observability), [#grafana](https://daily.dev/tags/grafana), [#prometheus](https://daily.dev/tags/prometheus)

[View this post on daily.dev](https://daily.dev/posts/announcing-swift-system-metrics-1-0-process-level-monitoring-x2ddug70q)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Announcing Swift System Metrics 1.0: Process-Level Monitoring","url":"https://daily.dev/posts/announcing-swift-system-metrics-1-0-process-level-monitoring-x2ddug70q","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/announcing-swift-system-metrics-1-0-process-level-monitoring-x2ddug70q"},"datePublished":"2026-08-23T12:16:59.802Z","dateModified":"2026-08-23T12:19:49.414Z","description":"Swift System Metrics has reached its 1.0 release, a Swift package that collects process-level metrics such as CPU utilization, memory usage, file descriptor...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a84431829d7038329ec0395874d1502a?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a84431829d7038329ec0395874d1502a?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Swift.org","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Swift.org","logo":"https://media.daily.dev/image/upload/s--x7Cjs0jz--/f_auto,q_auto/v1787487412/logos/swift?_a=BAMAMicg0","url":"https://daily.dev/sources/swift"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/announcing-swift-system-metrics-1-0-process-level-monitoring-x2ddug70q","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"swift,observability,grafana,prometheus","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Swift.org","item":"https://daily.dev/sources/swift"},{"@type":"ListItem","position":3,"name":"Announcing Swift System Metrics 1.0: Process-Level Monitoring"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/announcing-swift-system-metrics-1-0-process-level-monitoring-x2ddug70q#faq","mainEntity":[{"@type":"Question","name":"What is Swift System Metrics and what does version 1.0 add?","acceptedAnswer":{"@type":"Answer","text":"Swift System Metrics 1.0 is a Swift package that collects process-level metrics including CPU utilization time, virtual and resident memory usage, open and maximum file descriptors, and process start time on both Linux and macOS. The 1.0 release makes the public API stable and guarantees backwards compatibility going forward. It reports data through Swift Metrics to backends like Prometheus and OpenTelemetry, and uses Swift Service Lifecycle for setup and cleanup. daily.dev helps Swift developers track new releases like this when adding observability to their services."}},{"@type":"Question","name":"Was swift-metrics-extras renamed to swift-system-metrics?","acceptedAnswer":{"@type":"Answer","text":"Yes, the package now called Swift System Metrics was previously named swift-metrics-extras and was renamed to better reflect its purpose of collecting process-level system metrics. It reached its 1.0 milestone with a stable, backwards-compatible API under the new name. Developers migrating Swift dependencies can follow renames like this one on daily.dev."}},{"@type":"Question","name":"How do I add Swift System Metrics to a Swift Package.swift file?","acceptedAnswer":{"@type":"Answer","text":"Add `.package(url: \"https://github.com/apple/swift-system-metrics\", from: \"1.0.0\")` as a package dependency, then add `.product(name: \"SystemMetrics\", package: \"swift-system-metrics\")` to your target's dependencies. After importing SystemMetrics along with ServiceLifecycle, create a SystemMetricsMonitor and include it in your ServiceGroup alongside your other services. daily.dev keeps developers wiring up observability tooling current on package integration steps like these."}}]}
```

