@osfactory/otel-hook 0.13.2 → 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/README.md +43 -0
- package/dist/{adapter-DyCb7y1N.d.ts → adapter-D5R8lhfl.d.ts} +1 -1
- package/dist/cli.js +427 -37
- package/dist/cli.js.map +1 -1
- package/dist/config.d.ts +30 -4
- package/dist/config.js +161 -9
- package/dist/config.js.map +1 -1
- package/dist/{destinations-C4sSKjDO.d.ts → destinations-2KrcRslo.d.ts} +92 -2
- package/dist/{export-destinations-BjRXDots.d.ts → export-destinations-DvoH4QOe.d.ts} +101 -9
- package/dist/{hook-CKLpgrYP.d.ts → hook-DVK8Don-.d.ts} +4 -4
- package/dist/index.d.ts +10 -10
- package/dist/index.js +424 -36
- package/dist/index.js.map +1 -1
- package/dist/install.d.ts +3 -3
- package/dist/integration.d.ts +7 -7
- package/dist/integration.js +376 -34
- package/dist/integration.js.map +1 -1
- package/dist/lifecycle.js +1 -1
- package/dist/lifecycle.js.map +1 -1
- package/dist/{payload-DLK7QaBB.d.ts → payload-D4r71EL-.d.ts} +1 -1
- package/dist/privacy.d.ts +2 -2
- package/dist/privacy.js +42 -1
- package/dist/privacy.js.map +1 -1
- package/dist/providers.d.ts +8 -8
- package/dist/{registry-DM-4YvIA.d.ts → registry-DOJh9mzB.d.ts} +2 -2
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +128 -2
- package/dist/runtime.js.map +1 -1
- package/dist/{schema-CD61uW99.d.ts → schema-oRsbo7WO.d.ts} +45 -0
- package/dist/{service-CbI9CObT.d.ts → service-DySC7KQM.d.ts} +6 -1
- package/dist/telemetry.d.ts +5 -4
- package/dist/telemetry.js +285 -15
- package/dist/telemetry.js.map +1 -1
- package/dist/testing.d.ts +5 -5
- package/dist/testing.js +128 -2
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { a as ContentMode } from './policy-CimmCfRp.js';
|
|
3
|
+
import { E as ExporterPolicy } from './schema-oRsbo7WO.js';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Export destinations: one batch, several OTLP endpoints.
|
|
@@ -38,6 +39,34 @@ declare const exportSignalSchema: z.ZodEnum<{
|
|
|
38
39
|
metrics: "metrics";
|
|
39
40
|
}>;
|
|
40
41
|
type ExportSignal = z.infer<typeof exportSignalSchema>;
|
|
42
|
+
declare const MAX_DESTINATION_SCOPES = 64;
|
|
43
|
+
declare const MAX_SCOPE_REPOSITORIES = 256;
|
|
44
|
+
/** Every repository, as a scope's `repositories`. */
|
|
45
|
+
declare const ALL_REPOSITORIES = "*";
|
|
46
|
+
/**
|
|
47
|
+
* What one destination receives for a set of repositories.
|
|
48
|
+
*
|
|
49
|
+
* A scope can only *restrict* what the destination would otherwise get: its
|
|
50
|
+
* signals are intersected with the destination's, its content mode can only
|
|
51
|
+
* lower the disclosure the installation's `privacy.contentMode` produced, and
|
|
52
|
+
* `includeSessionId: false` only removes `session.id` from metric points.
|
|
53
|
+
*/
|
|
54
|
+
declare const destinationScopeSchema: z.ZodObject<{
|
|
55
|
+
repositories: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
56
|
+
signals: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
57
|
+
traces: "traces";
|
|
58
|
+
logs: "logs";
|
|
59
|
+
metrics: "metrics";
|
|
60
|
+
}>>>>;
|
|
61
|
+
contentMode: z.ZodOptional<z.ZodEnum<{
|
|
62
|
+
raw: "raw";
|
|
63
|
+
omit: "omit";
|
|
64
|
+
mask: "mask";
|
|
65
|
+
redact: "redact";
|
|
66
|
+
}>>;
|
|
67
|
+
includeSessionId: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
+
}, z.core.$strict>;
|
|
69
|
+
type DestinationScopeConfig = z.infer<typeof destinationScopeSchema>;
|
|
41
70
|
declare const exportDestinationSchema: z.ZodObject<{
|
|
42
71
|
name: z.ZodString;
|
|
43
72
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -56,6 +85,21 @@ declare const exportDestinationSchema: z.ZodObject<{
|
|
|
56
85
|
logs: "logs";
|
|
57
86
|
metrics: "metrics";
|
|
58
87
|
}>>>>;
|
|
88
|
+
scopes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
89
|
+
repositories: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
90
|
+
signals: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
91
|
+
traces: "traces";
|
|
92
|
+
logs: "logs";
|
|
93
|
+
metrics: "metrics";
|
|
94
|
+
}>>>>;
|
|
95
|
+
contentMode: z.ZodOptional<z.ZodEnum<{
|
|
96
|
+
raw: "raw";
|
|
97
|
+
omit: "omit";
|
|
98
|
+
mask: "mask";
|
|
99
|
+
redact: "redact";
|
|
100
|
+
}>>;
|
|
101
|
+
includeSessionId: z.ZodOptional<z.ZodBoolean>;
|
|
102
|
+
}, z.core.$strict>>>>;
|
|
59
103
|
}, z.core.$strict>;
|
|
60
104
|
type ExportDestinationConfig = z.infer<typeof exportDestinationSchema>;
|
|
61
105
|
/** Signals a destination receives when it does not list any: never metrics. */
|
|
@@ -78,6 +122,21 @@ declare const exportDestinationsSchema: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
|
78
122
|
logs: "logs";
|
|
79
123
|
metrics: "metrics";
|
|
80
124
|
}>>>>;
|
|
125
|
+
scopes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
126
|
+
repositories: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
127
|
+
signals: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
128
|
+
traces: "traces";
|
|
129
|
+
logs: "logs";
|
|
130
|
+
metrics: "metrics";
|
|
131
|
+
}>>>>;
|
|
132
|
+
contentMode: z.ZodOptional<z.ZodEnum<{
|
|
133
|
+
raw: "raw";
|
|
134
|
+
omit: "omit";
|
|
135
|
+
mask: "mask";
|
|
136
|
+
redact: "redact";
|
|
137
|
+
}>>;
|
|
138
|
+
includeSessionId: z.ZodOptional<z.ZodBoolean>;
|
|
139
|
+
}, z.core.$strict>>>>;
|
|
81
140
|
}, z.core.$strict>>>;
|
|
82
141
|
/**
|
|
83
142
|
* Bounds on each destination's retry spool, per signal.
|
|
@@ -121,7 +180,30 @@ type ExportDestination = {
|
|
|
121
180
|
readonly metrics: boolean;
|
|
122
181
|
};
|
|
123
182
|
readonly headers: Readonly<Record<string, string>>;
|
|
183
|
+
/** Per-repository filter; absent sends every record (see {@link destinationScopeSchema}). */
|
|
184
|
+
readonly scopes?: readonly DestinationScope[];
|
|
185
|
+
};
|
|
186
|
+
/** Signal flags, as a destination or a scope holds them. */
|
|
187
|
+
type SignalFlags = {
|
|
188
|
+
readonly traces: boolean;
|
|
189
|
+
readonly logs: boolean;
|
|
190
|
+
readonly metrics: boolean;
|
|
191
|
+
};
|
|
192
|
+
/** One scope as the runtime applies it: keys normalized, signals already intersected. */
|
|
193
|
+
type DestinationScope = {
|
|
194
|
+
/** Normalized repository keys, or every repository. */
|
|
195
|
+
readonly repositories: typeof ALL_REPOSITORIES | ReadonlySet<string>;
|
|
196
|
+
readonly signals: SignalFlags;
|
|
197
|
+
readonly contentMode?: ContentMode;
|
|
198
|
+
readonly includeSessionId: boolean;
|
|
124
199
|
};
|
|
200
|
+
/** Resolve configured scopes against the destination's own signals. */
|
|
201
|
+
declare const resolveDestinationScopes: (scopes: readonly DestinationScopeConfig[], destinationSignals: SignalFlags) => readonly DestinationScope[];
|
|
202
|
+
/**
|
|
203
|
+
* The scope a repository key falls in: the first that lists it (or lists `*`).
|
|
204
|
+
* `undefined` — not sent — for a record with no repository key, or one no scope lists.
|
|
205
|
+
*/
|
|
206
|
+
declare const matchDestinationScope: (scopes: readonly DestinationScope[], repositoryKey: string | undefined) => DestinationScope | undefined;
|
|
125
207
|
/** Whether a configuration uses the destination list at all. */
|
|
126
208
|
declare const hasConfiguredDestinations: (exporter: ExporterPolicy) => boolean;
|
|
127
209
|
/**
|
|
@@ -171,9 +253,17 @@ type DestinationDescription = {
|
|
|
171
253
|
readonly headerNames: readonly string[];
|
|
172
254
|
/** Environment variables this destination's headers reference. */
|
|
173
255
|
readonly headerVariables: readonly string[];
|
|
256
|
+
/** Per-repository filter, as configured (repositories normalized); absent when unscoped. */
|
|
257
|
+
readonly scopes?: readonly DestinationScopeDescription[];
|
|
258
|
+
};
|
|
259
|
+
type DestinationScopeDescription = {
|
|
260
|
+
readonly repositories: typeof ALL_REPOSITORIES | readonly string[];
|
|
261
|
+
readonly signals: readonly ExportSignal[];
|
|
262
|
+
readonly contentMode?: ContentMode;
|
|
263
|
+
readonly includeSessionId: boolean;
|
|
174
264
|
};
|
|
175
265
|
declare const endpointOrigin: (endpoint: string | undefined) => string | undefined;
|
|
176
266
|
/** Every configured destination, disabled ones included, for `doctor` and snapshots. */
|
|
177
267
|
declare const describeExportDestinations: (exporter: ExporterPolicy) => readonly DestinationDescription[];
|
|
178
268
|
|
|
179
|
-
export { DEFAULT_DESTINATION_NAME as D, type ExportDestination as E, HEADER_ENV_REFERENCE_PREFIX as H, MAX_DESTINATION_HEADERS as M, type ResolvedDestinationHeaders as R, type
|
|
269
|
+
export { ALL_REPOSITORIES as A, resolveExportDestinations as B, spoolPolicySchema as C, DEFAULT_DESTINATION_NAME as D, type ExportDestination as E, HEADER_ENV_REFERENCE_PREFIX as H, MAX_DESTINATION_HEADERS as M, type ResolvedDestinationHeaders as R, type SignalFlags as S, DEFAULT_DESTINATION_SIGNALS as a, DEFAULT_SPOOL_POLICY as b, DESTINATION_NAME_PATTERN as c, type DestinationDescription as d, type DestinationScope as e, type DestinationScopeConfig as f, type DestinationScopeDescription as g, type ExportDestinationConfig as h, type ExportSignal as i, type HeaderValueReference as j, MAX_DESTINATION_SCOPES as k, MAX_EXPORT_DESTINATIONS as l, MAX_SCOPE_REPOSITORIES as m, type SpoolPolicy as n, describeExportDestinations as o, destinationScopeSchema as p, effectiveSpoolPolicy as q, endpointOrigin as r, exportDestinationSchema as s, exportDestinationsSchema as t, exportSignalSchema as u, hasConfiguredDestinations as v, matchDestinationScope as w, parseHeaderValueReference as x, resolveDestinationHeaders as y, resolveDestinationScopes as z };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { E as ExportDestination } from './destinations-
|
|
2
|
-
import { E as ExporterPolicy } from './schema-
|
|
1
|
+
import { e as DestinationScope, E as ExportDestination } from './destinations-2KrcRslo.js';
|
|
2
|
+
import { E as ExporterPolicy } from './schema-oRsbo7WO.js';
|
|
3
|
+
import { b as CanonicalEvent, e as CanonicalEventType } from './events-fcomX6d5.js';
|
|
3
4
|
import { C as Clock, d as Logger, l as TelemetrySink } from './ports-DhpSDIkp.js';
|
|
4
5
|
import { Attributes } from '@opentelemetry/api';
|
|
5
6
|
import { S as StoreNamespace } from './keys-Dej5bN3L.js';
|
|
@@ -8,9 +9,9 @@ import { ExportResult, InstrumentationScope } from '@opentelemetry/core';
|
|
|
8
9
|
import { Resource } from '@opentelemetry/resources';
|
|
9
10
|
import { ReadableLogRecord } from '@opentelemetry/sdk-logs';
|
|
10
11
|
import { b as ContentFact } from './content-M9xIKG7h.js';
|
|
11
|
-
import { b as CanonicalEvent, e as CanonicalEventType } from './events-fcomX6d5.js';
|
|
12
12
|
import { DeliveryHealthSnapshot } from './diagnostics.js';
|
|
13
13
|
import { OtelHookErrorInfo } from './errors.js';
|
|
14
|
+
import { a as ContentMode } from './policy-CimmCfRp.js';
|
|
14
15
|
|
|
15
16
|
type SpoolEnqueueResult = {
|
|
16
17
|
readonly spooled: true;
|
|
@@ -628,15 +629,26 @@ declare const createSignalFanout: (options: SignalFanoutOptions) => SignalFanout
|
|
|
628
629
|
*
|
|
629
630
|
* Memoized on the identity of the `events` array, which is what makes it correct
|
|
630
631
|
* without a reset: every batch is a distinct array, so a new batch cannot be served
|
|
631
|
-
* a previous one's answer, and a retry of the *same* array deliberately is.
|
|
632
|
-
*
|
|
632
|
+
* a previous one's answer, and a retry of the *same* array deliberately is. A
|
|
633
|
+
* scoped destination's share of the batch is served the batch's answer once it
|
|
634
|
+
* is registered with `alias`. The promise is cached rather than its value, so two callers arriving before the first
|
|
633
635
|
* resolution completes still share it.
|
|
634
636
|
*
|
|
635
637
|
* Exported because the one-call-per-batch property is a requirement of the
|
|
636
638
|
* correlator, not a convenience of the fanout: a host wiring its own pair of sinks
|
|
637
639
|
* needs to be able to express it too.
|
|
638
640
|
*/
|
|
639
|
-
|
|
641
|
+
type SharedCorrelationResolver = SpanCorrelationResolver & {
|
|
642
|
+
/**
|
|
643
|
+
* Serve `subset` — a scoped destination's share of `batch`, possibly with
|
|
644
|
+
* content-lowered copies of its events — the answer resolved for `batch`.
|
|
645
|
+
* Correlations are looked up by scope, so the entries for events outside the
|
|
646
|
+
* subset are inert; resolving the subset on its own would record its start
|
|
647
|
+
* edges a second time. A no-op unless `batch` is the batch last resolved.
|
|
648
|
+
*/
|
|
649
|
+
alias(subset: readonly CanonicalEvent[], batch: readonly CanonicalEvent[]): void;
|
|
650
|
+
};
|
|
651
|
+
declare const shareCorrelationPerBatch: (correlate: SpanCorrelationResolver) => SharedCorrelationResolver;
|
|
640
652
|
|
|
641
653
|
/**
|
|
642
654
|
* A batch of metric points a destination could not take, kept for the next
|
|
@@ -761,6 +773,62 @@ type OtlpMetricSinkOptions = {
|
|
|
761
773
|
};
|
|
762
774
|
declare const createOtlpMetricSink: (options: OtlpMetricSinkOptions) => OtlpMetricTelemetrySink;
|
|
763
775
|
|
|
776
|
+
/** Lowers a content fact's disclosure; the privacy service's `restrictContent`. */
|
|
777
|
+
type ContentRestrictor = (fact: ContentFact, mode: ContentMode) => ContentFact;
|
|
778
|
+
/**
|
|
779
|
+
* Fallback when no privacy service is supplied: anything above `omit` that
|
|
780
|
+
* must be lowered is omitted outright, which is never more than was asked for.
|
|
781
|
+
*/
|
|
782
|
+
declare const omitRestrictedContent: ContentRestrictor;
|
|
783
|
+
/**
|
|
784
|
+
* The repository key of the Resource every record of this process is exported
|
|
785
|
+
* under, or `undefined` when it names none.
|
|
786
|
+
*/
|
|
787
|
+
declare const resourceRepositoryKey: (attributes: Readonly<Record<string, unknown>>) => string | undefined;
|
|
788
|
+
/** The repository key one event's records carry. */
|
|
789
|
+
declare const eventRepositoryKey: (event: CanonicalEvent, fallbackKey: string | undefined) => string | undefined;
|
|
790
|
+
/** The repository key one metric point carries. */
|
|
791
|
+
declare const pointRepositoryKey: (point: MetricPoint, fallbackKey: string | undefined) => string | undefined;
|
|
792
|
+
/** The event with every content fact it carries disclosed at most at `mode`. */
|
|
793
|
+
declare const restrictEventContent: (event: CanonicalEvent, mode: ContentMode, restrict: ContentRestrictor) => CanonicalEvent;
|
|
794
|
+
/** What one scoped destination is given of a batch, per signal. */
|
|
795
|
+
type ScopedBatch = {
|
|
796
|
+
readonly traces: readonly CanonicalEvent[];
|
|
797
|
+
readonly logs: readonly CanonicalEvent[];
|
|
798
|
+
};
|
|
799
|
+
type RouteEventsOptions = {
|
|
800
|
+
/** Repository key of the exporter Resource, for events with no stamp of their own. */
|
|
801
|
+
readonly resourceRepositoryKey?: string;
|
|
802
|
+
readonly restrict: ContentRestrictor;
|
|
803
|
+
};
|
|
804
|
+
/**
|
|
805
|
+
* Split a batch for one scoped destination.
|
|
806
|
+
*
|
|
807
|
+
* Each event is judged by its span's end edge when that end is in the same
|
|
808
|
+
* batch (a span belongs to what was in force when it ended), otherwise by its
|
|
809
|
+
* own stamp. When every event passes for both signals unchanged, the batch is
|
|
810
|
+
* returned as the same array for both, so the sinks see one batch.
|
|
811
|
+
*/
|
|
812
|
+
declare const routeEventsToScopes: (events: readonly CanonicalEvent[], scopes: readonly DestinationScope[], options: RouteEventsOptions) => ScopedBatch;
|
|
813
|
+
/**
|
|
814
|
+
* Metric points for one scoped destination.
|
|
815
|
+
*
|
|
816
|
+
* `pointsFor(includeSessionId)` yields the callback's points computed with or
|
|
817
|
+
* without `session.id`; each point is taken from the variant its scope asks
|
|
818
|
+
* for, so a scope that drops the session id never receives a per-session
|
|
819
|
+
* series. Points whose repository no scope takes, or whose scope does not take
|
|
820
|
+
* metrics, are dropped — one callback's points can therefore split across
|
|
821
|
+
* destinations.
|
|
822
|
+
*/
|
|
823
|
+
declare const routePointsToScopes: (scopes: readonly DestinationScope[], pointsFor: (includeSessionId: boolean) => readonly MetricPoint[] | undefined, options: {
|
|
824
|
+
/** Repository key for points with no stamp of their own (context, then Resource). */
|
|
825
|
+
readonly fallbackKey: string | undefined;
|
|
826
|
+
/** The installation's `exporter.metrics.includeSessionId`; a scope can only turn it off. */
|
|
827
|
+
readonly includeSessionId: boolean;
|
|
828
|
+
}) => readonly MetricPoint[];
|
|
829
|
+
/** Which `session.id` variants of the metric points a set of scopes needs. */
|
|
830
|
+
declare const sessionIdVariantsFor: (scopes: readonly DestinationScope[], includeSessionId: boolean) => ReadonlySet<boolean>;
|
|
831
|
+
|
|
764
832
|
/**
|
|
765
833
|
* Spool queue directories for one destination, below the identity namespace.
|
|
766
834
|
*
|
|
@@ -792,6 +860,13 @@ type ExportDestinationSinks = {
|
|
|
792
860
|
/** Hook-derived metrics; a disabled sink unless this destination takes `metrics`. */
|
|
793
861
|
readonly metrics: OtlpMetricTelemetrySink;
|
|
794
862
|
readonly metricSpool?: DurableMetricSpool;
|
|
863
|
+
/**
|
|
864
|
+
* Per-repository filter (`exporter.destinations[].scopes`). Absent: this
|
|
865
|
+
* destination is sent every record, exactly as before scopes existed.
|
|
866
|
+
*/
|
|
867
|
+
readonly scopes?: readonly DestinationScope[];
|
|
868
|
+
/** Splits a batch by {@link scopes}; present exactly when they are. */
|
|
869
|
+
readonly route?: (events: readonly CanonicalEvent[]) => ScopedBatch;
|
|
795
870
|
};
|
|
796
871
|
/** A destination left out of this invocation, and why — by name only. */
|
|
797
872
|
type SkippedExportDestination = {
|
|
@@ -834,6 +909,12 @@ type ExportDestinationsOptions = {
|
|
|
834
909
|
* signal of this call.
|
|
835
910
|
*/
|
|
836
911
|
readonly endpointHealth?: EndpointHealth;
|
|
912
|
+
/**
|
|
913
|
+
* Lowers content disclosure for a scope's `contentMode` — the privacy
|
|
914
|
+
* service's `restrictContent`. Default: content above the scope's mode is
|
|
915
|
+
* omitted outright.
|
|
916
|
+
*/
|
|
917
|
+
readonly restrictContent?: ContentRestrictor;
|
|
837
918
|
};
|
|
838
919
|
/**
|
|
839
920
|
* Build one sink pair per enabled destination.
|
|
@@ -846,6 +927,15 @@ declare const createExportDestinationSinks: (options: ExportDestinationsOptions)
|
|
|
846
927
|
readonly destinations: readonly ExportDestinationSinks[];
|
|
847
928
|
readonly skipped: readonly SkippedExportDestination[];
|
|
848
929
|
};
|
|
930
|
+
type DestinationFanoutOptions = {
|
|
931
|
+
/**
|
|
932
|
+
* The batch's shared correlation resolver (`shareCorrelationPerBatch`), the
|
|
933
|
+
* same one every sink was built with. A scoped destination resolves it over the
|
|
934
|
+
* *whole* batch and aliases its subsets to that answer, so every destination is
|
|
935
|
+
* served one resolution and no destination's filter changes another's span ids.
|
|
936
|
+
*/
|
|
937
|
+
readonly correlate?: SharedCorrelationResolver;
|
|
938
|
+
};
|
|
849
939
|
/**
|
|
850
940
|
* One canonical batch, every destination, in parallel.
|
|
851
941
|
*
|
|
@@ -860,8 +950,10 @@ declare const createExportDestinationSinks: (options: ExportDestinationsOptions)
|
|
|
860
950
|
* and safe to retry; some → `partial`, terminal, because retrying would re-export
|
|
861
951
|
* to the destinations that already accepted.
|
|
862
952
|
*
|
|
863
|
-
* With one destination this returns that destination's fanout unchanged.
|
|
953
|
+
* With one unscoped destination this returns that destination's fanout unchanged.
|
|
954
|
+
* A scoped destination (`scopes`) is sent only its own subset of each batch,
|
|
955
|
+
* per signal; see `destination-scope.ts`.
|
|
864
956
|
*/
|
|
865
|
-
declare const createDestinationFanout: (destinations: readonly ExportDestinationSinks[]) => SignalFanoutSink;
|
|
957
|
+
declare const createDestinationFanout: (destinations: readonly ExportDestinationSinks[], options?: DestinationFanoutOptions) => SignalFanoutSink;
|
|
866
958
|
|
|
867
|
-
export {
|
|
959
|
+
export { createFileDurableMetricSpool as $, type SerializedLogRecord as A, type SerializedSpan as B, type ContentRestrictor as C, type DestinationFanoutOptions as D, type ExportDestinationSinks as E, type SharedCorrelationResolver as F, type SignalFanoutOptions as G, type SignalFanoutSink as H, type SkippedExportDestination as I, type SpoolBatch as J, type SpoolDrainResult as K, LOG_MAPPING_VERSION as L, MAX_LOG_BODY_CHARACTERS as M, NO_LOG_CONTENT as N, type OtlpLogSinkOptions as O, type SpoolDropCounts as P, type SpoolDropReason as Q, type RouteEventsOptions as R, type ScopedBatch as S, type SpoolEnqueueResult as T, type SpoolOverflowPolicy as U, type SpoolSendOutcome as V, type SpoolStats as W, canonicalEventsToLogRecords as X, createDestinationFanout as Y, createExportDestinationSinks as Z, createFileDurableLogSpool as _, type ContentWithholdingReason as a, createFileDurableSpool as a0, createOtlpLogSink as a1, createOtlpMetricSink as a2, createOtlpTraceSink as a3, createSignalFanout as a4, describeLogsDeliverability as a5, describeMetricsDeliverability as a6, eventRepositoryKey as a7, exporterPolicyForDestination as a8, logSignalOf as a9, logSignalsForLifecycleEvents as aa, omitRestrictedContent as ab, pointRepositoryKey as ac, resolveLogsEndpoint as ad, resolveMetricsEndpoint as ae, resourceRepositoryKey as af, restrictEventContent as ag, routeEventsToScopes as ah, routePointsToScopes as ai, sessionIdVariantsFor as aj, shareCorrelationPerBatch as ak, spoolQueueNamesFor as al, validateMetricSpoolBatch as am, type DurableLogSpool as b, type DurableLogSpoolOptions as c, type DurableMetricSpool as d, type DurableMetricSpoolOptions as e, type DurableSpool as f, type DurableSpoolOptions as g, type ExportDestinationsOptions as h, LOG_SIGNALS as i, type LogContentPolicy as j, type LogMappingOptions as k, type LogMappingResult as l, type LogSignal as m, type LogSpoolBatch as n, type LogsDeliverability as o, MAX_LOG_RECORDS_PER_BATCH as p, MAX_LOG_RECORDS_PER_EVENT as q, MCP_TOOL_NAME_PATTERN as r, type MetricExportResult as s, type MetricSpoolBatch as t, type MetricsDeliverability as u, type OtlpLogTelemetrySink as v, type OtlpMetricSinkOptions as w, type OtlpMetricTelemetrySink as x, type OtlpTelemetrySink as y, type OtlpTraceSinkOptions as z };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { O as OtelHookConfig } from './schema-
|
|
2
|
+
import { O as OtelHookConfig } from './schema-oRsbo7WO.js';
|
|
3
3
|
import { OtelHookErrorInfo } from './errors.js';
|
|
4
4
|
import { b as CanonicalEvent, I as UsageTemporality, f as CanonicalUsage } from './events-fcomX6d5.js';
|
|
5
5
|
import { I as IdentityClaim, W as WorkspaceIdentity, d as InvocationIdentity } from './identity-BrVBs901.js';
|
|
6
6
|
import { h as SourceTransport, R as ResolvedProviderId, c as DetectionConfidence, d as EventId } from './primitives-CJ8-rn-f.js';
|
|
7
|
-
import { P as PrivacyService } from './service-
|
|
8
|
-
import { b as DeliveryIdentifierSupport, f as ProviderDeliveryClaim, j as ProviderHookResponse } from './adapter-
|
|
9
|
-
import { P as ProviderRegistry } from './registry-
|
|
7
|
+
import { P as PrivacyService } from './service-DySC7KQM.js';
|
|
8
|
+
import { b as DeliveryIdentifierSupport, f as ProviderDeliveryClaim, j as ProviderHookResponse } from './adapter-D5R8lhfl.js';
|
|
9
|
+
import { P as ProviderRegistry } from './registry-DOJh9mzB.js';
|
|
10
10
|
import { I as IdGenerator, l as TelemetrySink, j as StateStore, C as Clock, d as Logger, W as WorktreeLocator, P as PayloadEnricher, S as SessionContextReader } from './ports-DhpSDIkp.js';
|
|
11
11
|
import { A as AttributionOutcome, a as AttributionReason } from './taxonomy-DwhTtuWd.js';
|
|
12
12
|
|
package/dist/index.d.ts
CHANGED
|
@@ -5,25 +5,25 @@ export { C as CANONICAL_EVENT_TYPES, a as CacheCreationAccounting, b as Canonica
|
|
|
5
5
|
export { C as ConsumerAttributes, I as IdentityClaim, a as IdentityClaimFields, b as IdentityConflict, c as IdentityResolution, d as InvocationIdentity, R as ResolveIdentityInput, S as SourceProvenance, U as UNKNOWN_WORKSPACE_ID, W as WorkspaceIdentity, e as WorkspaceKeySource, f as consumerAttributesSchema, i as identityClaimFieldsSchema, g as identityClaimSchema, h as invocationIdentitySchema, r as resolveInvocationIdentity, s as sourceProvenanceSchema, u as unknownWorkspaceIdentity, w as workspaceIdentitySchema, j as workspaceKeySourceSchema } from './identity-BrVBs901.js';
|
|
6
6
|
export { CreateErrorInfoInput, OtelHookError, OtelHookErrorInfo, createErrorInfo, describeThrown, errorInfoFromThrown, isOtelHookError, otelHookErrorInfoSchema } from './errors.js';
|
|
7
7
|
export { C as CONTENT_MODE_DISCLOSURE, a as ContentMode, D as DEFAULT_PRIVACY_LIMITS, b as DEFAULT_PRIVACY_POLICY, c as DEFAULT_SECRET_KEY_PATTERNS, d as DEFAULT_SECRET_VALUE_PATTERNS, P as PolicyResolution, e as PrivacyLimits, f as PrivacyPolicy, g as contentModeSchema, p as privacyLimitsSchema, h as privacyPolicySchema, r as resolvePrivacyPolicy } from './policy-CimmCfRp.js';
|
|
8
|
-
export { D as DescribeContentInput, a as DescribeStructuredInput, P as PrivacyService, S as SanitizeExtensionsResult, b as SanitizeResult, c as SanitizeStats, d as SanitizedValue, e as createPrivacyService } from './service-
|
|
8
|
+
export { D as DescribeContentInput, a as DescribeStructuredInput, P as PrivacyService, S as SanitizeExtensionsResult, b as SanitizeResult, c as SanitizeStats, d as SanitizedValue, e as createPrivacyService } from './service-DySC7KQM.js';
|
|
9
9
|
export { WorkspaceKeyInput, WorkspaceLabels, canonicalizeGitRemote, deriveWorkspaceIdentity } from './privacy.js';
|
|
10
|
-
export { CONFIG_SOURCE_PRECEDENCE, ConfigLayer, ConfigProvenance, ConfigResolution, ConfigSource, EMPTY_RESOURCE_ATTRIBUTES, ENVIRONMENT_VARIABLES, EnvironmentConfigResult, EnvironmentRecord, MAX_OTLP_HEADERS, MAX_RESOURCE_ATTRIBUTES, MAX_RESOURCE_ATTRIBUTE_KEY_LENGTH, MAX_RESOURCE_ATTRIBUTE_VALUE_LENGTH, OTLP_ENDPOINT_VARIABLES, OTLP_HEADER_VARIABLES, OtlpSignal, ParsedOtlpHeaders, ParsedResourceAttributes, RESERVED_RESOURCE_ATTRIBUTE_KEYS, RESOURCE_ATTRIBUTE_KEY_PATTERN, RESOURCE_ATTRIBUTE_KEY_REJECTION_DETAIL, ResolvedOtlpHeaders, ResourceAttributeKeyRejection, ResourceAttributeValue, ResourceAttributes, checkResourceAttributeKey, configSourceSchema, describeOtlpHeaderNames, describeResolvedConfig, describeResourceAttributeNames, isReservedResourceAttributeKey, isSecretResourceAttributeKey, mergeOtlpHeaders, otlpSignalEndpointFromBase, parseEnvironmentConfig, parseOtlpHeadersValue, parseResourceAttributesValue, resolveConfig, resolveOtlpHeaders, resourceAttributeValueSchema, resourceAttributesSchema, sanitizeResourceAttributes, unionOtlpHeaderNames } from './config.js';
|
|
11
|
-
export { D as DEFAULT_CONFIG, a as DEFAULT_DETECTION_POLICY, b as DEFAULT_DIAGNOSTICS_POLICY, c as DEFAULT_ENDPOINT_DOWN_MILLIS, d as DEFAULT_EXPORTER_POLICY, e as DEFAULT_EXPORT_BUDGET_MILLIS, f as DEFAULT_LOGS_POLICY, g as DEFAULT_METRICS_POLICY, h as DEFAULT_PROVIDERS_POLICY, i as DetectionPolicy, j as DiagnosticsPolicy, E as ExporterPolicy, L as LogsPolicy, M as MetricsPolicy, O as OtelHookConfig, k as OtelHookConfigPatch, P as ProvidersPolicy, S as SessionContextPolicy, l as detectionPolicySchema, m as diagnosticsPolicySchema, n as effectiveExportTimeoutMillis, o as effectiveMetricsPolicy, p as exporterPolicySchema, q as logsPolicySchema, r as metricsPolicySchema, s as otelHookConfigPatchSchema, t as otelHookConfigSchema, u as providersPolicySchema, v as readsClaudeTranscriptUsage, w as readsCodexRolloutUsage, x as sessionContextDir, y as sessionContextPolicySchema } from './schema-
|
|
12
|
-
export { D as DEFAULT_DESTINATION_NAME, a as DEFAULT_DESTINATION_SIGNALS, b as DEFAULT_SPOOL_POLICY, c as DESTINATION_NAME_PATTERN, d as DestinationDescription, E as ExportDestination,
|
|
13
|
-
export { A as AdapterDescription, D as DELIVERY_COMPONENT_PATTERN, a as DELIVERY_GAP_REASON_PATTERN, b as DeliveryIdentifierSupport, M as MAX_DELIVERY_COMPONENTS, c as MAX_DELIVERY_GAPS, P as ProviderAdapter, d as ProviderCapabilities, e as ProviderContext, f as ProviderDeliveryClaim, g as ProviderDeliveryGaps, h as ProviderDetection, i as ProviderDetectionInput, j as ProviderHookResponse, k as ProviderHookResponseInput, l as ProviderIdentityInput, m as ProviderParseInput, n as ProviderParseResult, S as SILENT_HOOK_RESPONSE, o as adapterSupports, p as asProviderId, q as deliveryComponentSchema, r as deliveryGapReasonSchema, s as deliveryIdentifierSupportSchema, t as describeAdapter, u as providerCapabilitiesSchema, v as providerDeliveryClaimSchema, w as providerDeliveryGapsSchema, x as providerDetectionSchema, y as providerHookResponseSchema, z as readDeliveryClaim, B as readDeliveryGap, C as unknownDetection } from './adapter-
|
|
10
|
+
export { ATTR_VCS_REPOSITORY_URL_FULL, CONFIG_SOURCE_PRECEDENCE, ConfigLayer, ConfigProvenance, ConfigResolution, ConfigSource, EMPTY_RESOURCE_ATTRIBUTES, ENVIRONMENT_VARIABLES, EnvironmentConfigResult, EnvironmentRecord, MAX_OTLP_HEADERS, MAX_REPOSITORY_REFERENCE_LENGTH, MAX_RESOURCE_ATTRIBUTES, MAX_RESOURCE_ATTRIBUTE_KEY_LENGTH, MAX_RESOURCE_ATTRIBUTE_VALUE_LENGTH, OTLP_ENDPOINT_VARIABLES, OTLP_HEADER_VARIABLES, OtlpSignal, ParsedOtlpHeaders, ParsedResourceAttributes, RESERVED_RESOURCE_ATTRIBUTE_KEYS, RESOURCE_ATTRIBUTE_KEY_PATTERN, RESOURCE_ATTRIBUTE_KEY_REJECTION_DETAIL, ResolvedOtlpHeaders, ResourceAttributeKeyRejection, ResourceAttributeValue, ResourceAttributes, checkResourceAttributeKey, configSourceSchema, describeOtlpHeaderNames, describeResolvedConfig, describeResourceAttributeNames, isReservedResourceAttributeKey, isSecretResourceAttributeKey, mergeOtlpHeaders, normalizeRepositoryKey, otlpSignalEndpointFromBase, parseEnvironmentConfig, parseOtlpHeadersValue, parseResourceAttributesValue, resolveConfig, resolveOtlpHeaders, resourceAttributeValueSchema, resourceAttributesSchema, sanitizeResourceAttributes, unionOtlpHeaderNames } from './config.js';
|
|
11
|
+
export { D as DEFAULT_CONFIG, a as DEFAULT_DETECTION_POLICY, b as DEFAULT_DIAGNOSTICS_POLICY, c as DEFAULT_ENDPOINT_DOWN_MILLIS, d as DEFAULT_EXPORTER_POLICY, e as DEFAULT_EXPORT_BUDGET_MILLIS, f as DEFAULT_LOGS_POLICY, g as DEFAULT_METRICS_POLICY, h as DEFAULT_PROVIDERS_POLICY, i as DetectionPolicy, j as DiagnosticsPolicy, E as ExporterPolicy, L as LogsPolicy, M as MetricsPolicy, O as OtelHookConfig, k as OtelHookConfigPatch, P as ProvidersPolicy, S as SessionContextPolicy, l as detectionPolicySchema, m as diagnosticsPolicySchema, n as effectiveExportTimeoutMillis, o as effectiveMetricsPolicy, p as exporterPolicySchema, q as logsPolicySchema, r as metricsPolicySchema, s as otelHookConfigPatchSchema, t as otelHookConfigSchema, u as providersPolicySchema, v as readsClaudeTranscriptUsage, w as readsCodexRolloutUsage, x as sessionContextDir, y as sessionContextPolicySchema } from './schema-oRsbo7WO.js';
|
|
12
|
+
export { A as ALL_REPOSITORIES, D as DEFAULT_DESTINATION_NAME, a as DEFAULT_DESTINATION_SIGNALS, b as DEFAULT_SPOOL_POLICY, c as DESTINATION_NAME_PATTERN, d as DestinationDescription, e as DestinationScope, f as DestinationScopeConfig, g as DestinationScopeDescription, E as ExportDestination, h as ExportDestinationConfig, i as ExportSignal, H as HEADER_ENV_REFERENCE_PREFIX, j as HeaderValueReference, M as MAX_DESTINATION_HEADERS, k as MAX_DESTINATION_SCOPES, l as MAX_EXPORT_DESTINATIONS, m as MAX_SCOPE_REPOSITORIES, R as ResolvedDestinationHeaders, S as SignalFlags, n as SpoolPolicy, o as describeExportDestinations, p as destinationScopeSchema, q as effectiveSpoolPolicy, r as endpointOrigin, s as exportDestinationSchema, t as exportDestinationsSchema, u as exportSignalSchema, v as hasConfiguredDestinations, w as matchDestinationScope, x as parseHeaderValueReference, y as resolveDestinationHeaders, z as resolveDestinationScopes, B as resolveExportDestinations, C as spoolPolicySchema } from './destinations-2KrcRslo.js';
|
|
13
|
+
export { A as AdapterDescription, D as DELIVERY_COMPONENT_PATTERN, a as DELIVERY_GAP_REASON_PATTERN, b as DeliveryIdentifierSupport, M as MAX_DELIVERY_COMPONENTS, c as MAX_DELIVERY_GAPS, P as ProviderAdapter, d as ProviderCapabilities, e as ProviderContext, f as ProviderDeliveryClaim, g as ProviderDeliveryGaps, h as ProviderDetection, i as ProviderDetectionInput, j as ProviderHookResponse, k as ProviderHookResponseInput, l as ProviderIdentityInput, m as ProviderParseInput, n as ProviderParseResult, S as SILENT_HOOK_RESPONSE, o as adapterSupports, p as asProviderId, q as deliveryComponentSchema, r as deliveryGapReasonSchema, s as deliveryIdentifierSupportSchema, t as describeAdapter, u as providerCapabilitiesSchema, v as providerDeliveryClaimSchema, w as providerDeliveryGapsSchema, x as providerDetectionSchema, y as providerHookResponseSchema, z as readDeliveryClaim, B as readDeliveryGap, C as unknownDetection } from './adapter-D5R8lhfl.js';
|
|
14
14
|
export { ANTIGRAVITY_PROMOTION_GATES, ANTIGRAVITY_PROVIDER_MATURITY, AntigravityProviderMaturity, CLAUDE_CODE_CAPABILITIES, CLAUDE_TRANSCRIPT_USAGE_ENRICHER_ID, CODEX_CAPABILITIES, CODEX_ROLLOUT_USAGE_ENRICHER_ID, CURSOR_ADAPTER_VERSION, CURSOR_CAPABILITIES, CanonicalEventDraft, ClaudeCodeAdapterOptions, ClaudeTranscriptRange, ClaudeTranscriptTurn, ClaudeTranscriptUsageEnricherOptions, CodexRolloutSnapshot, CodexRolloutUsageEnricherOptions, CursorAdapterOptions, DEFAULT_CLAUDE_TRANSCRIPT_RANGE_BYTES, DEFAULT_CLAUDE_TRANSCRIPT_RANGE_TIMEOUT_MILLIS, DEFAULT_CLAUDE_TRANSCRIPT_TAIL_BYTES, DEFAULT_CLAUDE_TRANSCRIPT_TIMEOUT_MILLIS, DEFAULT_CODEX_ROLLOUT_RANGE_BYTES, DEFAULT_CODEX_ROLLOUT_SETTLE_MILLIS, DEFAULT_CODEX_ROLLOUT_TAIL_BYTES, DEFAULT_CODEX_ROLLOUT_TIMEOUT_MILLIS, DELIVERY_IDENTIFIER_SUMMARY, DefaultRegistryOptions, EXPERIMENTAL_PROVIDER_IDS, EventFactory, EventFactoryInput, PROVIDER_DESCRIPTORS, ProviderCatalogEntry, ProviderDescriptor, ProviderMaturity, ReadClaudeTranscriptRangeOptions, ReadClaudeTranscriptTurnOptions, attachClaudeTranscriptTurn, createClaudeCodeAdapter, createClaudeTranscriptUsageEnricher, createCodexAdapter, createCodexRolloutUsageEnricher, createCursorAdapter, createDefaultProviderRegistry, createEventFactory, describeProviderCatalog, findProviderDescriptor, isExperimentalProvider, readClaudeTranscriptRange, readClaudeTranscriptTurn, readCodexRolloutUsage } from './providers.js';
|
|
15
|
-
export { B as BUILT_IN_PROVIDERS, D as DetectionCandidate, P as ProviderRegistry, R as RegistryDetectionResult, c as createProviderRegistry } from './registry-
|
|
16
|
-
export { A as ANTIGRAVITY_CAPABILITIES, a as ANTIGRAVITY_HOOK_EVENT_NAMES, b as ANTIGRAVITY_PROVIDER_ID, c as AntigravityAdapterOptions, d as AntigravityHookEventName, C as CLAUDE_CODE_PROVIDER_ID, e as CLAUDE_HOOK_EVENT_NAMES, f as CODEX_ADAPTER_VERSION, g as CODEX_HOOK_EVENT_NAMES, h as CODEX_PROVIDER_ID, i as CURSOR_DECISION_EVENTS, j as CURSOR_HOOK_EVENT_NAMES, k as CURSOR_PROVIDER_ID, l as CURSOR_UNMODELLED_HOOK_EVENT_NAMES, m as ClaudeHookEventName, n as CodexHookEventName, o as CursorHookEventName, D as DEFAULT_GEMINI_CAPABILITIES, G as GEMINI_ADAPTER_VERSION, p as GEMINI_HOOK_EVENT_NAMES, q as GEMINI_PROVIDER_ID, r as GeminiAdapterOptions, s as GeminiHookEventName, t as createAntigravityAdapter, u as createGeminiCliAdapter } from './payload-
|
|
15
|
+
export { B as BUILT_IN_PROVIDERS, D as DetectionCandidate, P as ProviderRegistry, R as RegistryDetectionResult, c as createProviderRegistry } from './registry-DOJh9mzB.js';
|
|
16
|
+
export { A as ANTIGRAVITY_CAPABILITIES, a as ANTIGRAVITY_HOOK_EVENT_NAMES, b as ANTIGRAVITY_PROVIDER_ID, c as AntigravityAdapterOptions, d as AntigravityHookEventName, C as CLAUDE_CODE_PROVIDER_ID, e as CLAUDE_HOOK_EVENT_NAMES, f as CODEX_ADAPTER_VERSION, g as CODEX_HOOK_EVENT_NAMES, h as CODEX_PROVIDER_ID, i as CURSOR_DECISION_EVENTS, j as CURSOR_HOOK_EVENT_NAMES, k as CURSOR_PROVIDER_ID, l as CURSOR_UNMODELLED_HOOK_EVENT_NAMES, m as ClaudeHookEventName, n as CodexHookEventName, o as CursorHookEventName, D as DEFAULT_GEMINI_CAPABILITIES, G as GEMINI_ADAPTER_VERSION, p as GEMINI_HOOK_EVENT_NAMES, q as GEMINI_PROVIDER_ID, r as GeminiAdapterOptions, s as GeminiHookEventName, t as createAntigravityAdapter, u as createGeminiCliAdapter } from './payload-D4r71EL-.js';
|
|
17
17
|
export { A as AppliedDelivery, C as Clock, E as EventIdSeed, I as IdGenerator, a as InvocationIdSeed, L as LOG_LEVEL_RANK, b as LocatedWorktree, c as LogLevel, d as Logger, P as PayloadEnricher, e as PayloadEnrichment, f as PayloadEnrichmentInput, R as ReadCursor, S as SessionContextReader, g as SessionContextRequest, h as SessionContextSegment, i as StateRecord, j as StateStore, k as StateValue, T as TelemetryEmitResult, l as TelemetrySink, W as WorktreeLocator, m as appliedDeliverySchema, n as logLevelSchema, s as stateRecordSchema, o as stateValueSchema } from './ports-DhpSDIkp.js';
|
|
18
18
|
export { D as DeterministicIdOptions, F as FixedClock, a as FixedClockOptions, I as InMemoryStateStore, b as InMemoryStateStoreOptions, L as LogRecord, R as RecordingLogger, c as RecordingTelemetrySink, d as RecordingTelemetrySinkOptions, e as createDeterministicIdGenerator, f as createFixedClock, g as createInMemoryStateStore, h as createNullTelemetrySink, i as createRandomIdGenerator, j as createRecordingLogger, k as createRecordingTelemetrySink, l as createSystemClock } from './memory-B3r6sZtC.js';
|
|
19
19
|
export { DEFAULT_SESSION_CONTEXT_BUDGET_MILLIS, DEFAULT_SESSION_CONTEXT_MAX_BYTES, DEFAULT_TARGET_RESOLUTION_BUDGET_MILLIS, DEFAULT_WORKTREE_CACHE_TTL_MILLIS, DirectorySessionContextReaderOptions, FilesystemWorktreeLocatorOptions, MAX_SESSION_CONTEXT_SEGMENTS, MAX_WORKTREE_WALK_DEPTH, ResolveEventTargetsInput, ResolveEventTargetsResult, SESSION_CONTEXT_AGENT_TOOLS, SESSION_CONTEXT_FILE_VERSION, StderrLoggerOptions, createDirectorySessionContextReader, createFilesystemWorktreeLocator, createNullLogger, createStderrLogger, isReservedSessionContextKey, isSessionContextFileName, parseCommonDirFile, parseGitDirFile, parseHeadBranch, parseSessionContextFile, resolveEventTargets, sanitizeSessionContextAttributes, segmentInForce, sessionContextAgentTool, sessionContextFilePath, stampSessionContext } from './runtime.js';
|
|
20
|
-
export { C as CumulativeUsageSeries, D as DeliveryDurability, a as DeliveryOrigin, b as DeliveryResolution, c as DeliveryUnavailableReason, H as HookIngestInput, d as HookIngestOptions, e as HookIngestOutcome, O as OtelHook, f as OtelHookDependencies, R as ResolvedDeliveryIdentity, U as UsageObservation, g as UsageScope, h as classifyDurability, i as createOtelHook, j as hostDeliveryIdentity, k as isCommittable, r as resolveDeliveryIdentity, u as usageScopeSchema } from './hook-
|
|
20
|
+
export { C as CumulativeUsageSeries, D as DeliveryDurability, a as DeliveryOrigin, b as DeliveryResolution, c as DeliveryUnavailableReason, H as HookIngestInput, d as HookIngestOptions, e as HookIngestOutcome, O as OtelHook, f as OtelHookDependencies, R as ResolvedDeliveryIdentity, U as UsageObservation, g as UsageScope, h as classifyDurability, i as createOtelHook, j as hostDeliveryIdentity, k as isCommittable, r as resolveDeliveryIdentity, u as usageScopeSchema } from './hook-DVK8Don-.js';
|
|
21
21
|
export { CallbackDeduplicator, CallbackDeduplicatorDependencies, DedupCheckResult, DedupCleanupResult, DeliveryClaimOptions, DeliveryClaimOutcome, DeliveryClaimResult, LifecycleCleanupReport, LifecycleJanitor, LifecycleJanitorOptions, LifecycleScope, LifecycleSweepStats, MetricSeriesCleanupResult, MetricSeriesStore, MetricSeriesStoreDependencies, RecordCumulativeOptions, RollupCleanupResult, SPAN_RECORD_VERSION, SpanCleanupResult, SpanCorrelationFacts, SpanCorrelator, SpanCorrelatorDependencies, SpanEndInput, SpanEndOrphanReason, SpanEndResult, SpanStartInput, SpanStartResult, UsageAccumulator, UsageAccumulatorDependencies, UsageAccumulatorKey, UsageAccumulatorSnapshot, createCallbackDeduplicator, createLifecycleJanitor, createMetricSeriesStore, createSpanCorrelator, createUsageAccumulator } from './lifecycle.js';
|
|
22
22
|
export { S as StoreNamespace } from './keys-Dej5bN3L.js';
|
|
23
23
|
export { F as FilesystemStateStore, a as FilesystemStateStoreOptions, L as LockingStateStore, S as StateStoreDependencies, c as createFilesystemStateStore, i as isLockingStateStore, w as withOptionalSessionLock } from './filesystem-store-B3CpiIRl.js';
|
|
24
24
|
export { BoundedMemoryStateStore, BoundedMemoryStateStoreOptions, createBoundedMemoryStateStore } from './state.js';
|
|
25
25
|
export { D as DEFAULT_INSTRUMENTATION_SCOPE, a as DeriveMetricObservationsInput, E as EventTraceIdentity, M as MAX_RECOVERED_START_ATTRIBUTES, b as METRIC_COST_USAGE, c as METRIC_INSTRUMENTS, d as METRIC_OPERATION_DURATION, e as METRIC_SESSIONS, f as METRIC_TOKEN_USAGE, g as METRIC_TOOL_CALLS, h as MetricInstrument, i as MetricInstrumentName, j as MetricObservation, k as MetricPoint, l as MetricsTemporality, O as OPERATION_DURATION_BUCKETS, S as SemanticMappingOptions, m as SpanCorrelation, n as SpanCorrelationResolver, o as SpanDisposition, p as SpanFamily, q as SpanOrphanClassification, r as SpanPairing, s as SpanScopeRef, T as TOKEN_USAGE_BUCKETS, t as TokenType, u as aggregateDeltaPoints, v as canonicalEventTraceIdentities, w as canonicalEventsToReadableSpans, x as deriveMetricObservations, y as parentScopeRefOf, z as spanScopeRefOf, A as startOnlySpanAttributes } from './metric-model-B4lIuk6i.js';
|
|
26
|
-
export { C as ContentWithholdingReason, D as DurableLogSpool,
|
|
26
|
+
export { C as ContentRestrictor, a as ContentWithholdingReason, D as DestinationFanoutOptions, b as DurableLogSpool, c as DurableLogSpoolOptions, d as DurableMetricSpool, e as DurableMetricSpoolOptions, f as DurableSpool, g as DurableSpoolOptions, E as ExportDestinationSinks, h as ExportDestinationsOptions, L as LOG_MAPPING_VERSION, i as LOG_SIGNALS, j as LogContentPolicy, k as LogMappingOptions, l as LogMappingResult, m as LogSignal, n as LogSpoolBatch, o as LogsDeliverability, M as MAX_LOG_BODY_CHARACTERS, p as MAX_LOG_RECORDS_PER_BATCH, q as MAX_LOG_RECORDS_PER_EVENT, r as MCP_TOOL_NAME_PATTERN, s as MetricExportResult, t as MetricSpoolBatch, u as MetricsDeliverability, N as NO_LOG_CONTENT, O as OtlpLogSinkOptions, v as OtlpLogTelemetrySink, w as OtlpMetricSinkOptions, x as OtlpMetricTelemetrySink, y as OtlpTelemetrySink, z as OtlpTraceSinkOptions, R as RouteEventsOptions, S as ScopedBatch, A as SerializedLogRecord, B as SerializedSpan, F as SharedCorrelationResolver, G as SignalFanoutOptions, H as SignalFanoutSink, I as SkippedExportDestination, J as SpoolBatch, K as SpoolDrainResult, P as SpoolDropCounts, Q as SpoolDropReason, T as SpoolEnqueueResult, U as SpoolOverflowPolicy, V as SpoolSendOutcome, W as SpoolStats, X as canonicalEventsToLogRecords, Y as createDestinationFanout, Z as createExportDestinationSinks, _ as createFileDurableLogSpool, $ as createFileDurableMetricSpool, a0 as createFileDurableSpool, a1 as createOtlpLogSink, a2 as createOtlpMetricSink, a3 as createOtlpTraceSink, a4 as createSignalFanout, a5 as describeLogsDeliverability, a6 as describeMetricsDeliverability, a7 as eventRepositoryKey, a8 as exporterPolicyForDestination, a9 as logSignalOf, aa as logSignalsForLifecycleEvents, ab as omitRestrictedContent, ac as pointRepositoryKey, ad as resolveLogsEndpoint, ae as resolveMetricsEndpoint, af as resourceRepositoryKey, ag as restrictEventContent, ah as routeEventsToScopes, ai as routePointsToScopes, aj as sessionIdVariantsFor, ak as shareCorrelationPerBatch, al as spoolQueueNamesFor, am as validateMetricSpoolBatch } from './export-destinations-DvoH4QOe.js';
|
|
27
27
|
export { isPermanentExportFailure } from './telemetry.js';
|
|
28
28
|
export { DeliveryHealthSnapshot, DeliverySubsystem, HealthTracker, HealthTrackerOptions, OverallHealth, createHealthTracker, summarizeHealth } from './diagnostics.js';
|
|
29
29
|
export { DeliveryReport, HookProcessInput, HookProcessOutcome, HookRuntime, HookRuntimeDelivery, HookRuntimeOptions, HookShutdownReport, MetricsReport, UsageRollup, createHookRuntime, minimumStaleClaimMillis } from './integration.js';
|
|
@@ -42,6 +42,6 @@ import '@opentelemetry/sdk-logs';
|
|
|
42
42
|
*
|
|
43
43
|
* Updated by `scripts/release/sync-version.mjs` during semantic-release.
|
|
44
44
|
*/
|
|
45
|
-
declare const VERSION = "0.
|
|
45
|
+
declare const VERSION = "0.14.0";
|
|
46
46
|
|
|
47
47
|
export { VERSION };
|