@open-mercato/telemetry 0.11.1-develop.8951.1.108985f0c9 → 0.11.1-develop.8960.1.1345cbafca

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-mercato/telemetry",
3
- "version": "0.11.1-develop.8951.1.108985f0c9",
3
+ "version": "0.11.1-develop.8960.1.1345cbafca",
4
4
  "license": "MIT",
5
5
  "description": "Vendor-neutral spans, metrics, and error reporting backed by a pluggable OTLP provider. Off by default; the telemetry runtime is loaded only when explicitly enabled.",
6
6
  "type": "module",
@@ -38,7 +38,7 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@open-mercato/shared": "0.11.1-develop.8951.1.108985f0c9"
41
+ "@open-mercato/shared": "0.11.1-develop.8960.1.1345cbafca"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "react": ">=18.0.0"
@@ -17,6 +17,7 @@ import path from 'node:path'
17
17
  * span before the underlying call fails.
18
18
  */
19
19
  const pkgRoot = path.resolve(__dirname, '../..')
20
+ const PROBE_TIMEOUT_MS = 120_000
20
21
 
21
22
  const CHILD_SCRIPT = `
22
23
  import assert from 'node:assert/strict'
@@ -93,7 +94,7 @@ function runChild(order: string): ProbeSpan[] {
93
94
  OTEL_EXPORTER_OTLP_ENDPOINT: 'http://127.0.0.1:1',
94
95
  OM_LOG_LEVEL: 'error',
95
96
  },
96
- timeout: 30_000,
97
+ timeout: PROBE_TIMEOUT_MS,
97
98
  })
98
99
  const line = (result.stdout || '').split('\n').find((candidate) => candidate.startsWith('SPANS='))
99
100
  if (result.error || result.status !== 0 || result.signal || !line) {
@@ -118,6 +119,6 @@ describe('OTLP provider pg instrumentation', () => {
118
119
  const statements = spans.flatMap((span) => [span.attributes['db.query.text'], span.attributes['db.statement']])
119
120
  expect(statements).toContain('select "s0".* from "sessions" as "s0" where "s0"."id" = ? limit ?')
120
121
  },
121
- 35_000,
122
+ PROBE_TIMEOUT_MS + 10_000,
122
123
  )
123
124
  })