# Self-Hosted Metrics (SHM) vs tidb

> Two self-hosted projects, compared on the numbers selfhost.directory tracks live: score, popularity, release cadence and setup effort.

| | Self-Hosted Metrics (SHM) | tidb |
|---|---|---|
| Score | 45/100 | 80/100 ✓ |
| Rank in category | #77 of 104 in Monitoring & observability | #4 of 38 in Databases |
| GitHub stars | 165 | 40 685 ✓ |
| Stars, last 30 days | — | +104 |
| Stable releases, 12 months | 9 ✓ | 2 |
| Latest release | v1.2.7 · 29 Jul 2026 | v8.5.8 · 27 Aug 2026 ✓ |
| Setup | Moderate ✓ | Advanced |
| Official Docker image | Yes | Yes |
| License | AGPL-3.0 | Apache-2.0 |
| Main language | Go | Go |

## Which one should you pick?

tidb scores 80/100 against 45/100 for Self-Hosted Metrics (SHM), so it is the safer default.

Self-Hosted Metrics (SHM) ships more often: 9 stable releases in the past year, against 2 for tidb.

If you want the quickest setup, Self-Hosted Metrics (SHM) is easier to run; tidb needs more configuration.

tidb is growing faster right now (+104 stars in 30 days).

## Details

- [Self-Hosted Metrics (SHM)](https://selfhost.directory/project/self-hosted-metrics-shm) (markdown: https://selfhost.directory/project/self-hosted-metrics-shm.md)
- [tidb](https://selfhost.directory/project/tidb) (markdown: https://selfhost.directory/project/tidb.md)

---
Source: https://selfhost.directory/compare/self-hosted-metrics-shm-vs-tidb