Skip to content

Commit 52e0fd4

Browse files
committed
Remove outdated comment about MySQL
1 parent 970353a commit 52e0fd4

File tree

1 file changed

+0
-6
lines changed
  • instrumentation/opentelemetry-instrumentation-django/src/opentelemetry/instrumentation/django/middleware

1 file changed

+0
-6
lines changed

instrumentation/opentelemetry-instrumentation-django/src/opentelemetry/instrumentation/django/middleware/sqlcommenter_middleware.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,4 @@ def __call__(self, execute: Type[T], sql, params, many, context) -> T:
115115
**_get_opentelemetry_values() if with_opentelemetry else {},
116116
)
117117

118-
# TODO: MySQL truncates logs > 1024B so prepend comments
119-
# instead of statements, if the engine is MySQL.
120-
# See:
121-
# * https://github.com/basecamp/marginalia/issues/61
122-
# * https://github.com/basecamp/marginalia/pull/80
123-
124118
return execute(sql, params, many, context)

0 commit comments

Comments
 (0)