Overview
Integrate AgentCat with Sentry for error tracking and performance monitoring. Events are sent as logs, and optionally as transactions for performance analysis.Prerequisites
- A Sentry project with a DSN (Data Source Name)
- DSN can be found in your Sentry project settings under “Client Keys (DSN)”
https://a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6@o123456.ingest.us.sentry.io/789. The examples below read it from a SENTRY_DSN environment variable rather than hardcoding it.
Configuration
Configuration Fields
Field Mapping
Trace and Event IDs
Log Events
All events are sent as logs with the following structure:Transaction Events
Transaction events are only sent when
enableTracing is set to true in the
configuration.Tags
Events include the following tags for filtering and grouping:Extra Data
Additional context fields stored with events:Error Events
Whenis_error is true, Sentry receives:
- A log event (always sent)
- A transaction event (if
enableTracingis true) - A separate error event for the Issues tab