MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / imlMonitorStatisticsCacheService

Struct imlMonitorStatisticsCacheService

service/monitor/iml.go:127–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125)
126
127type imlMonitorStatisticsCacheService struct {
128 commonCache cache.ICommonCache `autowired:""`
129}
130
131func (i *imlMonitorStatisticsCacheService) GetStatisticsCache(ctx context.Context, partitionId string, start, end time.Time, groupBy string, wheres []MonWhereItem, limit int) (map[string]MonCommonData, error) {
132 key := fmt.Sprintf("monitor:statistics:%s:%d_%d:%s:%s:%d", partitionId, start.Unix(), end.Unix(), groupBy, formatWhereKey(wheres), limit)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected