adding new usage metric

This commit is contained in:
shimon
2024-05-07 20:12:58 +03:00
parent 2f54446aee
commit 2962fbf7d7
+1 -1
View File
@@ -360,7 +360,7 @@ const METRIC_DEPLOYMENTS_STORAGE = 'deployments.storage';
**API**
In the database listener, add to an existing or create a new switch case. Add a call to the usage worker with your new metric const like so:
On file app/controllers/shared/api.php in database listener, add to an existing or create a new switch case. Add a call to the usage worker with your new metric const like so:
```php
case $document->getCollection() === 'teams':