Skip to content

Commit

Permalink
Improve observability (#10)
Browse files Browse the repository at this point in the history
* observability

* fix key on message

* test coverage
  • Loading branch information
PabloSzx committed Jul 28, 2022
1 parent 9236ebe commit 748ce12
Show file tree
Hide file tree
Showing 5 changed files with 344 additions and 53 deletions.
5 changes: 5 additions & 0 deletions .changeset/fifty-cameras-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@soundxyz/redis-pubsub": major
---

New Pino logger required option + optional "logLevel" option (default is "silent") to debug and trace subscriptions performance
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,20 @@
"dotenv": "^16.0.1",
"esbuild": "^0.14.41",
"ioredis": "^5.0.5",
"pino": "^8.3.1",
"prettier": "^2.6.2",
"typescript": "^4.7.2",
"wait-for-expect": "^3.0.2",
"zod": "^3.17.3"
},
"peerDependencies": {
"ioredis": "^5.0.5",
"pino": "*",
"zod": "^3.17.3"
},
"peerDependenciesMeta": {
"pino": {
"optional": true
}
}
}
103 changes: 103 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 748ce12

Please sign in to comment.