1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-30 02:44:37 +02:00

feat: OTelのHTTPサーバ自動計装を追加 (#17711)

This commit is contained in:
おさむのひと
2026-07-14 18:06:25 +09:00
committed by GitHub
parent 91ea966b04
commit ecd85e5613
7 changed files with 151 additions and 11 deletions

View File

@@ -32,6 +32,7 @@ import { HealthServerService } from './HealthServerService.js';
import { ClientServerService } from './web/ClientServerService.js';
import { OpenApiServerService } from './api/openapi/OpenApiServerService.js';
import { OAuth2ProviderService } from './oauth/OAuth2ProviderService.js';
import { registerHttpServerInstrumentation } from './http-server-instrumentation.js';
const _dirname = fileURLToPath(new URL('.', import.meta.url));
@@ -80,6 +81,7 @@ export class ServerService implements OnApplicationShutdown {
logger: false,
});
this.#fastify = fastify;
await registerHttpServerInstrumentation(fastify, this.config);
// HSTS
// 6months (15552000sec)