-
Notifications
You must be signed in to change notification settings - Fork 1.4k
chore: move dashboard queries to new AMTs #8308
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
+232
−517
Conversation
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
…fen/lfe-5579-backfill-traces-amts
…fen/lfe-5579-backfill-traces-amts
…fen/lfe-5579-backfill-traces-amts
…fen/lfe-5579-backfill-traces-amts
…fen/lfe-5579-backfill-traces-amts
…fen/lfe-5577-dashboard-queries-3
zhengchubo
pushed a commit
to zhengchubo/langfuse-allin
that referenced
this pull request
Aug 8, 2025
* chore: create background migrations for traces amt tables * chore: add database migrations * chore: move tests to use AMTs in one config * chore: shift backfill from {} to map() * chore: modify ingestion test timeouts * chore: keep minDate updates tracked * chore: remove android lib to save swap space * chore: check disk space * chore: check mnt usage * chore: skip swap to check runner performance * chore: add timestamp lines * chore: handle deletions * chore: update test cases * chore: linting * chore: allow opt-in creation for background migratoin record * chore: update comparison query * chore: concurrency config * chore: update names * chore: update names * chore: update tiemout * chore: add pre-query logs * chore: refactor long running query into util function * chore: refactor query exists checks * chore: set correct tables for clustered configs * chore: increase number of retries * chore: extend logging * chore: gracefully handle aborted query * chore: handle errors during execution and raise them * chore; skip in progress header updates * Update migrateTracesToTracesAMTs.ts * chore: use default clickhouse settings for ingestion * chore: add trace_id index on traces_all_amt * chore: update sorting behaviour of batchAction test * chore: drop logger * chore: update test * chore: lint and renames * chore: update test cases * chore: patch score tests * chore: add final for the checkTraceExists behaviour * chore: remove background migration insert * chore: move dashboard queries to new AMTs * chore: make sure to replace all references to old traces table * chore: revert replacement behaviour * chore: formatting * chore: typo * chore: lint and refactor * chore: update import path * chore: patch test behaviour * chore: remove outdated comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
Important
Refactor query execution by moving
executeQuery
toqueryExecutor.ts
and updating its usage across the codebase.executeQuery
function toqueryExecutor.ts
.executeQuery
location indashboard-router.ts
,index.ts
, and multiple test files.executeQuery
now handles trace table references usingmeasureAndReturn
.dashboard-router.ts
for query execution.queryBuilder.servertest.ts
,queryBuilderDashboards.servertest.ts
,queryBuilderSQLI.servertest.ts
, anddashboard-router-pivot-table.servertest.ts
to use newexecuteQuery
location.This description was created by
for 65e53da. You can customize this summary. It will automatically update as commits are pushed.