Add automatic instrumentation to Postgres queries
This enables automatic instrumentation of Postgres queries when OpenTelemetry instrumentation is enabled, which will help with debugging performance problems.
This commit is contained in:
parent
4b1012b185
commit
61453d48e6
4 changed files with 9 additions and 0 deletions
|
@ -11,3 +11,4 @@ class CelerywyrmConfig(AppConfig):
|
|||
from bookwyrm.telemetry import open_telemetry
|
||||
|
||||
open_telemetry.instrumentCelery()
|
||||
open_telemetry.instrumentPostgres()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue