Open Source Time-Series Analytics

Track what matters.
Skip the infrastructure.

Time-series metrics platform that works with your existing database. Track counters, revenue, and hierarchical data across Ruby, Elixir, and Go.

track.rb
# 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 }
  }
)

Trusted by teams tracking millions of events

How Trifle Works

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

Incoming Events
Trifle
Time Buckets
PostgreSQL / MongoDB
Query Request
# from App or CLI
Trifle::Stats.values(
key: 'orders',
from: '2024-01-26 14:00',
to: '2024-01-26 16:00',
granularity: '1h'
)
Response
# Returns 2 hourly buckets
{
at: ['2024-01-26 14:00', '2024-01-26 15:00'],
values: [
{ count: 2, revenue: 248.0, country: { us: 1, uk: 1 }, channel: { web: 1, app: 1 } },
{ count: 1, revenue: 79.0, country: { us: 1 }, channel: { app: 1 } }
]
}
Trifle
Time Buckets
PostgreSQL / MongoDB

Built for Real Use Cases

From revenue tracking to AI agent analytics, Trifle adapts to how your team works.

Revenue Tracking

Track orders, revenue, and conversion rates across products, channels, and regions with hierarchical breakdowns.

Background Workers

Monitor job throughput, success rates, and processing times for Sidekiq, Oban, or any background processing system.

Feature Usage

Measure which features get used, how often, and by which user segments. No third-party analytics needed.

Custom Code Insights

Instrument any part of your codebase. Track API response times, cache hit rates, or custom business logic metrics.

Business KPIs

Build dashboards for non-technical stakeholders. Daily signups, churn rates, and funnel metrics at a glance.

AI Agent Analytics

Let AI agents query your metrics via MCP server. Automate reports, anomaly detection, and data-driven decisions.

Founding Customer

Get Pro for $399 $19/month

First 20 sign-ups get unlimited users and all Pro features at $19/month for life. Lock in the price before it goes up.

Includes a free 15-minute onboarding call to help you get set up.

Claim Your Spot
Case Study

How DropBot tracks 80M+ daily calculations

80M+

Products calculated daily

Millions

Background jobs traced

Real-time

Anomaly detection

"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."

DropBot Engineering Team
Trifle::Stats Trifle::Traces

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 MIT License Made for developers