pyrevitlabs / pyRevit

Rapid Application Development (RAD) Environment for Autodesk Revit®
http://wiki.pyrevitlabs.io
GNU General Public License v3.0
1.31k stars 334 forks source link

Improve Telemetry Server #2157

Open sanzoghenzo opened 7 months ago

sanzoghenzo commented 7 months ago

Is your feature request related to a problem? Please describe

As talked about at the last online meetup, I was proposing to drop the current telemetry server and leverage the OpenTelemetry standard.

However, after a more thorough analysis, OpenTelemetry is overkill for the task, since it encompasses tracing, metrics and logging, but it does so in a slightly convoluted way.

So the alternative is to give the current telemetry implementation some love.

Describe the solution you'd like

Describe alternatives you've considered

Use OpenTelemetry, but since the goal is to simply monitor the events and scripts execution, it feels like building a tank to just kill a fly.

Additional context

MongoDB Grafana data source is a plugin for the enterprise version; so defaulting to the good old PostgreSQL would be a better option to build a fully open/free stack.

I can help with most of the things (CI, container and compose), but I'm not (yet) proficient at golang to add the endpoints (and the optional envvar parsing). Also, since the documentation is in notion, there's no way for a contributor here to edit it.

jmcouffin commented 7 months ago

since the documentation is in notion, there's no way for a contributor here to edit it.

I can help with that.

dosymep commented 7 months ago

I can rewrite my telemetry server (simple port Go server to .net), but I need time 🫠

I use PowerBI with MongoDB and create simple report.

https://github.com/Bim4Everyone/Bim4EveryoneTelemetry

markup_1000019648