Revert "refactor(server): standarderlize metrics and trace with OTEL (#5054)"

This reverts commit 91efca107a.
This commit is contained in:
李华桥
2023-11-25 23:37:07 +08:00
parent b20e91bee0
commit c1cd1713b9
23 changed files with 358 additions and 296 deletions
@@ -12,6 +12,7 @@ import ava, { type TestFn } from 'ava';
import { ConfigModule } from '../src/config';
import { GqlModule } from '../src/graphql.module';
import { MetricsModule } from '../src/metrics';
import { AuthModule } from '../src/modules/auth';
import { AuthService } from '../src/modules/auth/service';
import { PrismaModule } from '../src/prisma';
@@ -43,6 +44,7 @@ test.beforeEach(async t => {
PrismaModule,
GqlModule,
AuthModule,
MetricsModule,
RateLimiterModule,
],
}).compile();