Add pow metrics

This commit is contained in:
2024-04-04 17:43:27 -06:00
parent 2eed36bdd7
commit 6084054590
6 changed files with 146 additions and 7 deletions

View File

@@ -3,9 +3,11 @@ import { FileService } from './file.service';
import { Post } from '@nestjs/common';
import { UploadedObjectInfo } from 'minio';
import { FileInterceptor } from '@nestjs/platform-express';
import { ApiConsumes } from '@nestjs/swagger';
import { ApiConsumes, ApiTags } from '@nestjs/swagger';
import { InjectMetric } from '@willsoto/nestjs-prometheus';
@Controller('file')
@ApiTags('file')
export class FileController {
constructor(private readonly fileService: FileService) { }