# New databases skip the deprecated agno_metrics table

> Agno AgentOS sets up new databases without the deprecated agno_metrics table and logs no-op calculate_metrics messages at debug level.

- Published: 2026-11-12
- Author: Harsh Sinha
- Categories: Changelog
- Canonical: https://www.agno.com/blog/new-databases-skip-the-deprecated-agno-metrics-table
- Markdown: https://www.agno.com/blog/new-databases-skip-the-deprecated-agno-metrics-table.md

Agno AgentOS no longer creates the deprecated `agno_metrics` table in new databases, and it logs no-op metrics refreshes at debug level instead of INFO. Earlier releases created the table every time and logged whenever `calculate_metrics` found nothing to do.

The change covers SQLite, Postgres, MySQL, SingleStore, MongoDB and DynamoDB, the stores that create tables at startup, and `/config` stops listing the deprecated table. An upgraded database keeps its table and rows. We started AgentOS on an empty SQLite file under both releases:

```text
Earlier releases   metrics tables: ['agno_metrics']
This release       metrics tables: ['agno_aggregate_metrics', 'agno_component_metrics', 'agno_metrics_refreshes']
```

The background refresh calls `calculate_metrics` every minute by default, so its two no-op messages, `No session data found. Won't calculate metrics.` and `Metrics already calculated for all relevant dates.`, now log at debug level on every database class that prints them. On an empty SQLite database, earlier releases printed `INFO No session data found. Won't calculate metrics.` and this release prints nothing at the default log level.

See the [cookbook](https://github.com/agno-agi/agno/blob/main/cookbook/05_agent_os/13_observability/metrics.py), and learn more about [storage](https://docs.agno.com/features/storage) in the documentation.
