Skip to main content

Module types

Module types 

Source
Expand description

Shared types for the analytics library.

These types are used by both CLI commands and the FrankenTUI analytics dashboards, keeping query logic, bucketing, and derived-metric math in one place.

Structs§

AnalyticsFilter
CLI-agnostic analytics filter.
BreakdownResult
Result of a breakdown query.
BreakdownRow
A single row in a breakdown query result (one value of the chosen dimension).
CoverageInfo
Coverage statistics.
DerivedMetrics
Computed ratios from a UsageBucket.
DriftInfo
Drift detection output.
DriftSignal
A single drift detection signal.
SessionScatterPoint
A single per-session point for Explorer scatter plots.
StatusResult
Full status result.
TableInfo
Per-table statistics.
TimeseriesResult
Result of a token/usage timeseries query.
ToolReport
Result of a tool usage report query.
ToolRow
A single row in a tool usage report.
UnpricedModel
A model name with no matching pricing entry, and its token volume.
UnpricedModelsReport
Result of the unpriced-models query.
UsageBucket
A single bucket of aggregated token / message metrics.

Enums§

AnalyticsError
Analytics-specific error.
Dim
Dimension for breakdown queries — which column to GROUP BY.
GroupBy
Time-bucket granularity (library-side, no clap dependency).
Metric
Metric selector for breakdown/explorer queries.
SourceFilter
Source filter for analytics queries.

Type Aliases§

AnalyticsResult
Convenience alias.