chore(server): use absolute import paths (#8080)

update server to use absolute import paths
This commit is contained in:
Daniel Dietzler 2024-03-20 19:32:04 +01:00 committed by GitHub
parent 591a641d8d
commit 30f499cf2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
347 changed files with 1962 additions and 2274 deletions

View file

@ -1,4 +1,3 @@
import { serverVersion } from '@app/domain/domain.constant';
import { Histogram, MetricOptions, ValueType, metrics } from '@opentelemetry/api';
import { AsyncLocalStorageContextManager } from '@opentelemetry/context-async-hooks';
import { PrometheusExporter } from '@opentelemetry/exporter-prometheus';
@ -14,8 +13,9 @@ import { snakeCase, startCase } from 'lodash';
import { OpenTelemetryModuleOptions } from 'nestjs-otel/lib/interfaces';
import { copyMetadataFromFunctionToFunction } from 'nestjs-otel/lib/opentelemetry.utils';
import { performance } from 'node:perf_hooks';
import { excludePaths } from './infra.config';
import { DecorateAll } from './infra.utils';
import { serverVersion } from 'src/domain/domain.constant';
import { excludePaths } from 'src/infra/infra.config';
import { DecorateAll } from 'src/infra/infra.utils';
let metricsEnabled = process.env.IMMICH_METRICS === 'true';
const hostMetrics =