Skip to content

Summarize db.statement in message - #308

Merged
alexmojaki merged 2 commits into
mainfrom
alex/db-statement-summary
Jul 20, 2024
Merged

alexmojaki merged 2 commits into
mainfrom
alex/db-statement-summary

Conversation

@alexmojaki

@alexmojaki alexmojaki commented Jul 8, 2024 •

Copy link
Copy Markdown
Contributor

Mostly copying code from the backend.

Fixes https://linear.app/pydantic/issue/PYD-860/summarize-sql-in-more-cases. In particular having db.name in the span name is now accounted for so that spans from the sqlalchemy instrumentation get summaries.

@linear

linear Bot commented Jul 8, 2024

Copy link
Copy Markdown

@alexmojaki
alexmojaki requested review from Kludex and samuelcolvin July 8, 2024 14:23
@codecov

codecov Bot commented Jul 8, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@alexmojaki
alexmojaki removed the request for review from samuelcolvin July 18, 2024 15:49
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 18, 2024 •

Copy link
Copy Markdown

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0c2d4f5
Status: ✅  Deploy successful!
Preview URL: https://0b1da8d7.logfire-docs.pages.dev
Branch Preview URL: https://alex-db-statement-summary.logfire-docs.pages.dev

View logs

@alexmojaki
alexmojaki merged commit 8e2b7cd into main Jul 20, 2024
@alexmojaki
alexmojaki deleted the alex/db-statement-summary branch July 20, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant