Skip to content

Commit

Permalink
fix!: do not collect metrics with kindName
Browse files Browse the repository at this point in the history
  • Loading branch information
mdornseif committed Feb 8, 2022
1 parent 6cdd492 commit 00495f7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/dstore-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@ export class Dstore implements IDstore {
: []
);
} catch (error) {
// console.error(error)
metricFailureCounter.inc({ operation: 'get' });
await setImmediate();
throw new DstoreError('datastore.getMulti error', error, { keys });
Expand Down Expand Up @@ -552,7 +551,6 @@ export class Dstore implements IDstore {
try {
ret = (await this.getDoT().delete(keys)) || undefined;
} catch (error) {
// console.error(error)
metricFailureCounter.inc({ operation: 'delete' });
await setImmediate();
throw new DstoreError('datastore.delete error', error);
Expand Down

0 comments on commit 00495f7

Please sign in to comment.