Skip to content

Commit

Permalink
chore(logs): add url to redis kv store
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Sep 9, 2024
1 parent 379e027 commit 0041495
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/store/redis-kv-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,15 @@ export class RedisKvStore implements KVBufferStore {
this.log.error(`Redis error`, {
message: error.message,
stack: error.stack,
url: redisUrl,
});
metrics.redisErrorCounter.inc();
});
this.client.connect().catch((error: any) => {
this.log.error(`Redis connection error`, {
message: error.message,
stack: error.stack,
url: redisUrl,
});
metrics.redisConnectionErrorsCounter.inc();
});
Expand Down

0 comments on commit 0041495

Please sign in to comment.