mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-07 09:21:24 +08:00
feat: add feature record (#8400)
This commit is contained in:
@@ -5,6 +5,7 @@ import cookieParser from 'cookie-parser';
|
|||||||
import graphqlUploadExpress from 'graphql-upload/graphqlUploadExpress.mjs';
|
import graphqlUploadExpress from 'graphql-upload/graphqlUploadExpress.mjs';
|
||||||
|
|
||||||
import { AuthGuard } from './core/auth';
|
import { AuthGuard } from './core/auth';
|
||||||
|
import { ENABLED_FEATURES } from './core/config/server-feature';
|
||||||
import {
|
import {
|
||||||
CacheInterceptor,
|
CacheInterceptor,
|
||||||
CloudThrottlerGuard,
|
CloudThrottlerGuard,
|
||||||
@@ -56,6 +57,7 @@ export async function createApp() {
|
|||||||
.init(AFFiNE.metrics.telemetry.token)
|
.init(AFFiNE.metrics.telemetry.token)
|
||||||
.track('selfhost-server-started', {
|
.track('selfhost-server-started', {
|
||||||
version: AFFiNE.version,
|
version: AFFiNE.version,
|
||||||
|
features: Array.from(ENABLED_FEATURES),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user