@miden-sdk/telemetry-otel 0.17.3 → 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 +6 -0
  2. package/README.md +1 -1
  3. package/package.json +3 -3
package/AGENTS.md CHANGED
@@ -38,6 +38,12 @@ only once it has finished, so the span is reconstructed: it ends when the
38
38
  observation arrived, is backdated by the duration, and has no parent. A broken
39
39
  tracer cannot fail the operation; the observer never throws.
40
40
 
41
+ The duration runs from when the call's turn on its client's queue starts. A call
42
+ that takes the store lock (the syncs, `importNoteFile`, `fetchPrivateNotes`, and,
43
+ on a store still at genesis only, `syncBeforeAccountCreation` and account
44
+ creation) waits within that time for any other client or tab holding the lock,
45
+ so a long span of one of these can be lock wait, not work.
46
+
41
47
  ## `observer` and `observeSensitive` on the client
42
48
 
43
49
  `ClientOptions.observer` is registered process-wide and the newest registration
package/README.md CHANGED
@@ -67,7 +67,7 @@ afterwards:
67
67
  | | |
68
68
  |---|---|
69
69
  | span name | `miden.<op>`, e.g. `miden.proveTransaction` |
70
- | `miden.duration_ms` | wall time the caller waited |
70
+ | `miden.duration_ms` | the observation's `durationMs`: from the call's turn on its client's queue until it settled |
71
71
  | `miden.outcome` | `"ok"` or `"error"` |
72
72
  | status | `ERROR` (code `2`) on failure; left `UNSET` on success |
73
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miden-sdk/telemetry-otel",
3
- "version": "0.17.3",
3
+ "version": "0.17.4",
4
4
  "description": "Opt-in OpenTelemetry 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.3"
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.3"
29
+ "@miden-sdk/miden-sdk": "0.17.4"
30
30
  },
31
31
  "keywords": [
32
32
  "miden",