# Get global aggregated metrics Retrieves global aggregated feed performance metrics for a specific operation and owner type combination within a time window. Includes average times, total measurements, and user counts. RBAC: - requires ANY of Jobs.Read, Jobs.Manage Endpoint: GET /api/v1/admin/feed/metrics/global-single Version: 1.0 Security: ## Query parameters: - `operation` (string, required) Feed operation type (populate, merge, unmerge, redis, redisLex, cache, idsDb, db, add, remove) Enum: "populate", "merge", "unmerge", "redis", "redisLex", "cache", "idsDb", "db", "add", "remove" - `ownerType` (string, required) Owner type (USER, GROUP, EVENT, CATEGORY) Enum: "USER", "EVENT", "CATEGORY" - `window` (string, required) Time window for aggregation (TEN_MINUTES, ONE_HOUR, TWENTY_FOUR_HOURS or 10m, 1h, 24h) 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