renovate icon indicating copy to clipboard operation
renovate copied to clipboard

feat(telemetry): add OpenTelemetry tracing MVC

Open secustor opened this issue 2 years ago • 0 comments

Changes

Implements a minimal implementation of OpenTelemetry tracing.

Some manual spans are created and following instrumentations are added and activated:

Later additional manual and automatic instrumentations can be added e.g.:

  • aws-sdk
  • redis
  • Wrap manager functions
  • ...

Context

Documentation (please check one with an [x])

  • [x] I have updated the documentation, or
  • [ ] No documentation update is required

How I've tested my work (please tick one)

I have verified these changes via:

  • [ ] Code inspection only, or
  • [ ] Newly added/modified unit tests, or
  • [ ] No unit tests but ran on a real repository, or
  • [x] Both unit tests + ran on a real repository

secustor avatar May 25 '22 13:05 secustor

Is this a "noop" when it's not enabled using env?

rarkins avatar Aug 18 '22 06:08 rarkins

Is this a "noop" when it's not enabled using env?

Yes, if tracing is turned off, spans will be generated as non-recording and discarded immediately.

secustor avatar Aug 18 '22 17:08 secustor