educational-technology-collective / vscode-telemetry

A vscode extension for generating and exporting editor's telemetry data.
https://marketplace.visualstudio.com/items?itemName=educational-technology-collective.telemetry
MIT License
4 stars 1 forks source link

What does the remote endpoint need to implement to accept the telemetry? #3

Open catskul opened 8 months ago

catskul commented 8 months ago

The config mentions remote endpoints, but it's unclear what the server must be able to do to accept this data flow, or what remote endpoint types are supported. Is this documented somewhere?

mengyanw commented 8 months ago

@catskul I think the most straightforward way to receive the data is to set up a cloud function (e.g, AWS lambda function, google cloud function) and use it as the remote endpoint. Inside the cloud functions, we can parse the received data and transfer it to different databases as needed.

catskul commented 8 months ago

If we try this out I'll report back and possibly provide some documentation to contribute.

I see in the demo config S3 and InfluxDB endpoints listed. Do these work out of the box without any cloud function to do the ingest?

https://github.com/educational-technology-collective/vscode-telemetry/blob/dfed64bb79e5f45f65334e2d94060ab087fb133d/configuration-example/settings.json#L34C6-L44C26