# Get metrics across all operations Retrieves global aggregated metrics for a specific owner type across all feed operations within a time window. RBAC: - requires ANY of Jobs.Read, Jobs.Manage Endpoint: GET /api/v1/admin/feed/metrics/global-all-operation Version: 1.0 Security: ## Query parameters: - `ownerType` (string, required) Owner type to filter metrics Enum: "USER", "EVENT", "CATEGORY" - `window` (string, required) Time window for aggregation Enum: "TEN_MINUTES", "ONE_HOUR", "TWENTY_FOUR_HOURS" ## Response 200 fields (application/json): - `globalAverage` (number) - `totalMeasurements` (integer) - `totalTime` (integer) - `userCount` (integer) - `lastUpdated` (string, required) Example: "2022-03-10T16:15:50Z" - `operation` (string, required) Enum: "populate", "merge", "unmerge", "redis", "redisLex", "cache", "idsDb", "db", "add", "remove" - `ownerType` (string,null) Owner types for posts: * USER - user’s channel (personal or group channel) * EVENT - event (personal or group) * CATEGORY - forum category POST OWNER: - Personal channel - userId = author - ownerId = userId (Type.USER) - ownerType = USER - groupId = null - Forum post - userId = author - ownerId = categoryId (Type.CATEGORY) - ownerType = CATEGORY - groupId = forum’s groupId - Personal event - userId = author - ownerId = eventId (Type.EVENT) - ownerType = EVENT - groupId = null - Group channel - userId = author - ownerId = channel userId (Type.USER) - ownerType = USER - groupId = groupId - Group event - userId = author - ownerId = eventId (Type.EVENT) - ownerType = EVENT - groupId = groupId Enum: "USER", "EVENT", "CATEGORY" ## Response 403 fields (application/json): - `errorCode` (string, required) Error code - `message` (string, required) Error message - `docUrl` (string) Link to documentation