Skip to content

Commit

Permalink
feat: add feature record (#8400)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkskygit committed Oct 10, 2024
1 parent 8696043 commit f833017
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/backend/server/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import cookieParser from 'cookie-parser';
import graphqlUploadExpress from 'graphql-upload/graphqlUploadExpress.mjs';

import { AuthGuard } from './core/auth';
import { ENABLED_FEATURES } from './core/config/server-feature';
import {
CacheInterceptor,
CloudThrottlerGuard,
Expand Down Expand Up @@ -56,6 +57,7 @@ export async function createApp() {
.init(AFFiNE.metrics.telemetry.token)
.track('selfhost-server-started', {
version: AFFiNE.version,
features: Array.from(ENABLED_FEATURES),
});
}

Expand Down

0 comments on commit f833017

Please sign in to comment.