Document experimental logging config

This commit is contained in:
Chirag Aggarwal
2026-04-30 11:34:15 +05:30
parent 9e9ca86a3c
commit 0dfe84a56b
3 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -291,7 +291,7 @@ $container->set('logError', function () {
Span::add('appwrite.error.publish', true);
Span::add('appwrite.error.action', $action);
Span::add('error.message', $error->getMessage());
Span::add('error.type', get_class($error));
Span::add('verboseType', get_class($error));
Span::add('error.code', $error->getCode());
Span::add('error.file', $error->getFile());
Span::add('error.line', $error->getLine());
+9
View File
@@ -286,6 +286,15 @@ return [
'question' => '',
'filter' => ''
],
[
'name' => '_APP_EXPERIMENT_LOGGING_CONFIG',
'description' => 'This variable enables experimental error logging using a provider DSN. This value is empty by default. Currently, Appwrite supports Sentry DSNs using the format `sentry://PROJECT_ID:SENTRY_API_KEY@SENTRY_HOST/?sample=0.01`.',
'introduction' => '1.9.0',
'default' => '',
'required' => false,
'question' => '',
'filter' => ''
],
[
'name' => '_APP_USAGE_AGGREGATION_INTERVAL',
'description' => 'Interval value containing the number of seconds that the Appwrite usage process should wait before aggregating stats and syncing it to Database from TimeSeries data. The default value is 30 seconds. Reintroduced in 1.1.0.',
-1
View File
@@ -46,7 +46,6 @@ $addSentryExporter = function (string $loggingConfig, ?callable $sampler = null)
'dnsDomain',
'embeddingModel',
'error.code',
'error.type',
'hostname',
'locale',
'method',