mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
chore(server): use absolute import paths (#8080)
update server to use absolute import paths
This commit is contained in:
parent
591a641d8d
commit
30f499cf2e
347 changed files with 1962 additions and 2274 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue