Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienR1 committed Oct 24, 2023
1 parent 744230c commit 57da455
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/clickhouse/handleSinkRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async function handleEntityChange(queue: PQueue, change: EntityChange, metadata:
return deleteEntityChange();

default:
prometheus.entity_chages_unsupported.inc();
prometheus.entity_changes_unsupported.inc();
logger.error("unsupported operation found in entityChanges: " + change.operation.toString());
return Promise.resolve();
}
Expand Down
2 changes: 1 addition & 1 deletion src/prometheus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ export const queue_size = registerGauge("queue_size", "Amount of promises being
export const entity_changes_inserted = registerCounter("entity_changes_inserted", "Total inserted entity changes")!;
export const entity_changes_updated = registerCounter("entity_changes_updated", "Total updated entity changes")!;
export const entity_changes_deleted = registerCounter("entity_changes_deleted", "Total deleted entity changes")!;
export const entity_chages_unsupported = registerCounter("entity_changes_unsupported", "Total unsupported entity changes")!
export const entity_changes_unsupported = registerCounter("entity_changes_unsupported", "Total unsupported entity changes")!

0 comments on commit 57da455

Please sign in to comment.