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

@@ -17,7 +17,6 @@ import {
TranscodeCommand,
VideoInfo,
} from 'src/interfaces/media.interface';
import { Instrumentation } from 'src/utils/instrumentation';
import { handlePromiseError } from 'src/utils/misc';
const probe = (input: string, options: string[]): Promise<FfprobeData> =>
@@ -36,7 +35,6 @@ type ProgressEvent = {
percent?: number;
};
@Instrumentation()
@Injectable()
export class MediaRepository implements IMediaRepository {
constructor(@Inject(ILoggerRepository) private logger: ILoggerRepository) {