Structured logging made easy

Telemetry provides an API to ingest and query structured logs in realtime.

Explore
Tools to analyze your data.
AI
Schema aware AI to help you write SQL.
Collaborate
Leverage workspaces to share and collaborate on your analysis.
Integrate

Step 1: Initialize

Initialize the Telemetry SDK with your API key. This example uses JavaScript, but we also support other SDKs, including Python, Rust, and Go.

import telemetry from "telemetry-sh";

telemetry.init("YOUR_API_KEY");

Step 2: Log

The following code logs the city, price, and timestamp fields of a ride to a table called uber_rides. Telemetry will automatically infer the schema and create the table for you. We also manage all schema evolutions, so you can add additional fields as needed over time.

telemetry.log("uber_rides", { 
  city: "Paris", 
  price: 42, 
  timestamp: new Date().toISOString() 
});

Step 3: Query

This query computes the average Uber price per city. You can use this API to easily integrate Telemetry into your product or internal dashboards.

const results = await telemetry.query(` 
  SELECT
    city,
    AVG(price) 
  FROM
    uber_rides 
  GROUP BY
    city 
`);
Namu Kang

Telemetry makes it super easy to track, analyze, and visualize what's going on in my business. It's the perfect mix of simple and powerful.

Namu Kang

Founder, Browserflow

Shayan Taslim

Telemetry is one of the easiest ways to go from dumping in your data to actually understanding it.

Shayan Taslim

Founder, LogSnag

Prem Viswanathan

Telemetry is my go-to for dumping logs and tracking events. It’s straightforward, the SQL workbench is fast, and I don’t have to worry about the schema upfront. Running SQL over a REST API lets me fetch data and dump reports straight to Slack. It’s the essentials of what Sentry did for me.

Prem Viswanathan

Founder, SwiftCX

Everything you need, in one place.
Our platform provides comprehensive tools for handling telemetry data.

© 2024 Telemetry. All rights reserved.