@twin.org/node-core 0.9.2-next.11 → 0.9.2-next.13

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.
@@ -824,6 +824,14 @@ export interface IEngineEnvironmentVariables {
824
824
  * The mutex timeout in milliseconds for the dataspace agreement cache.
825
825
  */
826
826
  dataspaceAgreementCacheMutexTimeout?: string;
827
+ /**
828
+ * The time in milliseconds after which an unused agreement is eligible for removal.
829
+ */
830
+ dataspaceAgreementUnusedThreshold?: string;
831
+ /**
832
+ * The interval in milliseconds between agreement sweep runs.
833
+ */
834
+ dataspaceAgreementSweepInterval?: string;
827
835
  /**
828
836
  * The number of times to retry failed data plane tasks.
829
837
  */
@@ -62,4 +62,12 @@ export interface IEngineServerEnvironmentVariables {
62
62
  * List of properties to obfuscate in the REST logging output, comma separated.
63
63
  */
64
64
  routeLoggingObfuscateProperties?: string;
65
+ /**
66
+ * Comma-separated list of URL path prefixes excluded from metrics collection.
67
+ */
68
+ routeMetricsExcludePaths?: string;
69
+ /**
70
+ * Comma-separated list of URL path prefixes excluded from tracing.
71
+ */
72
+ routeTracingExcludePaths?: string;
65
73
  }
package/docs/changelog.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.9.2-next.13](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.2-next.12...node-core-v0.9.2-next.13) (2026-08-18)
4
+
5
+
6
+ ### Features
7
+
8
+ * add tracing ([#344](https://github.com/iotaledger/twin-node/issues/344)) ([4fa71cd](https://github.com/iotaledger/twin-node/commit/4fa71cd0eafd7d708df15c8f0a85323fecd05561))
9
+
10
+ ## [0.9.2-next.12](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.2-next.11...node-core-v0.9.2-next.12) (2026-08-17)
11
+
12
+
13
+ ### Features
14
+
15
+ * add dsp sweep vars ([#340](https://github.com/iotaledger/twin-node/issues/340)) ([5487c13](https://github.com/iotaledger/twin-node/commit/5487c13197fcd386206ec37f9f342c55ec5b1176))
16
+ * rest metrics ([#341](https://github.com/iotaledger/twin-node/issues/341)) ([ebec573](https://github.com/iotaledger/twin-node/commit/ebec5736bb66adfd97f7d73912bec1ce7392e5f8))
17
+
3
18
  ## [0.9.2-next.11](https://github.com/iotaledger/twin-node/compare/node-core-v0.9.2-next.10...node-core-v0.9.2-next.11) (2026-08-14)
4
19
 
5
20
 
@@ -0,0 +1,20 @@
1
+ # Function: isTracingRequired()
2
+
3
+ > **isTracingRequired**(`envVars`): `boolean`
4
+
5
+ Checks if the tracing subsystem is required.
6
+ Returns true when any component that depends on the tracing subsystem is enabled.
7
+
8
+ ## Parameters
9
+
10
+ ### envVars
11
+
12
+ [`IEngineEnvironmentVariables`](../interfaces/IEngineEnvironmentVariables.md)
13
+
14
+ The environment variables.
15
+
16
+ ## Returns
17
+
18
+ `boolean`
19
+
20
+ True if tracing is enabled.
@@ -49,6 +49,7 @@
49
49
  - [isTaskSchedulerRequired](functions/isTaskSchedulerRequired.md)
50
50
  - [isAutomationRequired](functions/isAutomationRequired.md)
51
51
  - [isTelemetryRequired](functions/isTelemetryRequired.md)
52
+ - [isTracingRequired](functions/isTracingRequired.md)
52
53
  - [buildEngineServerConfiguration](functions/buildEngineServerConfiguration.md)
53
54
  - [isAuthEntityStorageRequired](functions/isAuthEntityStorageRequired.md)
54
55
  - [extensionsConfiguration](functions/extensionsConfiguration.md)
@@ -1685,6 +1685,22 @@ The mutex timeout in milliseconds for the dataspace agreement cache.
1685
1685
 
1686
1686
  ***
1687
1687
 
1688
+ ### dataspaceAgreementUnusedThreshold? {#dataspaceagreementunusedthreshold}
1689
+
1690
+ > `optional` **dataspaceAgreementUnusedThreshold?**: `string`
1691
+
1692
+ The time in milliseconds after which an unused agreement is eligible for removal.
1693
+
1694
+ ***
1695
+
1696
+ ### dataspaceAgreementSweepInterval? {#dataspaceagreementsweepinterval}
1697
+
1698
+ > `optional` **dataspaceAgreementSweepInterval?**: `string`
1699
+
1700
+ The interval in milliseconds between agreement sweep runs.
1701
+
1702
+ ***
1703
+
1688
1704
  ### dataspaceRetryCount? {#dataspaceretrycount}
1689
1705
 
1690
1706
  > `optional` **dataspaceRetryCount?**: `string`
@@ -121,3 +121,19 @@ Include the full base 64 output in the REST logging output, useful for debugging
121
121
  > `optional` **routeLoggingObfuscateProperties?**: `string`
122
122
 
123
123
  List of properties to obfuscate in the REST logging output, comma separated.
124
+
125
+ ***
126
+
127
+ ### routeMetricsExcludePaths? {#routemetricsexcludepaths}
128
+
129
+ > `optional` **routeMetricsExcludePaths?**: `string`
130
+
131
+ Comma-separated list of URL path prefixes excluded from metrics collection.
132
+
133
+ ***
134
+
135
+ ### routeTracingExcludePaths? {#routetracingexcludepaths}
136
+
137
+ > `optional` **routeTracingExcludePaths?**: `string`
138
+
139
+ Comma-separated list of URL path prefixes excluded from tracing.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/node-core",
3
- "version": "0.9.2-next.11",
3
+ "version": "0.9.2-next.13",
4
4
  "description": "TWIN Node Core for serving APIs using the specified configuration",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,6 +42,7 @@
42
42
  "@twin.org/standards-w3c-odrl": "next",
43
43
  "@twin.org/telemetry-connector-opentelemetry": "next",
44
44
  "@twin.org/tracing-connector-opentelemetry": "next",
45
+ "@twin.org/tracing-models": "next",
45
46
  "@twin.org/vault-models": "next",
46
47
  "@twin.org/wallet-connector-entity-storage": "next",
47
48
  "@twin.org/wallet-models": "next",