Repository navigation
feat(http): Add observability metrics tracking #1155
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
dcacbbc
feat(telemetry): Implement database instrumentation suppression for L…
vprashrex d020fa5
feat(telemetry): Implement DB span filtering for Sentry in SQLAlchemy…
vprashrex 48f47e4
feat(tests): Add unit tests for LLM/response Celery task wrappers and…
vprashrex b8ee39d
feat(tests): Simplify patching of SQLAlchemyInstrumentor in DB engine…
vprashrex 86efee9
Merge branch 'main' into feat/http-db-observability-metrics
vprashrex c0d1171
feat(telemetry): Enhance database observability with slow query and c…
vprashrex 71ad9e4
Enhance observability with OTel and Sentry integration
vprashrex 760b0bb
Merge branch 'main' into feat/http-db-observability-metrics
vprashrex 1f8c56c
Merge branch 'main' into feat/http-db-observability-metrics
vprashrex 9f16b94
Merge remote-tracking branch 'origin/main' into feat/http-db-observab…
vprashrex 0ccf189
refactor(telemetry): split log context from Sentry user binding
vprashrex 8633a44
feat(observability): keep genai content out of Sentry
vprashrex 9ff8108
Merge branch 'main' into feat/http-db-observability-metrics
vprashrex 465ffd1
refactor(telemetry): split telemetry into a package
vprashrex 43b0b05
Refactor telemetry metrics and tracing setup
vprashrex b250cbe
feat(telemetry): use FastAPI instrumentation fully, forward root-span…
vprashrex bd2df34
chore(finetune): drop unrelated log tweak in unmaintained evaluation …
vprashrex a18dc8c
chore(sentry): pin only the GenAI integrations for SDKs we use
vprashrex 6bffe53
feat(sentry): refine before_send filters and update SENTRY_RELEASE ha…
vprashrex c60802b
fix(callback): change log level from warning to error for callback fa…
vprashrex 56d553e
feat(telemetry): update span attributes and Sentry tags for improved …
vprashrex 6ab5445
feat(telemetry): enhance observability metrics and logging for Celery…
vprashrex f78064a
refactor(metrics): remove unused process RSS monitoring functions and…
vprashrex d0f5a22
feat(telemetry): reorder and refine observability metrics and logging…
vprashrex 16de284
feat(telemetry): enable observability metrics based on OTEL_ENABLED s…
vprashrex 22e5220
feat(telemetry): update span attributes and Sentry tags for improved …
vprashrex 17da0b9
feat(telemetry): enhance LLM task kwargs redaction and improve callba…
vprashrex 3bb76e7
feat(telemetry): enhance logging context with module names and improv…
vprashrex e705054
feat(observability): add architecture overview documentation for trac…
vprashrex a87e283
feat(observability): integrate Sentry with Celery for enhanced task m…
vprashrex 84f8187
Merge branch 'main' into feat/http-db-observability-metrics
vprashrex 3c78303
feat(observability): remove unnecessary logging statements to enhance…
vprashrex b7fb5bb
feat(observability): update logging fields for improved Sentry integr…
vprashrex 0603117
Merge branch 'main' into feat/http-db-observability-metrics
vprashrex File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i see, this initialise multiple time so why do you not directly import this at top level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any circular dependency issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No circular import. It stays inside the function on purpose: importing
app.core.dbat module level would create the DB engine in the Celery main process before fork, and every forked worker would share that connection pool.