@effect-app/infra 0.94.6 → 0.94.7

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.
@@ -1,11 +0,0 @@
1
- /**
2
- * @tsplus fluent effect/io/Effect instrument
3
- */
4
- export function instr<R, E, A>(self: Effect<R, E, A>, name: string, properties?: Record<string, string>) {
5
- return self
6
- .zipLeft(Effect.logTrace(`instrumented`))
7
- .withSpan(name, { attributes: properties })
8
- .withLogSpan(name)
9
-
10
- // trackMetric(name, time, properties))
11
- }
@@ -1,7 +0,0 @@
1
- import { Effect } from "effect/Effect";
2
- /**
3
- * @tsplus fluent effect/io/Effect instrument
4
- * @tsplus location "@effect-app/infra/instrument"
5
- */
6
- export declare function instr<R, E, A>(self: Effect<R, E, A>, name: string, properties?: Record<string, string>): import("effect/Effect").Effect<Exclude<R, import("effect/Tracer").ParentSpan>, E, A>;
7
- //# sourceMappingURL=instrument.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"instrument.d.ts","sourceRoot":"","sources":["../_src/instrument.ts"],"names":[],"mappings":";;;;;AAGA,wBAAgB,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,wFAOtG"}
@@ -1,9 +0,0 @@
1
- import * as tsplus_module_1 from "effect/Effect";
2
- /**
3
- * @tsplus fluent effect/io/Effect instrument
4
- */
5
- export function instr(self, name, properties) {
6
- return tsplus_module_1.withLogSpan(tsplus_module_1.withSpan(tsplus_module_1.zipLeft(self, tsplus_module_1.logTrace(`instrumented`)), name, { attributes: properties }), name);
7
- // trackMetric(name, time, properties))
8
- }
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdHJ1bWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL19zcmMvaW5zdHJ1bWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7O0dBRUc7QUFDSCxNQUFNLFVBQVUsS0FBSyxDQUFVLElBQXFCLEVBQUUsSUFBWSxFQUFFLFVBQW1DO0lBQ3JHLE9BQU8sNEJBQUEseUJBQUEsd0JBQUEsSUFBSSxFQUNBLHlCQUFnQixjQUFjLENBQUMsQ0FBQyxFQUMvQixJQUFJLEVBQUUsRUFBRSxVQUFVLEVBQUUsVUFBVSxFQUFFLENBQUMsRUFDOUIsSUFBSSxDQUFDLENBQUE7SUFFcEIsdUNBQXVDO0FBQ3pDLENBQUMifQ==