fix: Add opentelemtry-based tracing

This adds tracing to fastapi, redis, and sqlalchemy. It uses the
recommended OLTP exporter to send the tracing data.
This commit is contained in:
Sven-Hendrik Haase 2024-08-03 13:20:04 +02:00
parent a54b6935a1
commit a2cbf01eef
No known key found for this signature in database
GPG key ID: 39E4B877E62EB915
6 changed files with 960 additions and 616 deletions

View file

@ -177,3 +177,6 @@ expiry_time_search = 600
expiry_time_statistics = 300
; number of seconds after a cache entry for rss queries expires, default is 5 minutes
expiry_time_rss = 300
[tracing]
otlp_nedpoint = "http://localhost:4318"