Log and query telemetry data without having to manage your own infrastructure.
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");
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()
});
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
`);
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
Telemetry is one of the easiest ways to go from dumping in your data to actually understanding it.
Shayan Taslim
Founder, LogSnag
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