This commit is contained in:
@@ -8,11 +8,11 @@ export class SearchContractDto {
|
||||
@IsString()
|
||||
search?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'Filter by Project ID' })
|
||||
@ApiPropertyOptional({
|
||||
description: 'Filter by Project ID or UUID (ADR-019)',
|
||||
})
|
||||
@IsOptional()
|
||||
@IsInt()
|
||||
@Type(() => Number)
|
||||
projectId?: number;
|
||||
projectId?: number | string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'Page number', default: 1 })
|
||||
@IsOptional()
|
||||
|
||||
@@ -71,18 +71,22 @@ import { UserModule } from '../user/user.module';
|
||||
makeCounterProvider({
|
||||
name: 'numbering_sequences_total',
|
||||
help: 'Total number of sequences generated',
|
||||
labelNames: ['project_id', 'type_id'],
|
||||
}),
|
||||
makeGaugeProvider({
|
||||
name: 'numbering_sequence_utilization',
|
||||
help: 'Current utilization of sequence space',
|
||||
labelNames: ['project_id'],
|
||||
}),
|
||||
makeHistogramProvider({
|
||||
name: 'numbering_lock_wait_seconds',
|
||||
help: 'Time spent waiting for locks',
|
||||
labelNames: ['project_id'],
|
||||
}),
|
||||
makeCounterProvider({
|
||||
name: 'numbering_lock_failures_total',
|
||||
help: 'Total number of lock acquisition failures',
|
||||
labelNames: ['project_id'],
|
||||
}),
|
||||
],
|
||||
exports: [
|
||||
|
||||
Reference in New Issue
Block a user