Tianji: what it does and how to run it
website analytics, uptime monitoring, and server status - three tools most teams run separately - combined
Independent review. Some links are affiliate links; they never affect the verdict or the ranking. Full disclosure.
Tianji sits in the DevOps & Cloud section because that is the problem it solves. What follows is the project's own description, shortened; the notes after it are ours. The project describes it as: “Website analytics, uptime monitoring, and server status - three tools most teams run separately - combined in Tianji, an open-source observability platform.
The analytics layer tracks page views, unique visitors, referrers, and UTM parameters with a lightweight cookie-less script, which keeps collection GDPR and CCPA friendly. The uptime monitor checks availability and latency on configurable intervals, accepts passively reported results, and publishes public status pages for incident communication. Server status agents report CPU, memory, disk, and network metrics with threshold-based alerts, and notifications route through webhooks, Slack, Telegram, and other channels with noise control.
What Tianji actually does
It also includes anonymous telemetry for tracking…” The project builds it with Built in TypeScript under the Apache 2.0 license and i.
Who it is for
website analytics, uptime monitoring, and server status - three tools most teams run separately - combined
How Tianji compares
These are the entries closest to Tianji on this site — same category, overlapping job. Licence and hosting model are the two columns worth reading first, because they decide your total cost more than the feature list does.
| Tool | Licence | Cost | Best for |
|---|---|---|---|
| Tianji This page | Free to self-host | website analytics, uptime monitoring, and server status - three tools most teams run separately… | |
| Apache HTTP Server | Apache-2.0 | Free to self-host | The classic open-source web server |
| Caddy | Apache-2.0 | Free to self-host | Web server with automatic HTTPS out of the box |
| Grafana | AGPL-3.0 | Free to self-host | Beautiful dashboards for all your metrics |
How to get Tianji running
- Pick the hostA 2 GB VPS covers most of these apps for a small team. If you would rather not run an operating system, a managed app host gives you a one-click container with backups and TLS included.
- Provision the runtimeTianji ships as a container image or a documented install script. Pin a
release tag rather than tracking
latest, so an upstream change never surprises you on a Friday. - Attach persistent storagePoint the data volume at a path you back up. Most of these apps keep everything — users, settings, history — in one database plus an uploads folder.
- Put it behind a domain with TLSAdd an A record, then terminate TLS at your proxy or at the host. Set the public URL in the app's environment before first login, because several apps bake it into links.
- Secure the admin accountChange the default credentials, enable 2FA where offered, and close registration unless the app is meant to be public.
- Schedule the first backupA nightly snapshot that you have actually restored once is worth more than any feature on this page.
Licence and cost
. No licence is listed for this entry, so treat redistribution rights as unclear until you check the project repository.
Self-hosting removes the subscription but not the work: patching, backups, monitoring and the odd 2am alert. Budget a few hours a month for a small deployment.
Questions people ask
Is Tianji free to use?
Yes. Tianji is released under an open licence, so you can install and run it without a subscription. No licence is listed for this entry, so treat redistribution rights as unclear until you check the project repository. Hosting and maintenance still cost money — a small VPS or a managed app host is the usual answer.
Can I self-host Tianji?
Yes — that is the point of this listing. You need a server with a supported runtime, persistent storage and a backup schedule. A managed app host removes most of the setup work if you would rather not maintain the operating system yourself.
What is a good alternative to Tianji?
Apache HTTP Server is the closest option in the same category on this site — The classic open-source web server. It is worth comparing licence terms before you pick.
Who is Tianji aimed at?
Start with a single team and a single workflow rather than rolling it out to the whole company at once.