From 2962fbf7d791f24fd4ac66b8f3a93ffc2bcfd4d9 Mon Sep 17 00:00:00 2001 From: shimon Date: Tue, 7 May 2024 20:12:58 +0300 Subject: [PATCH] adding new usage metric --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2cc4a7cd6a..438d0da2c3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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':