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 }
  }
)
800M+ metrics tracked daily
Used in production by DropBot
Open source on GitHub

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 metrics via MCP server and learn best practices through open-source Agent Skills. AI-native from the ground up.

Your AI agent already knows Trifle

Install open-source Agent Skills and Claude Code, Codex, Cursor, or any coding agent gets 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 sign-ups get unlimited users and all Pro features at $19/month for life. The libraries are open source and the CLI is free to use.

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 Libraries: MIT · App & CLI: ELv2 Made for developers