Expand description
Library to validate cpu budgets of traces based on a recurring top-level span
Enums§
- GroupBy
- Defines how to group frame budgets.
Functions§
- budget_
map_ to_ properties - Converts a map of span names to budget categories into a
ScalarValuerepresenting a list of properties. - compute_
frame_ stats_ for_ batch - Computes frame statistics for a batch of frames.
- extract_
top_ offenders - Extracts top offenders from the frame statistics.
- fetch_
spans_ batch - Fetches spans for a given stream and frames, grouped by the specified configuration.
- gen_
frame_ batches - Generates a stream of record batches from a vector of record batches.
- gen_
span_ batches - Generates and sends span batches to a channel.
- get_
frames - Retrieves frames for a given stream within a time range and top-level span name.
- get_
main_ thread_ stream_ id - Retrieves the stream ID of the main thread for a given process.
- get_
process_ start_ time - Retrieves the start time of a process.
- get_
record_ batch_ time_ range - Retrieves the time range (min begin, max end) from a
RecordBatch. - get_
stream_ time_ range - Retrieves the time range of a stream.
- merge_
top_ offenders - Merges top offenders from multiple record batches.
- process_
frame_ batch - Processes a batch of frames, computing frame statistics and extracting top offenders.