@miden-sdk/telemetry-sentry 0.17.2 → 0.17.4

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.
Files changed (3) hide show
  1. package/AGENTS.md +7 -0
  2. package/README.md +1 -1
  3. package/package.json +3 -3
package/AGENTS.md CHANGED
@@ -16,6 +16,13 @@ quota for the SDK's entire successful call volume. Leave it out, or set a
16
16
  threshold you chose on purpose. `@miden-sdk/telemetry-otel` has no equivalent
17
17
  guard, so do not reason from one package to the other.
18
18
 
19
+ A success over the threshold is not always slow work. `durationMs` runs from
20
+ when the call's turn on its client's queue starts, and a call that takes the
21
+ store lock (the syncs, `importNoteFile`, `fetchPrivateNotes`, and, on a store
22
+ still at genesis only, `syncBeforeAccountCreation` and account creation) waits
23
+ within that time for any other client or tab holding the lock, so a slow
24
+ observation of one of these can be lock wait.
25
+
19
26
  ## Wiring it
20
27
 
21
28
  ```ts
package/README.md CHANGED
@@ -79,7 +79,7 @@ scheduled afterwards:
79
79
  | `level` | `"error"` on failure, `"info"` on success |
80
80
  | `tags.op` | the operation name |
81
81
  | `tags.outcome` | `"ok"` or `"error"` |
82
- | `extra.durationMs` | wall time the caller waited |
82
+ | `extra.durationMs` | the observation's `durationMs`: from the call's turn on its client's queue until it settled |
83
83
 
84
84
  ## Sensitive detail
85
85
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miden-sdk/telemetry-sentry",
3
- "version": "0.17.2",
3
+ "version": "0.17.4",
4
4
  "description": "Opt-in Sentry binding for Miden SDK observations",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "AGENTS.md"
18
18
  ],
19
19
  "peerDependencies": {
20
- "@miden-sdk/miden-sdk": "^0.17.2"
20
+ "@miden-sdk/miden-sdk": "^0.17.4"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@typescript-eslint/eslint-plugin": "^8.25.0",
@@ -26,7 +26,7 @@
26
26
  "eslint": "^9.30.1",
27
27
  "typescript": "^5.0.0",
28
28
  "vitest": "^3.0.0",
29
- "@miden-sdk/miden-sdk": "0.17.2"
29
+ "@miden-sdk/miden-sdk": "0.17.4"
30
30
  },
31
31
  "keywords": [
32
32
  "miden",