mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Document experimental logging config
This commit is contained in:
+1
-1
@@ -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());
|
||||
|
||||
@@ -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.',
|
||||
|
||||
@@ -46,7 +46,6 @@ $addSentryExporter = function (string $loggingConfig, ?callable $sampler = null)
|
||||
'dnsDomain',
|
||||
'embeddingModel',
|
||||
'error.code',
|
||||
'error.type',
|
||||
'hostname',
|
||||
'locale',
|
||||
'method',
|
||||
|
||||
Reference in New Issue
Block a user