Usage insights query caching (#47893)
* Updates queryResponse tests to include new cachedResponse bool * Adds cachedResponse bool to QueryResponse * Adds tests to assert the correct query counts (totalQueries and cachedQueries) are dispatched for data-requests * Adds totalQueries and cachedQueries counts to the data-request events * Adds new metrics and their descriptions to docs * uses more descriptive variable name * changes naming * removes hyphen in docs * extracts calculations to own lines prior to assignment
This commit is contained in:
@@ -45,6 +45,8 @@ Logs of usage insights contain the following fields, where the fields followed b
|
||||
| `tokenId`\* | number | ID of the user’s authentication token. |
|
||||
| `username`\* | string | Name of the Grafana user that made the request. |
|
||||
| `userId`\* | number | ID of the Grafana user that made the request. |
|
||||
| `totalQueries`\* | number | Number of queries executed for the data request. |
|
||||
| `cachedQueries`\* | number | Number of fetched queries that came from the cache. |
|
||||
|
||||
## Configuration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user