---
title: "Monitor production"
description: "Where to look once the app is live: each capability's state, error reports and uptime, cron check-ins, the deployment's logs and their codes, the webhook delivery log, the activity trail and the providers' own dashboards, with what each tells you."
canonical_url: "https://nuxt-backend.dev/docs/ship/operate"
---
# Monitor production

> Where to look once the app is live: each capability's state, error reports and uptime, cron check-ins, the deployment's logs and their codes, the webhook delivery log, the activity trail and the providers' own dashboards, with what each tells you.

Version: nuxt-backend 0.6.x · Tab: Ship · Kind: how-to · Status: stable

Every page: [llms.txt](https://nuxt-backend.dev/llms.txt) · Skill for coding agents: [nuxt-backend](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/SKILL.md)

Commands use npm; use your project's package manager.

Once your app is live, a few places tell you how it is doing, each for one kind of question. The package wires most of them for you: error reports and check-ins once a DSN is set, a health endpoint, log lines with stable codes, a log of every webhook delivery and an activity trail. This page is the map, and each row links to the page that sets it up.

<table>
<thead>
  <tr>
    <th>
      You want to know
    </th>
    
    <th>
      Look at
    </th>
    
    <th>
      Set up in
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Whether every capability is configured
    </td>
    
    <td>
      <code>
        npx nuxt-backend status --prod
      </code>
      
      , or the admin console's System tab
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/start/concepts/capabilities">
        Capabilities
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Whether the app is up
    </td>
    
    <td>
      An uptime check on <code>
        /api/backend/health
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/ship/operate/monitoring#the-health-endpoint">
        Monitoring
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      What failed, where, and for whom
    </td>
    
    <td>
      Error reports in Sentry, tagged with the function and the error code
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/ship/operate/monitoring#what-gets-reported">
        Monitoring
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Whether the scheduled jobs ran
    </td>
    
    <td>
      Cron monitors: the backend's own <code>
        backend-maintenance
      </code>
      
      , and yours
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/ship/operate/monitoring#check-jobs-in">
        Monitoring
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      What the backend logged
    </td>
    
    <td>
      The Convex dashboard's logs, searched by log code
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/ship/operate/troubleshooting#log-codes">
        Log codes
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Whether a purchase or an email event arrived
    </td>
    
    <td>
      The webhook delivery log
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/ship/security/webhooks#the-delivery-log">
        Register webhooks
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Who did what
    </td>
    
    <td>
      The activity trail
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/build/auth/admin/audit-log">
        Activity trail
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      How the business is doing
    </td>
    
    <td>
      The billing provider's dashboard, and the admin console's revenue and growth views
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/build/auth/admin">
        Run the admin console
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Whether mail reaches inboxes
    </td>
    
    <td>
      <code>
        doctor --prod
      </code>
      
      's reputation and quota checks, and the email provider's dashboard
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/build/email/delivery/deliverability">
        Get email into inboxes
      </a>
    </td>
  </tr>
</tbody>
</table>

## Check the capabilities

```bash
npx nuxt-backend status --prod
```

It shows each [capability](https://nuxt-backend.dev/docs/start/concepts/capabilities) of production with its state and the findings behind it. It reads production's mode off the deployment, so a capability left in a provider's test mode never reads as live. The admin console's System tab shows the same states from the health endpoint, with why each is in its state. Run `npx nuxt-backend doctor --prod` after every env change: it also probes the live site.

## Watch errors and uptime

With `MONITORING_DSN` on the deployment and a DSN in the app, every crash and failed backend call reaches Sentry from wherever it happened, tagged with the function it ran (`backend.function`), its error code (`backend.code`) and the side that saw it (`backend.source`). A refusal the app made on purpose, such as a role the caller lacks, is never reported, so what arrives needs a look. Point an uptime check at `/api/backend/health`: it answers `503` when a capability's env is unusable or the backend cannot be reached. [Monitor errors and uptime](https://nuxt-backend.dev/docs/ship/operate/monitoring) sets both up.

## Read the logs

Convex keeps every function's log lines; the dashboard's Logs page searches them, and a Convex Pro plan can stream them to a log service of yours. Every line the package writes reads `[nuxt-backend] <code>: <message>`, and no line names a person, so a search for the code finds each occurrence: [Log codes](https://nuxt-backend.dev/docs/ship/operate/troubleshooting#log-codes) says what each one means and what to do. The Nuxt server's own logs are your host's: on Vercel, the project's runtime logs, or a log drain.

## Follow the webhooks

Plans, credits and email statuses move when the providers' events arrive. The webhook delivery log keeps every verified delivery with its outcome, and counts the requests refused before any signature checked out. Read it in DevTools' Backend tab, signed in as an administrator, or with `getWebhookDeliveries` from an administrator's code. An outcome other than `ok` says what to fix: [Respond to incidents](https://nuxt-backend.dev/docs/ship/operate/runbooks#webhooks-fail).

## Review the activity

The activity trail records sign-ins, passkey and email changes, workspace and role changes, billing events, administrator actions and flag changes, as ids. Administrators read all of it in the admin console's Activity tab; a workspace's owners read theirs in its settings ([Record and review activity](https://nuxt-backend.dev/docs/build/auth/admin/audit-log)).

## Pull a lever

Some incidents are best met by switching something off while you fix it. The kill switches pause sign-ups, checkout or AI for everyone at once, and the maintenance banner tells people what is going on, all from the admin console with no deploy ([Roll out features and pause services](https://nuxt-backend.dev/docs/ship/operate/flags#kill-switches)).

## In this section

<card-group>
<card icon="i-lucide-activity" title="Monitor errors and uptime" to="https://nuxt-backend.dev/docs/ship/operate/monitoring">

Error reports from every side, cron check-ins, and the health endpoint.

</card>

<card icon="i-lucide-toggle-right" title="Flags and kill switches" to="https://nuxt-backend.dev/docs/ship/operate/flags">

Roll features out by account, workspace, plan or percentage, and pause services in one switch.

</card>

<card icon="i-lucide-siren" title="Respond to incidents" to="https://nuxt-backend.dev/docs/ship/operate/runbooks">

What to check and what to do when webhooks, erasures, crons, limits or a provider fail.

</card>

<card icon="i-lucide-life-buoy" title="Troubleshooting" to="https://nuxt-backend.dev/docs/ship/operate/troubleshooting">

Fixes by symptom, and every log code.

</card>

<card icon="i-lucide-database-backup" title="Back up, restore and roll back" to="https://nuxt-backend.dev/docs/ship/operate/backup">

Snapshots of the deployment, a restore with the providers caught up, and a rollback across schema changes.

</card>

<card icon="i-lucide-settings-2" title="Apply the provider settings" to="https://nuxt-backend.dev/docs/services#recommended-settings">

`doctor --fix` sets the billing settings its findings recommend, and keeps both webhook endpoints healthy.

</card>

<card icon="i-lucide-message-circle-question" title="Get help" to="https://nuxt-backend.dev/docs/ship/operate/help">

Where to ask, what to include, and how a security report differs.

</card>
</card-group>

## Related

- [Prepare for launch](https://nuxt-backend.dev/docs/ship/checklist): what to check before the first real visitor.
- [Diagnostics](https://nuxt-backend.dev/docs/reference/cli/diagnostics): every finding `doctor` and `status` report.
- [Service map](https://nuxt-backend.dev/docs/services): each provider's own dashboard, and what it holds.
- [HTTP routes](https://nuxt-backend.dev/docs/reference/backend/http-routes): the health routes, beside every other route.


## Sitemap

See the full [sitemap](https://nuxt-backend.dev/sitemap.md) for all pages.
