---
updatedAt: 2025-05-07T22:26:36.000Z
agentTools:
  projectIndex: https://docs.infield.ai/llms.txt
---

# Monitor Deprecations

Deprecation warnings help catch breaking changes in package upgrades. They are especially useful for catching issues in untested code when you monitor for them in your staging and production environments. Infield can track deprecation warnings at runtime automatically. It's similar to a tool like [deprecation\_toolkit](https://github.com/Shopify/deprecation_toolkit), but warnings are reported to our API for aggregation and tracking over time.

**Set up**

* Create an Infield account (<https://app.infield.ai/users/sign_up>)
* Connect a repository by installing our Github app or uploading manifest files
* Follow [these instructions](https://github.com/infieldai/infield-ruby/blob/main/README.md#setup) to set up the Infield gem

**Monitoring Deprecations**

Deprecation warnings will show up inside Infield as they're encountered in your application. Warnings are split up by Rails environment. We suggest enabling the gem in your staging or QA environment as well as in production.