This message was deleted.
s
This message was deleted.
v
Depends on how you have instrumented, if you have auto instrumented then check on the instrumentation library. If you are manually instrumenting then set
sql.query
attribute in the span.
a
@Sanjiv you can disable
OTEL_INSTRUMENTATION_COMMON_DB_STATEMENT_SANITIZER_ENABLED
as in docs https://opentelemetry.io/docs/instrumentation/java/automatic/agent-config/#db-statement-sanitization