sf-monitor
v1.5.0
Published
Salesforce monitoring toolkit - governor limits, flows, performance, and debugging tools
Downloads
6
Maintainers
Readme
sf-monitor
Salesforce monitoring toolkit for governor limits, flows, performance, and debugging.
Prerequisites
- Salesforce CLI installed and authenticated
- Node.js 18+
Install
npm install -g sf-monitorSetup
First, authenticate with Salesforce CLI:
sf org login web
# or for sandbox:
sf org login web --instance-url https://test.salesforce.comThen run setup:
sf-monitor setupThis will show your authenticated orgs and let you choose one to monitor.
Usage
# Check current limits
sf-monitor status
# Monitor once and exit
sf-monitor monitor
# Monitor continuously
sf-monitor monitor --continuous
# Monitor specific org
sf-monitor status --org my-sandbox
sf-monitor monitor --org production --continuousWhat it monitors
- API request limits
- Data and file storage
- Email limits
- Processing limits (Apex, workflows)
- Platform events
Coming Soon
- Flow debugging and tracing
- Performance monitoring
- Error tracking
- Salesforce CLI plugin
- VS Code extension
Alerts
Configure during setup:
- Console output (default)
- Email notifications
- Slack webhooks
- Custom webhooks
Requirements
- Salesforce CLI (
sforsfdx) - At least one authenticated Salesforce org
- Node.js 18 or higher
Authentication
sf-monitor uses your existing Salesforce CLI authentication. No passwords or tokens stored locally.
License
MIT License
