misc: finalized config files

This commit is contained in:
Sheen Capadngan
2024-06-06 00:42:24 +08:00
parent 60895537a7
commit 33b49f4466
9 changed files with 254 additions and 51 deletions
+1 -3
View File
@@ -15,9 +15,7 @@ const run = async () => {
const logger = await initLogger();
const appCfg = initEnvConfig(logger);
if (appCfg.TELEMETRY_EXPORT_URL) {
initTelemetry(appCfg.TELEMETRY_EXPORT_URL);
}
await initTelemetry({ otlpURL: appCfg.OTEL_COLLECTOR_OTLP_URL });
const db = initDbConnection({
dbConnectionUri: appCfg.DB_CONNECTION_URI,