[COMPASS-7061] Removed request logging before the feature moves to public preview Created: 31/Jul/23  Updated: 17/Aug/23  Resolved: 15/Aug/23

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Alena Khineika Assignee: Alena Khineika
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by COMPASS-7054 Log full requests and responses from AI Closed
Epic Link: COMPASS-6866
Documentation Changes: Not Needed

 Description   

For the internal beta, we want to log the full request and response from AI. We should remove request and response logging before the feature moves to the public preview. Consider logging the general info about the request, eg:

req.logger.info('Performing a query generation request', {
      hasSchema: !!req.body.schema,
      hasCollectionName: !!req.body.collectionName,
      hasDatabaseName: !!req.body.databaseName,
      hasSampleDocuments: !!req.body.hasSampleDocuments,
});



 Comments   
Comment by Rhys Howell [ 15/Aug/23 ]

Not needed as we'll be moving to mms before going public and will not bring logging there.

Generated at Wed Feb 07 22:45:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.