Repository navigation
ObservabilityEvent
Viames Marino edited this page Apr 22, 2026
·
1 revision
Pair\Core\ObservabilityEvent is a small immutable event object for non-span observability signals.
Pair uses it for warning/error log events so adapters can forward error signals to systems such as Sentry without changing the span contract.
namelevelmessagecorrelationIdtimestampattributes
Applications usually do not instantiate this class directly. Use Observability::recordLogEvent(...) when a custom event should enter the same sanitized pipeline used by Pair logs.
use Pair\Core\Observability;
Observability::recordLogEvent('warning', 'Payment retry scheduled', [
'provider' => 'stripe',
]);See also: Observability, ObservabilityEventAdapter, SentryObservabilityAdapter.
Maintained by Viames Marino — VM Ingegneria · Professional enquiries
Home · Setup · Configuration
Build with Pair 4
- Generator
- Controllers and responses
- Read models
- ActiveRecord and queries
- Forms and validation
- PairUI.js and HTML fragments
APIs and authentication
- API guide and CRUD
- Middleware and rate limits
- Users, sessions, and ACL
- Passkeys and social login
- Native mobile setup
Integrate and operate
- Integrations
- Runtime extensions and adapter keys
- Cache and cache stores
- Logs and observability
- PWA and push
- Packages and distribution
- Upgrade to v4