SystemMetrics collects CPU and RAM usage metrics over time and sends them to Sentry using Sentry's metrics product.
- 📊 CPU & RAM Monitoring - Continuously tracks system resource usage
- 📈 Sentry Integration - Automatically sends metrics to Sentry for monitoring and alerting
- 🖥️ Menu Bar App - Lives in your menu bar, always accessible but never intrusive
- ⚙️ Customizable - Configure your Sentry DSN and device name in settings
- 🔒 Privacy Focused - Metrics collected locally before being sent to Sentry
- ⚡ Lightweight - Minimal resource footprint, built with SwiftUI
- macOS 14.0 or later
- Xcode 15.0 or later
- Swift 5.9 or later
-
Clone the Repository:
git clone https://github.com/techprimate/SystemMetrics.git cd SystemMetrics -
Install Dependencies:
make setup
This will install Homebrew dependencies and set up pre-commit hooks.
-
Build the Application:
make build
Or open the project in Xcode:
open SystemMetrics.xcodeproj
-
Get Your Sentry DSN:
- Create a project in Sentry
- Copy your DSN from the project settings
-
Configure the App:
- Launch SystemMetrics
- Open Settings (⌘,)
- Enter your Sentry DSN
- Optionally set a custom device name
-
Monitor Metrics:
- Metrics will start collecting automatically
- View them in your Sentry dashboard under Metrics
Contributions are welcome! Please see CONTRIBUTING.md for development setup, guidelines, and detailed documentation.
- 📧 Email Support - Direct help for any questions
- 🐛 Report Issues - Bug reports and feature requests on GitHub Issues
- 📖 Documentation - Detailed guides and technical docs
This project is open source under the MIT License. See LICENSE for details.
SystemMetrics is inspired by iStat Menus, a comprehensive system monitoring tool for macOS.
SystemMetrics is a personal project crafted with care by Philip Niedertscheider.