Trifle - Time-Series Metrics Made Simple

3 min read Original article ↗

Open Source Time-Series Analytics

Track what matters.
Skip the infrastructure.

Time-series metrics that work with your existing database.

Track counters, revenue, and hierarchical data across Ruby, Elixir, and Go.

# Track any metric in a single call
Trifle::Stats.track(
  key: 'orders',
  at: Time.now,
  values: {
    count: 1,
    revenue: 99.0,
    country: { us: 1 },
    channel: { web: 1 }
  }
)

80M+

Products calculated daily

900M+

Events tracked daily

100M+

Background jobs every day

Trifle::Stats Trifle::Traces

"With Trifle, we went from zero visibility into our pricing pipeline to catching anomalies before customers notice. The combination of Stats and Traces gives us both the big picture and the ability to drill into individual job executions."

The Trifle Ecosystem

From library to dashboard to CLI. Ready for humans or agents at any time.

How Trifle Works

Data flows in, Trifle ensures correct tracking distribution. That makes it instantly queryable at any resolution.

01 / Data in

One call in your code

A key, a timestamp, nested values. Rolled up into time buckets as you write.

02 / Data out

Buckets at any resolution

Pick a timeframe and granularity. Timestamps and values come back.

03 / Visual layer

Dashboards, alerts, digests

Trifle App reads the same database and turns keys into dashboards and monitors.

See the full walkthrough: track, store, retrieve, visualize

Your AI agent already knows Trifle

Install open-source Agent Skills with npx -y @trifle-io/install. Claude Code, Codex, Cursor, Hermes, Pi, and other coding agents get best practices for metric payloads, execution tracing, and CLI analytics built in.

Founding Customer

Get Cloud Pro for $399

$19/month

First 20 Trifle App customers get unlimited users and all Pro features at $19/month for life. The libraries are open source and the CLI is free to use.

I'll personally onboard the first 20 customers in a 30-minute session. We'll instrument one real metric together.

Claim Your Spot

Ready to simplify your metrics?

Start with the open-source library in your existing app, or jump straight to the dashboard for a complete analytics experience.

GitHub

Libraries: MIT · App & CLI: ELv2 Made for developers