Skip to main content

Can I create "informational" events that won't count as errors?

Issue

I want to create an informational event that shows up like a transaction rather than an error. I do not want it counted as an error, and I do not need to time anything with it.

Applies To

  • All SaaS Customers

Resolution

Sentry offers two ways to record informational, non-error signals:

  1. Use Sentry Structured Logs. Enable logs in your SDK and send them with the Sentry.logger API (for example, Sentry.logger.info). Logs appear in the Logs view, count toward your logs quota rather than your errors, and are connected to your traces and errors. Every plan includes 5GB of logs per month for free. See the setup guide for your SDK.

  2. Send an informational event with Sentry.captureMessage(). It appears in your Issues tab with the tag level:info. These events count toward your reserved errors. Here is an example of an informational event on your Issues page:

Aside from the free monthly logs allotment, there is no other way to send these informational events for free. The captureMessage approach consumes your reserved errors.

Did this answer your question?