mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
add disabled metrics
This commit is contained in:
parent
1af638deef
commit
7ecba8e5bb
1 changed files with 8 additions and 0 deletions
|
|
@ -837,6 +837,14 @@ class Builds extends Action
|
|||
$jwtObj = new JWT(System::getEnv('_APP_OPENSSL_KEY_V1'), 'HS256', 900, 0);
|
||||
$apiKey = $jwtObj->encode([
|
||||
'hostnameOverride' => true,
|
||||
'disabledMetrics' => [
|
||||
METRIC_EXECUTIONS,
|
||||
METRIC_EXECUTIONS_COMPUTE,
|
||||
METRIC_EXECUTIONS_MB_SECONDS,
|
||||
METRIC_NETWORK_REQUESTS,
|
||||
METRIC_NETWORK_INBOUND,
|
||||
METRIC_NETWORK_OUTBOUND,
|
||||
],
|
||||
'bannerDisabled' => true,
|
||||
'projectCheckDisabled' => true,
|
||||
'previewAuthDisabled' => true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue