Versions in this module Expand all Collapse all v0 v0.49.0 Jul 31, 2026 Changes in this version + func UIMiddleware() httpmiddleware.Middleware + type AdminAPI struct + func NewAdminAPI(opts Options) *AdminAPI + func (a *AdminAPI) GetEfficiency(ctx context.Context) (*adminapi.EfficiencyStats, error) + func (a *AdminAPI) GetHealth(ctx context.Context) (*adminapi.HealthReport, error) + func (a *AdminAPI) GetInfo(_ context.Context) (*adminapi.InstanceInfo, error) + func (a *AdminAPI) GetRuntime(_ context.Context) (*adminapi.RuntimeStats, error) + func (a *AdminAPI) GetStorage(ctx context.Context) (*adminapi.StorageStats, error) + func (a *AdminAPI) NewError(_ context.Context, err error) *adminapi.ErrorStatusCode + func (a *AdminAPI) RunAction(ctx context.Context, params adminapi.RunActionParams) (*adminapi.ActionResult, error) + type BuildInfo struct + Commit string + GoVersion string + Version string + type CHStorageStats struct + func NewCHStorageStats(client chstorage.ClickHouseClient) *CHStorageStats + func (c *CHStorageStats) CollectStorageStats(ctx context.Context) ([]adminapi.TableStats, error) + type Component struct + Addr string + Check func(ctx context.Context) error + Name string + type EngineStatsProvider interface + EfficiencyStats func(ctx context.Context) ([]storage.TenantEfficiency, error) + Inspect func() storage.StoreStats + type Options struct + CHStorage StorageStatsCollector + ClickHouseEnabled bool + Components []Component + Engine EngineStatsProvider + Info BuildInfo + Maintain func(ctx context.Context) error + Signals []adminapi.SignalInfo + StartTime time.Time + StorageBackend string + type StorageStatsCollector interface + CollectStorageStats func(ctx context.Context) ([]adminapi.TableStats, error)