Skip to content

claytonphenderson/slurp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slurp (a work in progress)

A (very small) ingress utility for handling telemetry and event data

I didnt want to pay for an expensive telemetry tool for my side projects. So instead I've started working on this simple tool to handle Event, Metric and Error Telemetry and land it in a releational db that I can query and run reports on.

BYO...

  • relational db
  • queue for incoming data

Example Request

Slurp hosts a single (for now) POST endpoint /events. Here's an example POST body. Its expected the client always provides a UUID Id, Date, and EventName. The properties field is a a json block that contains... whatever you want.

{
    "id": "e1a7f1e0-6154-45f8-bbda-445715d72e73",
    "eventName": "Hello World",
    "date": "2024-08-11T21:50:24Z",
    "properties": {
        "deviceId":"1234565",
        "userId":"[email protected]",
        "temperature": 98.6
    }
}

TODO

  • add some tests here. Im thinking something more on the integration/end to end side of things.

About

A personal telemetry reporting system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published