📊 Monitoring and Observability
Track your serverless applications in real-time with comprehensive metrics, logs, and alerting capabilities.
🔍 Jump to Core ConceptsCore Concepts
Metrics
Real-time performance metrics across all BCE Lambda functions: invocation count, error rates, latency.
Log Streaming
Live access to function execution logs with filtering and full text search capabilities.
Alerting
Configure custom alert thresholds and get proactive notifications via email or webhook.
Key Features
Live Dashboards
Visualize function performance trends with interactive metrics charts and heat maps.
$ bcl dashboard show my-function
Custom Alerts
Set custom alert thresholds for error rates, latency, and function invocations.
alerts: - type: error_rate threshold: 2%
Getting Started
Enable Monitoring
$ bcl monitoring enable my-function
✔ Enabled logging
✔ Activated metrics collection
✔ Created alerting profile
Logs are automatically stored
Retention period: 7 days
Default alerts enabled
Error rate > 1%, Latency > 2s
Best Practices
Correlate Logs
Use trace IDs to link logs across different functions for debugging distributed workflows.
Time Windows
Set alerting time windows to avoid alert fatigue for infrequent anomalies.
Security Auditing
Monitor for unauthorized access attempts and failed authentication events.