> ## Documentation Index
> Fetch the complete documentation index at: https://inframan.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Monitor

> Metrics, logs, traces and alerts for every application, collected and stored inside your own cluster, with nothing to set up.

Every infrastructure comes with its own observability stack, running inside its cluster: **Prometheus** for metrics, **Loki** for logs, **Tempo** for traces, **AlertManager** for alerts, and **Alloy** to collect from every node. It's installed with the infrastructure, so there's nothing to sign up for and nothing to configure before your first deploy.

Your telemetry never leaves your cloud account, and there's no per-gigabyte bill from a monitoring vendor. You pay only for the small nodes and disks the stack runs on.

> [card] [Metrics](https://inframan.mintlify.site/monitor/metrics.md)
>
> CPU, memory, network, restarts and replicas for every service, plus request volume and latency at the edge.

> [card] [Logs](https://inframan.mintlify.site/monitor/logs.md)
>
> Everything your containers write to stdout and stderr, collected automatically and searchable by service and version.

> [card] [Traces](https://inframan.mintlify.site/monitor/traces.md)
>
> Send OpenTelemetry traces to the in-cluster endpoint and follow a request across services in a waterfall view.

> [card] [Alerts](https://inframan.mintlify.site/monitor/alerts.md)
>
> Firing alerts for the cluster, failed releases, and anything the platform couldn't fix by itself.

## What's automatic

| Signal | What you get without changing your code | What you add |
| - | - | - |
| Logs | Every line each container writes, from every pod | Write JSON with a `trace_id` to link log lines to traces |
| Metrics | Resource use, restarts and replica counts per service; request metrics for traffic through your domains | |
| Traces | A trace store and viewer, ready to receive | Instrument your services with OpenTelemetry. See [Traces](https://inframan.mintlify.site/monitor/traces.md). |
| Alerts | Rules for the failures that matter in Kubernetes, firing into Inframan | |

## Where to look

* **Observability** in the sidebar: metrics, logs, traces and alerts across applications, plus a **Platform** view of the cluster's capacity.
* An application's **Metrics** and **Logs** tabs, and a service's **Monitoring** and **Logs** tabs.
* An add-on's **Monitoring** tab, for PostgreSQL and Redis.
* The notification bell, for anything that needs a person.
* A connected AI assistant, which can fetch metrics, logs and traces by name, without writing PromQL or LogQL. See [Connect an AI assistant](https://inframan.mintlify.site/get-started/ai-assistants.md).

## How long data is kept

On a non-production infrastructure:

| Data | Kept for | Disk |
| - | - | - |
| Metrics | 3 days | 5 GiB |
| Logs | 72 hours | 5 GiB |
| Traces | 24 hours | 5 GiB |

You can change how long metrics are kept. See [The monitoring stack](https://inframan.mintlify.site/monitor/monitoring-stack.md).

## The platform watches itself

Inframan uses the same alerts to keep its own components healthy. When the ingress, Knative or the monitoring stack runs out of memory or is starved of CPU, Inframan raises its limits and redeploys it, and calls a person only when that doesn't work. See [Self-healing](https://inframan.mintlify.site/monitor/self-healing.md).

## Private by design

Prometheus, Loki and Tempo have no public address. The console and AI assistants read them through Inframan, which checks your permissions on every request. Where Inframan has no private network path to the cluster, it reads through the infrastructure's own load balancer over mutual TLS, with a certificate authority that lives in your cloud account. See [Network security](https://inframan.mintlify.site/secure/network.md#how-inframan-reads-your-monitoring-data).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.