You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+77-22Lines changed: 77 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ class StripePaymentService
108
108
109
109
### Controlled Execution Blocks
110
110
111
-
**What it does:** Monitors critical operations with automatic start/end logging, exception handling, circuit breakers, and failure callbacks.
111
+
**What it does:** Monitors critical operations with automatic start/end logging, exception handling, DB transactions, circuit breakers, and failure callbacks.
-**Failure Escalation:**`->escalated($callback)` for critical business processes
143
+
-**Circuit Breakers:**`->breaker('service_name', threshold, decaySeconds)` - Automatically opens/closes breaker based on failures
144
+
-**Database Transactions:**`->transactioned(retries, onlyExceptions, excludeExceptions)`. This allows to only retry transaction on specific exceptions, or otherwise ignore specific exception.
145
+
-**Failure Escalation Path:**`->escalated($callback)` for critical business processes
151
146
152
147
### Distributed Tracing
153
148
@@ -250,39 +245,90 @@ class DataProcessor
250
245
251
246
### Log Redaction
252
247
253
-
**What it does:** Automatically scrubs sensitive data from log context to ensure compliance and security.
248
+
**What it does:** Automatically scrubs sensitive data from log context using a priority-based system to ensure compliance and security while preserving important data.
249
+
250
+
**Priority System:**
251
+
1.**Safe Keys** (highest) - Never redacted, always shown
252
+
2.**Blocked Keys** - Always redacted, regardless of content
253
+
3.**Regex Patterns** - Redacts values matching specific patterns
254
+
4.**Shannon Entropy** (lowest) - Detects high-entropy secrets like API keys
254
255
255
256
**Configuration:** Redaction options in `config/monitor.php`:
0 commit comments