mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
add webhooks usage stats
This commit is contained in:
parent
4b033d8f00
commit
dae5bf593c
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ class Webhooks extends Action
|
||||||
$queueForUsage
|
$queueForUsage
|
||||||
->addMetric(METRIC_WEBHOOKS_FAILED, 1)
|
->addMetric(METRIC_WEBHOOKS_FAILED, 1)
|
||||||
->addMetric(str_replace('{webhookInternalId}', $webhook->getInternalId(), METRIC_WEBHOOK_ID_FAILED), 1)
|
->addMetric(str_replace('{webhookInternalId}', $webhook->getInternalId(), METRIC_WEBHOOK_ID_FAILED), 1)
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue