Skip to content

Commit

Permalink
fix: metrics id
Browse files Browse the repository at this point in the history
  • Loading branch information
Amuhar committed Jan 9, 2024
1 parent 06f8422 commit 8b9aef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jobs/keys-update/keys-update.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export class KeysUpdateService {
this.prometheusService.registryNumberOfKeysBySRModuleAndOperator.set(
{
operator: operator.index,
srModuleId: module.id,
srModuleId: module.moduleId,
used: 'true',
},
operator.usedSigningKeys,
Expand All @@ -191,7 +191,7 @@ export class KeysUpdateService {
this.prometheusService.registryNumberOfKeysBySRModuleAndOperator.set(
{
operator: operator.index,
srModuleId: module.id,
srModuleId: module.moduleId,
used: 'false',
},
operator.totalSigningKeys - operator.usedSigningKeys,
Expand Down

0 comments on commit 8b9aef1

Please sign in to comment.