Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit length of db.query.summary? #1978

Open
trask opened this issue Mar 10, 2025 · 0 comments
Open

Limit length of db.query.summary? #1978

trask opened this issue Mar 10, 2025 · 0 comments

Comments

@trask
Copy link
Member

trask commented Mar 10, 2025

In Java Instrumentation repo, we've had reports of query texts of 15mb.

I think it may be ok(?) to capture the full value under db.query.text and users can rely on the general attribute limit to truncate

But I think it may make sense to apply some kind of limit to db.query.summary (or at least to the resulting span name when it is based on db.query.summary).

@trask trask added the area:db label Mar 10, 2025
@trask trask changed the title Limit length of db.query.summary? Limit length of db.query.summary? Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Need triage
Development

No branches or pull requests

1 participant