devguard
devguard copied to clipboard
Implement otel telemetry
We should use this issue for interesting events
- Last risk recalculation run
We already have a prometheus endpoint which provides that information. I will add the "help wanted" label to it. Would be great to just expose both endpoints. It should even be possible to convert the current prometheus monitoring to otel and then export those metrics in prometheus format.
https://pkg.go.dev/go.opentelemetry.io/otel/exporters/prometheus
So the way to go is something like:
- [ ] Replace prometheus monitoring with otel
- [ ] Expose otel endpoint
- [ ] Expose otel with prom exporter