{
  "generatedAt": "2026-05-31T14:29:51.927Z",
  "config": {
    "baseUrl": "https://dev.manwe.qzz.io",
    "sshHost": "root@5.78.213.189",
    "mongoContainer": "amanat-dev-mongodb",
    "mongoDb": "marketplace",
    "mongoAuthDb": "admin",
    "backendContainer": "amanat-dev-backend",
    "resetBackendLimiter": true,
    "containers": [
      "amanat-dev-nginx",
      "amanat-dev-backend",
      "amanat-dev-frontend",
      "amanat-dev-postgres",
      "amanat-dev-mongodb",
      "amanat-dev-redis",
      "amanat-dev-scanner"
    ],
    "templateShareableLink": "logo-design-template",
    "outputDir": "/Users/manwe/CascadeProjects/escrow/nick-doc/09 - Audits/Mongo API Profiles/2026-05-31T14-26-19-969Z"
  },
  "results": [
    {
      "name": "health",
      "method": "GET",
      "path": "/api/health",
      "requestCount": 5,
      "rps": 2.5,
      "latency": {
        "averageMs": 327.2,
        "p50Ms": 233,
        "p90Ms": 707,
        "p95Ms": 707,
        "p99Ms": 707,
        "maxMs": 707
      },
      "non2xx": 0,
      "statusCodeStats": {
        "200": {
          "count": 5
        }
      },
      "mongoProfile": {
        "totalOperations": 0,
        "totalMillis": 0,
        "groups": []
      },
      "blockIoDelta": {
        "amanat-dev-nginx": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-backend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-frontend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-postgres": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-mongodb": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-redis": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-scanner": {
          "readBytes": 0,
          "writeBytes": 10000
        }
      }
    },
    {
      "name": "categories",
      "method": "GET",
      "path": "/api/marketplace/categories",
      "requestCount": 10,
      "rps": 3.34,
      "latency": {
        "averageMs": 390.6,
        "p50Ms": 232,
        "p90Ms": 731,
        "p95Ms": 1308,
        "p99Ms": 1308,
        "maxMs": 1308
      },
      "non2xx": 0,
      "statusCodeStats": {
        "200": {
          "count": 10
        }
      },
      "mongoProfile": {
        "totalOperations": 0,
        "totalMillis": 0,
        "groups": []
      },
      "blockIoDelta": {
        "amanat-dev-nginx": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-backend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-frontend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-postgres": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-mongodb": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-redis": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-scanner": {
          "readBytes": 0,
          "writeBytes": 0
        }
      }
    },
    {
      "name": "categories_tree",
      "method": "GET",
      "path": "/api/marketplace/categories/tree",
      "requestCount": 10,
      "rps": 5,
      "latency": {
        "averageMs": 342.5,
        "p50Ms": 240,
        "p90Ms": 742,
        "p95Ms": 752,
        "p99Ms": 752,
        "maxMs": 752
      },
      "non2xx": 0,
      "statusCodeStats": {
        "200": {
          "count": 10
        }
      },
      "mongoProfile": {
        "totalOperations": 10,
        "totalMillis": 0,
        "groups": [
          {
            "namespace": "marketplace.categories",
            "operation": "query",
            "command": "find",
            "collection": "categories",
            "planSummary": "IXSCAN { isActive: 1 }",
            "queryHash": "35A725FF",
            "planCacheKey": "80333596",
            "queryShape": "filter={isActive:boolean} sort={name:number,order:number}",
            "count": 10,
            "millisTotal": 0,
            "millisAverage": 0,
            "millisP50": 0,
            "millisP95": 0,
            "millisMax": 0,
            "docsExamined": 240,
            "keysExamined": 240,
            "nreturned": 240,
            "ninserted": 0,
            "nMatched": 0,
            "nModified": 0,
            "responseLength": 65670,
            "numYield": 0
          }
        ]
      },
      "blockIoDelta": {
        "amanat-dev-nginx": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-backend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-frontend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-postgres": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-mongodb": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-redis": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-scanner": {
          "readBytes": 0,
          "writeBytes": 0
        }
      }
    },
    {
      "name": "sellers",
      "method": "GET",
      "path": "/api/marketplace/sellers",
      "requestCount": 10,
      "rps": 5,
      "latency": {
        "averageMs": 341.6,
        "p50Ms": 245,
        "p90Ms": 729,
        "p95Ms": 733,
        "p99Ms": 733,
        "maxMs": 733
      },
      "non2xx": 0,
      "statusCodeStats": {
        "200": {
          "count": 10
        }
      },
      "mongoProfile": {
        "totalOperations": 10,
        "totalMillis": 0,
        "groups": [
          {
            "namespace": "marketplace.users",
            "operation": "query",
            "command": "find",
            "collection": "users",
            "planSummary": "IXSCAN { role: 1 }",
            "queryHash": "BA1E76D1",
            "planCacheKey": "0CB19E91",
            "queryShape": "filter={isEmailVerified:boolean,role:string} projection={_id:number,email:number,firstName:number,lastName:number,profile.avatar:number}",
            "count": 10,
            "millisTotal": 0,
            "millisAverage": 0,
            "millisP50": 0,
            "millisP95": 0,
            "millisMax": 0,
            "docsExamined": 20,
            "keysExamined": 20,
            "nreturned": 20,
            "ninserted": 0,
            "nMatched": 0,
            "nModified": 0,
            "responseLength": 3610,
            "numYield": 0
          }
        ]
      },
      "blockIoDelta": {
        "amanat-dev-nginx": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-backend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-frontend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-postgres": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-mongodb": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-redis": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-scanner": {
          "readBytes": 0,
          "writeBytes": 20000
        }
      }
    },
    {
      "name": "template_public",
      "method": "GET",
      "path": "/api/marketplace/request-templates/public/logo-design-template",
      "requestCount": 10,
      "rps": 5,
      "latency": {
        "averageMs": 340.3,
        "p50Ms": 241,
        "p90Ms": 734,
        "p95Ms": 740,
        "p99Ms": 740,
        "maxMs": 740
      },
      "non2xx": 0,
      "statusCodeStats": {
        "200": {
          "count": 10
        }
      },
      "mongoProfile": {
        "totalOperations": 30,
        "totalMillis": 0,
        "groups": [
          {
            "namespace": "marketplace.requesttemplates",
            "operation": "query",
            "command": "find",
            "collection": "requesttemplates",
            "planSummary": "IXSCAN { shareableLink: 1 }",
            "queryHash": "69A943C9",
            "planCacheKey": "7C668FB5",
            "queryShape": "filter={$or:[{expiresAt:null},{expiresAt:{$gt:{}}}],isActive:boolean,shareableLink:string}",
            "count": 10,
            "millisTotal": 0,
            "millisAverage": 0,
            "millisP50": 0,
            "millisP95": 0,
            "millisMax": 0,
            "docsExamined": 10,
            "keysExamined": 10,
            "nreturned": 10,
            "ninserted": 0,
            "nMatched": 0,
            "nModified": 0,
            "responseLength": 15470,
            "numYield": 0
          },
          {
            "namespace": "marketplace.users",
            "operation": "query",
            "command": "find",
            "collection": "users",
            "planSummary": "IXSCAN { _id: 1 }",
            "queryHash": "39E03FF8",
            "planCacheKey": "AED36A0D",
            "queryShape": "filter={_id:{$in:[ObjectId]}} projection={email:number,firstName:number,lastName:number}",
            "count": 10,
            "millisTotal": 0,
            "millisAverage": 0,
            "millisP50": 0,
            "millisP95": 0,
            "millisMax": 0,
            "docsExamined": 10,
            "keysExamined": 10,
            "nreturned": 10,
            "ninserted": 0,
            "nMatched": 0,
            "nModified": 0,
            "responseLength": 2180,
            "numYield": 0
          },
          {
            "namespace": "marketplace.categories",
            "operation": "query",
            "command": "find",
            "collection": "categories",
            "planSummary": "IXSCAN { _id: 1 }",
            "queryHash": "ABAD6477",
            "planCacheKey": "E494D204",
            "queryShape": "filter={_id:{$in:[ObjectId]}} projection={name:number,nameEn:number}",
            "count": 10,
            "millisTotal": 0,
            "millisAverage": 0,
            "millisP50": 0,
            "millisP95": 0,
            "millisMax": 0,
            "docsExamined": 10,
            "keysExamined": 10,
            "nreturned": 10,
            "ninserted": 0,
            "nMatched": 0,
            "nModified": 0,
            "responseLength": 1890,
            "numYield": 0
          }
        ]
      },
      "blockIoDelta": {
        "amanat-dev-nginx": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-backend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-frontend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-postgres": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-mongodb": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-redis": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-scanner": {
          "readBytes": 0,
          "writeBytes": 0
        }
      }
    },
    {
      "name": "payment_options_template",
      "method": "GET",
      "path": "/api/payment/request-network/options?currency=USD&amount=0.01&sellerId=6a1bfd1400e8b8205e86db9e&templateId=6a1c4512d07eb576c3509690",
      "requestCount": 50,
      "rps": 12.5,
      "latency": {
        "averageMs": 303.52,
        "p50Ms": 255,
        "p90Ms": 273,
        "p95Ms": 753,
        "p99Ms": 758,
        "maxMs": 758
      },
      "non2xx": 0,
      "statusCodeStats": {
        "200": {
          "count": 50
        }
      },
      "mongoProfile": {
        "totalOperations": 100,
        "totalMillis": 0,
        "groups": [
          {
            "namespace": "marketplace.requesttemplates",
            "operation": "query",
            "command": "find",
            "collection": "requesttemplates",
            "planSummary": "IDHACK",
            "queryHash": "3B008735",
            "planCacheKey": "",
            "queryShape": "filter={_id:ObjectId} projection={paymentConfig:number}",
            "count": 50,
            "millisTotal": 0,
            "millisAverage": 0,
            "millisP50": 0,
            "millisP95": 0,
            "millisMax": 0,
            "docsExamined": 50,
            "keysExamined": 50,
            "nreturned": 50,
            "ninserted": 0,
            "nMatched": 0,
            "nModified": 0,
            "responseLength": 12850,
            "numYield": 0
          },
          {
            "namespace": "marketplace.shopsettings",
            "operation": "query",
            "command": "find",
            "collection": "shopsettings",
            "planSummary": "IXSCAN { sellerId: 1 }",
            "queryHash": "BF51CF8A",
            "planCacheKey": "9CF87C58",
            "queryShape": "filter={sellerId:ObjectId} projection={paymentConfig:number}",
            "count": 50,
            "millisTotal": 0,
            "millisAverage": 0,
            "millisP50": 0,
            "millisP95": 0,
            "millisMax": 0,
            "docsExamined": 0,
            "keysExamined": 0,
            "nreturned": 0,
            "ninserted": 0,
            "nMatched": 0,
            "nModified": 0,
            "responseLength": 5650,
            "numYield": 0
          }
        ]
      },
      "blockIoDelta": {
        "amanat-dev-nginx": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-backend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-frontend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-postgres": {
          "readBytes": 100000,
          "writeBytes": 0
        },
        "amanat-dev-mongodb": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-redis": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-scanner": {
          "readBytes": 0,
          "writeBytes": 0
        }
      }
    },
    {
      "name": "addresses_me",
      "method": "GET",
      "path": "/api/addresses",
      "requestCount": 10,
      "rps": 5,
      "latency": {
        "averageMs": 330.9,
        "p50Ms": 239,
        "p90Ms": 707,
        "p95Ms": 715,
        "p99Ms": 715,
        "maxMs": 715
      },
      "non2xx": 0,
      "statusCodeStats": {
        "200": {
          "count": 10
        }
      },
      "mongoProfile": {
        "totalOperations": 10,
        "totalMillis": 0,
        "groups": [
          {
            "namespace": "marketplace.addresses",
            "operation": "query",
            "command": "find",
            "collection": "addresses",
            "planSummary": "IXSCAN { userId: 1 }",
            "queryHash": "6935090D",
            "planCacheKey": "C80BED60",
            "queryShape": "filter={userId:ObjectId} sort={createdAt:number,primary:number}",
            "count": 10,
            "millisTotal": 0,
            "millisAverage": 0,
            "millisP50": 0,
            "millisP95": 0,
            "millisMax": 0,
            "docsExamined": 30,
            "keysExamined": 30,
            "nreturned": 30,
            "ninserted": 0,
            "nMatched": 0,
            "nModified": 0,
            "responseLength": 13800,
            "numYield": 0
          }
        ]
      },
      "blockIoDelta": {
        "amanat-dev-nginx": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-backend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-frontend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-postgres": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-mongodb": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-redis": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-scanner": {
          "readBytes": 0,
          "writeBytes": 0
        }
      }
    },
    {
      "name": "purchase_requests_my",
      "method": "GET",
      "path": "/api/marketplace/purchase-requests/my",
      "requestCount": 10,
      "rps": 5,
      "latency": {
        "averageMs": 353.3,
        "p50Ms": 256,
        "p90Ms": 747,
        "p95Ms": 753,
        "p99Ms": 753,
        "maxMs": 753
      },
      "non2xx": 0,
      "statusCodeStats": {
        "200": {
          "count": 10
        }
      },
      "mongoProfile": {
        "totalOperations": 30,
        "totalMillis": 1,
        "groups": [
          {
            "namespace": "marketplace.purchaserequests",
            "operation": "query",
            "command": "find",
            "collection": "purchaserequests",
            "planSummary": "IXSCAN { createdAt: -1 }",
            "queryHash": "6F3C3F41",
            "planCacheKey": "A22CDD0E",
            "queryShape": "filter={buyerId:ObjectId} sort={createdAt:number}",
            "count": 10,
            "millisTotal": 1,
            "millisAverage": 0.1,
            "millisP50": 0,
            "millisP95": 1,
            "millisMax": 1,
            "docsExamined": 0,
            "keysExamined": 0,
            "nreturned": 0,
            "ninserted": 0,
            "nMatched": 0,
            "nModified": 0,
            "responseLength": 1170,
            "numYield": 0
          },
          {
            "namespace": "marketplace.purchaserequests",
            "operation": "command",
            "command": "aggregate",
            "collection": "purchaserequests",
            "planSummary": "COUNT_SCAN { buyerId: 1 }",
            "queryHash": "C22625EF",
            "planCacheKey": "BD75157B",
            "queryShape": "pipeline=[{$match:{buyerId:ObjectId}},{$group:{_id:number,n:{$sum:number}}}]",
            "count": 10,
            "millisTotal": 0,
            "millisAverage": 0,
            "millisP50": 0,
            "millisP95": 0,
            "millisMax": 0,
            "docsExamined": 0,
            "keysExamined": 10,
            "nreturned": 0,
            "ninserted": 0,
            "nMatched": 0,
            "nModified": 0,
            "responseLength": 1170,
            "numYield": 0
          },
          {
            "namespace": "marketplace.payments",
            "operation": "query",
            "command": "find",
            "collection": "payments",
            "planSummary": "IXSCAN { status: 1, createdAt: -1 }, IXSCAN { status: 1, createdAt: -1 }, IXSCAN { status: 1, createdAt: -1 }, IXSCAN { status: 1, createdAt: -1 }",
            "queryHash": "3B29FB2B",
            "planCacheKey": "8762DEE5",
            "queryShape": "filter={purchaseRequestId:{$in:[]},status:{$in:[string,string,string,string]}} sort={createdAt:number}",
            "count": 10,
            "millisTotal": 0,
            "millisAverage": 0,
            "millisP50": 0,
            "millisP95": 0,
            "millisMax": 0,
            "docsExamined": 0,
            "keysExamined": 0,
            "nreturned": 0,
            "ninserted": 0,
            "nMatched": 0,
            "nModified": 0,
            "responseLength": 1090,
            "numYield": 0
          }
        ]
      },
      "blockIoDelta": {
        "amanat-dev-nginx": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-backend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-frontend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-postgres": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-mongodb": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-redis": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-scanner": {
          "readBytes": 0,
          "writeBytes": 20000
        }
      }
    },
    {
      "name": "auth_login",
      "method": "POST",
      "path": "/api/auth/login",
      "requestCount": 5,
      "rps": 1.25,
      "latency": {
        "averageMs": 724.2,
        "p50Ms": 636,
        "p90Ms": 1090,
        "p95Ms": 1090,
        "p99Ms": 1090,
        "maxMs": 1090
      },
      "non2xx": 0,
      "statusCodeStats": {
        "200": {
          "count": 5
        }
      },
      "mongoProfile": {
        "totalOperations": 15,
        "totalMillis": 0,
        "groups": [
          {
            "namespace": "marketplace.users",
            "operation": "query",
            "command": "find",
            "collection": "users",
            "planSummary": "IXSCAN { email: 1 }",
            "queryHash": "106ECB7C",
            "planCacheKey": "AB4716E0",
            "queryShape": "filter={email:string,status:string}",
            "count": 5,
            "millisTotal": 0,
            "millisAverage": 0,
            "millisP50": 0,
            "millisP95": 0,
            "millisMax": 0,
            "docsExamined": 5,
            "keysExamined": 5,
            "nreturned": 5,
            "ninserted": 0,
            "nMatched": 0,
            "nModified": 0,
            "responseLength": 17735,
            "numYield": 0
          },
          {
            "namespace": "marketplace.users",
            "operation": "update",
            "command": "q",
            "collection": "users",
            "planSummary": "IDHACK",
            "queryHash": "",
            "planCacheKey": "",
            "queryShape": "",
            "count": 5,
            "millisTotal": 0,
            "millisAverage": 0,
            "millisP50": 0,
            "millisP95": 0,
            "millisMax": 0,
            "docsExamined": 5,
            "keysExamined": 5,
            "nreturned": 0,
            "ninserted": 0,
            "nMatched": 5,
            "nModified": 5,
            "responseLength": 0,
            "numYield": 0
          },
          {
            "namespace": "marketplace.users",
            "operation": "update",
            "command": "q",
            "collection": "users",
            "planSummary": "IXSCAN { _id: 1 }",
            "queryHash": "E515C562",
            "planCacheKey": "5EA96075",
            "queryShape": "",
            "count": 5,
            "millisTotal": 0,
            "millisAverage": 0,
            "millisP50": 0,
            "millisP95": 0,
            "millisMax": 0,
            "docsExamined": 5,
            "keysExamined": 5,
            "nreturned": 0,
            "ninserted": 0,
            "nMatched": 5,
            "nModified": 5,
            "responseLength": 0,
            "numYield": 0
          }
        ]
      },
      "blockIoDelta": {
        "amanat-dev-nginx": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-backend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-frontend": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-postgres": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-mongodb": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-redis": {
          "readBytes": 0,
          "writeBytes": 0
        },
        "amanat-dev-scanner": {
          "readBytes": 0,
          "writeBytes": 0
        }
      }
    }
  ]
}
