Unverified Commit a6913835 authored by Luke Sandberg's avatar Luke Sandberg Committed by GitHub

Remove the turbopack-build-events trace span, use `next build` instead (#96746)

* remove the synthetic turbopack-build-events parent, instead use `next
build` as the parent
* ensure that the trace uploader captures persistence and compaction

This simplifies things a bit and may make reporting these traces more
reliable, since they aren't reporting to a span with `0` duration
parent 2759ad0f
......@@ -7,7 +7,11 @@ import { createReadStream } from 'fs'
import path from 'path'
import { getGitBranch, getGitCommit } from '../lib/helpers/git'
const COMMON_ALLOWED_EVENTS = ['memory-usage']
const COMMON_ALLOWED_EVENTS = [
'memory-usage',
'turbopack-persistence',
'turbopack-compaction',
]
// Predefined set of the event names to be included in the trace.
// If the trace span's name matches to one of the event names in the set,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment