Expand description
Metrics for recording information about execution
Structs§
- Baseline
Metrics - Helper for creating and tracking common “baseline” metrics for each operator
- Count
- A counter to record things such as number of input or output rows
- Execution
Plan Metrics Set - A set of
Metrics for an individual “operator” (e.g.&dyn ExecutionPlan). - Gauge
- A gauge is the simplest metrics type. It just returns a value. For example, you can easily expose current memory consumption with a gauge.
- Label
name=valuepairs identifying a metric. This concept is called various things in various different systems:- Metric
- Something that tracks a value of interest (metric) of a DataFusion
ExecutionPlanexecution. - Metric
Builder - Structure for constructing metrics, counters, timers, etc.
- Metrics
Set - A snapshot of the metrics for a particular (
ExecutionPlan). - Pruning
Metrics - Counters tracking pruning metrics
- Ratio
Metrics - Counters tracking ratio metrics (e.g. matched vs total)
- Scoped
Timer Guard - RAAI structure that adds all time between its construction and
destruction to the CPU time or the first call to
stopwhichever comes first - Spill
Metrics - Helper for creating and tracking spill-related metrics for each operator
- Split
Metrics - Metrics for tracking
crate::stream::BatchSplitStreamactivity - Time
- Measure a potentially non contiguous duration of time
- Timestamp
- Stores a single timestamp, stored as the number of nanoseconds elapsed from Jan 1, 1970 UTC
Enums§
- Metric
Type - Categorizes metrics so the display layer can choose the desired verbosity.
- Metric
Value - Possible values for a super::Metric.
Traits§
- Custom
Metric Value - A trait for implementing custom metric values.
- Record
Output - Trait for things that produce output rows as a result of execution.