devguard icon indicating copy to clipboard operation
devguard copied to clipboard

Implement otel telemetry

Open timbastin opened this issue 1 year ago • 1 comments

We should use this issue for interesting events

  • Last risk recalculation run

timbastin avatar Oct 07 '24 08:10 timbastin

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

timbastin avatar Nov 10 '25 17:11 timbastin