Browse Source

add comment

Syunsuke Komma 2 years ago
parent
commit
1f1b92a7bd
1 changed files with 3 additions and 0 deletions
  1. 3 0
      apps/app/src/server/crowi/opentelemetry.ts

+ 3 - 0
apps/app/src/server/crowi/opentelemetry.ts

@@ -29,13 +29,16 @@ export class OpenTelemetry {
       resource: new Resource({
       resource: new Resource({
         [SEMRESATTRS_SERVICE_NAME]: 'next-app',
         [SEMRESATTRS_SERVICE_NAME]: 'next-app',
         // TODO: 環境変数から入れられるようにしたい
         // TODO: 環境変数から入れられるようにしたい
+        // https://redmine.weseek.co.jp/issues/144351 で決定予定
         [SEMRESATTRS_SERVICE_INSTANCE_ID]: this.instanceId,
         [SEMRESATTRS_SERVICE_INSTANCE_ID]: this.instanceId,
         [SEMRESATTRS_SERVICE_VERSION]: this.version,
         [SEMRESATTRS_SERVICE_VERSION]: this.version,
       }),
       }),
       // TODO: 宛先を環境変数から設定できるようにしたい
       // TODO: 宛先を環境変数から設定できるようにしたい
+      // https://redmine.weseek.co.jp/issues/144352 で実施予定
       traceExporter: new OTLPTraceExporter({ url: 'http://otel-collector:4317' }),
       traceExporter: new OTLPTraceExporter({ url: 'http://otel-collector:4317' }),
       metricReader: new PeriodicExportingMetricReader({
       metricReader: new PeriodicExportingMetricReader({
         // TODO: 宛先を環境変数から設定できるようにしたい
         // TODO: 宛先を環境変数から設定できるようにしたい
+        // https://redmine.weseek.co.jp/issues/144352 で実施予定
         exporter: new OTLPMetricExporter({ url: 'http://otel-collector:4317' }),
         exporter: new OTLPMetricExporter({ url: 'http://otel-collector:4317' }),
         exportIntervalMillis: 10000,
         exportIntervalMillis: 10000,
       }),
       }),