mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: move stat reporting into workspacestats package (#13386)
This commit is contained in:
@@ -13,7 +13,7 @@ type appStatsReporter struct {
|
||||
Client *wsproxysdk.Client
|
||||
}
|
||||
|
||||
func (r *appStatsReporter) Report(ctx context.Context, stats []workspaceapps.StatsReport) error {
|
||||
func (r *appStatsReporter) ReportAppStats(ctx context.Context, stats []workspaceapps.StatsReport) error {
|
||||
err := r.Client.ReportAppStats(ctx, wsproxysdk.ReportAppStatsRequest{
|
||||
Stats: stats,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user