Quick Start¶
Generate your complete reliability stack in 5 minutes.
1. Install NthLayer¶
2. Run Interactive Setup¶
This guides you through configuring:
- Prometheus - For metric discovery and SLO queries
- Grafana - For dashboard deployment (optional)
- PagerDuty - For alerting integration (optional)
Example output:
================================================================================
Welcome to NthLayer!
================================================================================
Quick Setup
----------------------------------------
1. Prometheus Configuration
Prometheus URL [http://localhost:9090]:
2. Grafana Configuration (optional)
Configure Grafana? [Y/n]: y
Grafana URL [http://localhost:3000]:
API Key: ****
Testing Connections
----------------------------------------
Prometheus (http://localhost:9090)
[OK] Connected (Prometheus 2.45.0)
Grafana (http://localhost:3000)
[OK] Connected - Org: Main Org
Configuration saved to: ~/.nthlayer/config.yaml
3. Create a Service Spec¶
Create payment-api.yaml:
4. Generate Configs¶
Output:
Generated: generated/payment-api/
├── dashboard.json # Import to Grafana
├── alerts.yaml # Add to Prometheus
├── slos.yaml # OpenSLO format
└── recording-rules.yaml # Prometheus rules
5. View Your SLO Portfolio¶
================================================================================
NthLayer SLO Portfolio
================================================================================
Organization Health: 100% (1/1 services meeting SLOs)
By Tier:
Critical: 100% ████████████████████ 1/1 services
Next Steps¶
- Your First Service - Detailed service spec guide
- Commands - Full CLI reference
- Technologies - 18 supported technologies