@dxos/effect 0.13.0 → 0.14.0

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": "@dxos/effect",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "Effect utils.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -99,11 +99,11 @@
99
99
  "@effect/opentelemetry": "4.0.0",
100
100
  "@opentelemetry/api": "^1.9.1",
101
101
  "jsonpath-plus": "^10.3.0",
102
- "@dxos/async": "0.13.0",
103
- "@dxos/context": "0.13.0",
104
- "@dxos/invariant": "0.13.0",
105
- "@dxos/node-std": "0.13.0",
106
- "@dxos/util": "0.13.0"
102
+ "@dxos/async": "0.14.0",
103
+ "@dxos/context": "0.14.0",
104
+ "@dxos/invariant": "0.14.0",
105
+ "@dxos/node-std": "0.14.0",
106
+ "@dxos/util": "0.14.0"
107
107
  },
108
108
  "devDependencies": {
109
109
  "@effect/platform-browser": "4.0.0",
@@ -115,7 +115,7 @@
115
115
  "@opentelemetry/sdk-trace-node": "^2.11.0",
116
116
  "@opentelemetry/semantic-conventions": "^1.43.0",
117
117
  "effect": "4.0.0",
118
- "@dxos/log": "0.13.0"
118
+ "@dxos/log": "0.14.0"
119
119
  },
120
120
  "peerDependencies": {
121
121
  "@effect/platform-browser": "4.0.0",
@@ -55,6 +55,12 @@ export const TRIGGER = {
55
55
  kind: 'dxos.trigger.kind',
56
56
  } as const;
57
57
 
58
+ /** Attributes that steer tail sampling. */
59
+ export const SAMPLING = {
60
+ /** Set on a rare span whose every occurrence is counted, so tail sampling never drops it. */
61
+ keep: 'dxos.sampling.keep',
62
+ } as const;
63
+
58
64
  /** Attribute naming the operation an invocation runs. */
59
65
  export const OPERATION = {
60
66
  key: 'dxos.operation.key',