Telemetry provides an API to ingest and query structured logs in realtime.
This example uses JavaScript, but we also have other SDKs, including Python, Rust, and Go.
import telemetry from "telemetry-sh";
telemetry.init("YOUR_API_KEY");
The following code logs one row representing an uber ride to a table named uber_rides
.
telemetry.log("uber_rides", {
city: "Paris",
price: 42,
});
You can use this API to easily integrate Telemetry into your product or internal tools.
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