refactor(server): telemetry (#13588)

refactor: telemetry
This commit is contained in:
Jason Rasmussen
2024-10-21 19:52:30 -04:00
committed by GitHub
parent 16f2364e93
commit e6a666f1d3
45 changed files with 143 additions and 202 deletions

View File

@@ -4,7 +4,6 @@ import { Chunked, ChunkedArray, ChunkedSet, DummyValue, GenerateSql } from 'src/
import { AlbumEntity } from 'src/entities/album.entity';
import { AssetEntity } from 'src/entities/asset.entity';
import { AlbumAssetCount, AlbumInfoOptions, IAlbumRepository } from 'src/interfaces/album.interface';
import { Instrumentation } from 'src/utils/instrumentation';
import {
DataSource,
EntityManager,
@@ -23,7 +22,6 @@ const withoutDeletedUsers = <T extends AlbumEntity | null>(album: T) => {
return album;
};
@Instrumentation()
@Injectable()
export class AlbumRepository implements IAlbumRepository {
constructor(