(ctx context.Context, limit int, input *monitor_dto.CommonInput)
| 1065 | } |
| 1066 | |
| 1067 | func (i *imlMonitorStatisticModule) TopSubscriberStatistics(ctx context.Context, limit int, input *monitor_dto.CommonInput) ([]*monitor_dto.ServiceStatisticItem, error) { |
| 1068 | clusterId := cluster.DefaultClusterID |
| 1069 | _, err := i.clusterService.Get(ctx, clusterId) |
| 1070 | if err != nil { |
| 1071 | return nil, err |
| 1072 | } |
| 1073 | return i.topProjectStatistics(ctx, clusterId, "app", input, limit) |
| 1074 | } |
| 1075 | |
| 1076 | func (i *imlMonitorStatisticModule) TopProviderStatistics(ctx context.Context, limit int, input *monitor_dto.CommonInput) ([]*monitor_dto.ServiceStatisticItem, error) { |
| 1077 | clusterId := cluster.DefaultClusterID |
nothing calls this directly
no test coverage detected