Azure Insights Handler for Monolog
WordPress plugin forwarding Monolog logs and custom telemetry (traces, requests, exceptions, events, metrics) to Azure Application Insights.
by Per Søderlind · github.com/soderlind/azure-insights-handler-for-monolog
★ 0stars
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/soderlind/azure-insights-handler-for-monolog/releases/download/0.5.0/azure-insights-handler-for-monolog.zipFrom the readme
Azure Insights Handler for Monolog
WordPress plugin forwarding Monolog logs and custom telemetry (traces, requests, exceptions, events, metrics) to Azure Application Insights.
Features
- Trace (MessageData) telemetry for Monolog records
- Request telemetry (captured on shutdown)
- Exception telemetry with parsed stack
- Event telemetry via aiwevent() helper
- Metric telemetry via aiwmetric() helper and performance collector (hook durations)
- Correlation (trace/span) IDs from incoming traceparent header when available
- Sampling with filter override (aiwshouldsample)
- Configurable feature toggles (performance metrics, events API, diagnostics)
- Retry queue (exponential backoff) & admin viewer
- Uses options by default; define AIWRETRYSTORAGE to transient to keep queue in a transient (still shadow-synced to option for durability)
- Mock mode (no HTTP) + persistent mock telemetry viewer
- Advanced redaction:
- Built-in sensitive keys
- Admin-configurable additional keys
- Regex value redaction (comma‑separated PCRE patterns)
- Diagnostic metadata aiwredaction listing redacted keys/patterns
- Test telemetry button (trace, event, metric, optional exception)
- Batch buffering (s
Read the full README on GitHub →