GameDevTecnico / cubos

A still very barebones game engine focused on voxels and data-oriented programming
https://cubosengine.org
MIT License
83 stars 35 forks source link

Implement telemetry #620

Open luishfonseca opened 1 year ago

luishfonseca commented 1 year ago

Checklist

Problem

We aren't using any spdlog specific features, and it's a problematic dependency (#619), we should remove it. As we are working on this, would also be good to expand telemetry to metrics and tracing.

Design

roby2014 commented 3 months ago

What is meant by tracing here? @luishfonseca @RiscadoA . Do we want something like https://docs.rs/tracing/latest/tracing/ ?

RiscadoA commented 3 months ago

Yeah that's what I had in mind, some kind of system where you could define scopes, and then you could filter log messages and metrics from it, perhaps? But yeah, I'm not really sure what we need here, maybe @luishfonseca has some clearer idea.

luishfonseca commented 3 months ago

Tbh I don't really remember what was the plan, I'm actually not that used to tracing in single machine applications, what does it achieve that we can't just do with logs and metrics?