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.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 }
  }
)
Case Study

How DropBot tracks 80M+ daily calculations

80M+

Products calculated daily

900M+

Events tracked daily

100M+

Background jobs every day

"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

How Trifle Works

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

Click to explore each phase

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

One metrics API for every use case

Track what matters with the same simple interface, no matter the use case.

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