@unhandled/instrumentation-kysely 0.1.10 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -83,3 +83,14 @@ Each point carries `db.client.connection.pool.name` set to `poolName`.
|
|
|
83
83
|
## Duplicate spans
|
|
84
84
|
|
|
85
85
|
If you also enable OpenTelemetry's `pg` instrumentation, every query is traced twice, once here and once at the driver. Keep one of them. postgres.js has no OpenTelemetry coverage, so wrapping its dialect here causes no duplicates.
|
|
86
|
+
|
|
87
|
+
## For AI agents
|
|
88
|
+
|
|
89
|
+
A coding agent can install this package, check that its data arrives and fix the errors it reports through the Unhandled MCP server at `https://unhandled.net/mcp/x/debug`. In Claude Code, the Unhandled plugin adds that server plus skills for instrumenting a service, fixing a production error with a failing test first and verifying a deploy:
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
claude plugin marketplace add treboryx/unhandled
|
|
93
|
+
claude plugin install unhandled@unhandled
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Codex, Cursor, Gemini CLI and other agents connect to the same URL. [Coding agents](https://unhandled.net/docs/features/agents) has the setup for each one and an `AGENTS.md` section to add to your repository.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhandled/instrumentation-kysely",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "Kysely query tracing and pg pool metrics for Unhandled",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@opentelemetry/api": "~1.9.1",
|
|
23
23
|
"@opentelemetry/core": "^2.12.0",
|
|
24
|
-
"@unhandled/protocol": "0.
|
|
24
|
+
"@unhandled/protocol": "0.12.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@adonisjs/tsconfig": "^2.0.0",
|