[HN Gopher] Show HN: Telemetry.sh - Simplifying Telemetry Measur...
       ___________________________________________________________________
        
       Show HN: Telemetry.sh - Simplifying Telemetry Measurement
        
       Author : thebuilderjr
       Score  : 20 points
       Date   : 2024-08-05 12:52 UTC (10 hours ago)
        
 (HTM) web link (telemetry.sh)
 (TXT) w3m dump (telemetry.sh)
        
       | thebuilderjr wrote:
       | Hi HN,
       | 
       | I'm excited to introduce telemetry.sh, a service designed to
       | streamline telemetry measurement in your applications. Our
       | API/SDKs accept any JSON object, making it easy to get started
       | with just a few lines of code.
       | 
       | Under the hood, telemetry.sh converts JSON into Parquet schemas,
       | stores data in S3, caches data locally based on tenant locality,
       | and updates metadata stores for fast querying.
       | 
       | Once your data is in our system, you can leverage our AI-
       | augmented UI to quickly write SQL queries in plain English. We
       | also offer robust visualization tools, including line charts, bar
       | charts, and scatter plots, to help you easily plot and understand
       | your data.
       | 
       | We've prioritized team collaboration by integrating teams and
       | memberships as core features, making it simple to work with your
       | co-workers on telemetry coverage and analysis.
       | 
       | Additionally, our query API allows you to integrate your
       | telemetry data into your own products or internal dashboards
       | seamlessly.
       | 
       | This project has been a labor of love over the past year, and I'm
       | thrilled to share it with the HN community. I look forward to
       | your feedback.
       | 
       | Thanks,
       | 
       | JR
        
         | artisin wrote:
         | I went down the telemetry rabbit hole a while back because I
         | couldn't find an analytics/event log that met my needs. Nothing
         | fancy--just a basic API to log certain events with some pretty
         | graphs to display the data. I ended up building my own
         | solution; however, telemetry.sh seems like it could have met my
         | needs, but information on the site is sparse. Is this an
         | interface for DataFusion, something akin to InfluxDB? It looks
         | like a nice project, but some additional documentation (like
         | you've detailed here) and use case examples on the site could
         | go a long way.
        
           | thebuilderjr wrote:
           | We provide an abstraction layer on top of DataFusion,
           | allowing users to focus solely on logging JSON and writing
           | SQL.
           | 
           | Let's go through an example for clarity. Imagine you're
           | developing the first version of Uber. Without funds to invest
           | in setting up ClickHouse, Kafka, and other infrastructure,
           | you still need a service to log and query data to calculate
           | the average price of rides by city.
           | 
           | With our telemetry service, you can achieve this with just a
           | few lines of code. When finalizing a ride, you'd log the data
           | as follows:
           | 
           | ```javascript
           | 
           | telemetry.log("uber_rides", { city: "Paris", price: 42,
           | timestamp: new Date().toISOString() });
           | 
           | ```
           | 
           | For your internal dashboards, you can query this data with a
           | single line of code:
           | 
           | ```javascript
           | 
           | const results = await telemetry.query(` SELECT city,
           | AVG(price) FROM uber_rides GROUP BY city `);
           | 
           | ```
           | 
           | Behind the scenes, we utilize DataFusion, S3, and other
           | technologies, but these complexities are abstracted away. As
           | a user, you can concentrate on what data to log and how to
           | query it.
        
       | halfdan wrote:
       | I'm not quite sure how to place this. For general app telemetry
       | there's https://opentelemetry.io and for tracking user behavior
       | similar to how it's explained in your docs it looks like
       | https://segment.io would be the closest competitor.
       | 
       | How is telemetry.sh different from the above-mentioned?
        
         | thebuilderjr wrote:
         | The biggest advantage is simplicity. To log an object in your
         | application with OpenTelemetry, you either need munge your data
         | to adapt it to their spec or rewrite a lot of your application
         | code using their span abstraction. In contrast, with Telemetry,
         | you can ingest any object you already have in your code as JSON
         | with a single line of code and start analyzing the data
         | immediately. Moreover, our SQL API makes it easy to integrate
         | this data into your product or internal dashboards, unlike
         | tools like Mixpanel or Amplitude that offer similar ingest APIs
         | but lack APIs for SQL querying.
        
         | John23832 wrote:
         | OpenTelemetry is anything but simple.
        
       | throwaway63820 wrote:
       | big fan of the approach & simplicity!
        
         | thebuilderjr wrote:
         | Thank you!
        
       ___________________________________________________________________
       (page generated 2024-08-05 23:01 UTC)