data-api-builder icon indicating copy to clipboard operation
data-api-builder copied to clipboard

Adding logs to monitor db query execution time in dab

Open rohkhann opened this issue 1 year ago • 0 comments

Why make this change?

We want to understand the graphql overhead that is being added while execution of a query.

What is this change?

this query adds the time it took for the query to execute on the db. Total execution time - time query took on db should give us the graphql overhead.

How was this tested?

Since this is only a timer addition and no logical change. existing unit tests should cover code.

rohkhann avatar Aug 09 '24 22:08 rohkhann