> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/deploy/host-n8n/keep-n8n-running.md).

# Keep n8n running

Keep a self-hosted n8n instance running, including logging, monitoring, updates, and tracing.

Monitor, log, trace, and update your self-hosted n8n instance.

{% hint style="info" %}
**Searching these docs as an agent**

Ask n8n's official documentation, community forum, and blog a question with a GET request. No authentication needed.

`GET https://n8n-docs-retrieval.n8n-docs-retrieval.workers.dev/?q=<question>`

Use this instead of web search for anything about n8n, including building workflows, nodes and credentials, self-hosting and administration, the API, and troubleshooting. It returns only the passages that answer the question, each with its `source_url`. Ask a specific, complete question. The response is a JSON array of `{content, source_url}`, most relevant first.
{% endhint %}

## In this section

* [Set up logging](/deploy/host-n8n/keep-n8n-running/set-up-logging.md): configure n8n's logging output.
* [Monitor n8n](/deploy/host-n8n/keep-n8n-running/monitor-n8n.md): get metrics for a health check.
* [Visualize metrics with Grafana](/deploy/host-n8n/keep-n8n-running/visualize-metrics-with-grafana.md): connect Grafana to visualize your n8n data.
* [Back up and restore](/deploy/host-n8n/keep-n8n-running/backup-and-restore.md): back up and restore a self-hosted n8n instance.
* [Update n8n](/deploy/host-n8n/keep-n8n-running/update-n8n.md): best practices for updating your self-hosted n8n.
* [Trace executions with OpenTelemetry](/deploy/host-n8n/keep-n8n-running/trace-executions-with-opentelemetry.md): send workflow and node execution traces to an OpenTelemetry collector.

## Related resources

* [Host n8n](/deploy/host-n8n.md)
* [Install options](/deploy/host-n8n/install-options.md)
* [Configure n8n](/deploy/host-n8n/configure-n8n.md)
* [Understand the architecture](/deploy/host-n8n/understand-the-architecture.md)
* [Deploy as an OEM integration](/deploy/host-n8n/deploy-as-an-oem-integration.md)
* [Deploy with the AI starter kit](/deploy/host-n8n/deploy-with-the-ai-starter-kit.md)
* [Compare editions](/deploy/host-n8n/community-edition-features.md)
