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

# Monitoring & Debugging

> View logs, metrics, and troubleshoot issues

## View Logs

```
show me the API server logs
```

Stream live logs from any service.

→ [Monitoring](/features/monitoring)

## Analyze Logs

```
check the API server logs for errors
```

Monk analyzes logs and finds patterns.

## Shell Access

```
give me shell access to the database server
```

Get direct shell access to any container.

## Check Status

```
what's running right now?
```

See current state of all services.

## Resource Usage

```
what's the resource usage?
```

Check CPU, memory, disk, network for all services.

## Check Specific Service

```
show me the database performance
```

View metrics for a specific service.

## Live Monitoring

```
watch the API server metrics
```

Monitor a service in real-time.

## Service Health

```
are all services healthy?
```

Check health status across your system.

## What Monk Shows

**Logs:**

* Live streaming
* Historical logs
* Filtered by time/severity
* Error highlighting

**Metrics:**

* CPU, memory, disk, network
* Application metrics (queue depth, cache hits)
* Database performance (query times, connections)
* API response times

**System State:**

* Running services
* Container status
* Resource allocation
* Network connections

## Next Steps

* [Troubleshooting Issues](/prompting/troubleshooting) - Fix problems
* [Scaling Resources](/prompting/scaling-resources) - Scale based on metrics
* [Managing Costs](/prompting/managing-costs) - Correlate usage with costs
