@boxrouter/sdk 0.0.1-alpha.0 → 0.12.190
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/NOTICE +29 -5
- package/README.md +497 -24
- package/dist/addresses.d.ts +5 -0
- package/dist/addresses.js +10 -0
- package/dist/api-error.d.ts +62 -0
- package/dist/api-error.js +264 -0
- package/dist/boxrouter.d.ts +68 -0
- package/dist/boxrouter.js +291 -0
- package/dist/browser-session/index.d.ts +17 -0
- package/dist/browser-session/index.js +48 -0
- package/dist/browser-session/operations.gen.d.ts +272 -0
- package/dist/browser-session/operations.gen.js +58 -0
- package/dist/browser-session/responseContracts/api_keys.d.ts +2 -0
- package/dist/browser-session/responseContracts/api_keys.js +10 -0
- package/dist/browser-session/responseContracts/credits.d.ts +2 -0
- package/dist/browser-session/responseContracts/credits.js +8 -0
- package/dist/browser-session/responseContracts/github.d.ts +2 -0
- package/dist/browser-session/responseContracts/github.js +11 -0
- package/dist/browser-session/responseContracts/identity.d.ts +2 -0
- package/dist/browser-session/responseContracts/identity.js +30 -0
- package/dist/browser-session/responseContracts/organizations.d.ts +2 -0
- package/dist/browser-session/responseContracts/organizations.js +17 -0
- package/dist/browser-session/responseContracts/privacy.d.ts +2 -0
- package/dist/browser-session/responseContracts/privacy.js +7 -0
- package/dist/browser-session/responseContracts.gen.d.ts +3 -0
- package/dist/browser-session/responseContracts.gen.js +10 -0
- package/dist/browser-session/responseValidators/api_keys-diagnostics.cjs +1 -0
- package/dist/browser-session/responseValidators/api_keys-diagnostics.d.cts +4 -0
- package/dist/browser-session/responseValidators/api_keys.cjs +2 -0
- package/dist/browser-session/responseValidators/api_keys.d.cts +4 -0
- package/dist/browser-session/responseValidators/credits-diagnostics.cjs +1 -0
- package/dist/browser-session/responseValidators/credits-diagnostics.d.cts +3 -0
- package/dist/browser-session/responseValidators/credits.cjs +2 -0
- package/dist/browser-session/responseValidators/credits.d.cts +3 -0
- package/dist/browser-session/responseValidators/github-diagnostics.cjs +1 -0
- package/dist/browser-session/responseValidators/github-diagnostics.d.cts +3 -0
- package/dist/browser-session/responseValidators/github.cjs +2 -0
- package/dist/browser-session/responseValidators/github.d.cts +3 -0
- package/dist/browser-session/responseValidators/identity-diagnostics.cjs +1 -0
- package/dist/browser-session/responseValidators/identity-diagnostics.d.cts +23 -0
- package/dist/browser-session/responseValidators/identity.cjs +2 -0
- package/dist/browser-session/responseValidators/identity.d.cts +23 -0
- package/dist/browser-session/responseValidators/organizations-diagnostics.cjs +1 -0
- package/dist/browser-session/responseValidators/organizations-diagnostics.d.cts +15 -0
- package/dist/browser-session/responseValidators/organizations.cjs +2 -0
- package/dist/browser-session/responseValidators/organizations.d.cts +15 -0
- package/dist/browser-session/responseValidators/privacy-diagnostics.cjs +1 -0
- package/dist/browser-session/responseValidators/privacy-diagnostics.d.cts +2 -0
- package/dist/browser-session/responseValidators/privacy.cjs +2 -0
- package/dist/browser-session/responseValidators/privacy.d.cts +2 -0
- package/dist/client/client.gen.d.ts +1 -1
- package/dist/client/client.gen.js +46 -94
- package/dist/client/index.d.ts +10 -10
- package/dist/client/index.js +16 -5
- package/dist/client/types.gen.d.ts +6 -6
- package/dist/client/types.gen.js +2 -1
- package/dist/client/utils.gen.d.ts +2 -2
- package/dist/client/utils.gen.js +31 -20
- package/dist/client.gen.d.ts +2 -2
- package/dist/client.gen.js +5 -2
- package/dist/command-check.gen.d.ts +14 -0
- package/dist/command-check.gen.js +23 -0
- package/dist/command-input.gen.d.ts +6 -0
- package/dist/command-input.gen.js +45 -0
- package/dist/core/auth.gen.js +5 -1
- package/dist/core/binaryStream.d.ts +8 -0
- package/dist/core/binaryStream.js +76 -0
- package/dist/core/bodySerializer.gen.d.ts +1 -1
- package/dist/core/bodySerializer.gen.js +8 -5
- package/dist/core/commandValidators.cjs +1 -0
- package/dist/core/commandValidators.d.cts +14 -0
- package/dist/core/eventValidation.d.ts +17 -0
- package/dist/core/eventValidation.js +56 -0
- package/dist/core/eventValidators.cjs +1 -0
- package/dist/core/eventValidators.d.cts +2 -0
- package/dist/core/json.d.ts +3 -0
- package/dist/core/json.js +33 -0
- package/dist/core/params.gen.js +4 -1
- package/dist/core/pathSerializer.gen.js +20 -11
- package/dist/core/queryKeySerializer.gen.js +12 -6
- package/dist/core/responseContracts/actions.d.ts +2 -0
- package/dist/core/responseContracts/actions.js +30 -0
- package/dist/core/responseContracts/agents.d.ts +2 -0
- package/dist/core/responseContracts/agents.js +7 -0
- package/dist/core/responseContracts/artifacts.d.ts +2 -0
- package/dist/core/responseContracts/artifacts.js +8 -0
- package/dist/core/responseContracts/commands.d.ts +2 -0
- package/dist/core/responseContracts/commands.js +6 -0
- package/dist/core/responseContracts/credits.d.ts +2 -0
- package/dist/core/responseContracts/credits.js +27 -0
- package/dist/core/responseContracts/files.d.ts +2 -0
- package/dist/core/responseContracts/files.js +15 -0
- package/dist/core/responseContracts/github.d.ts +2 -0
- package/dist/core/responseContracts/github.js +8 -0
- package/dist/core/responseContracts/images.d.ts +2 -0
- package/dist/core/responseContracts/images.js +8 -0
- package/dist/core/responseContracts/launchRuns.d.ts +2 -0
- package/dist/core/responseContracts/launchRuns.js +10 -0
- package/dist/core/responseContracts/launches.d.ts +2 -0
- package/dist/core/responseContracts/launches.js +10 -0
- package/dist/core/responseContracts/operations.d.ts +2 -0
- package/dist/core/responseContracts/operations.js +7 -0
- package/dist/core/responseContracts/previews.d.ts +2 -0
- package/dist/core/responseContracts/previews.js +8 -0
- package/dist/core/responseContracts/pricing.d.ts +2 -0
- package/dist/core/responseContracts/pricing.js +6 -0
- package/dist/core/responseContracts/processes.d.ts +2 -0
- package/dist/core/responseContracts/processes.js +11 -0
- package/dist/core/responseContracts/provider_accounts.d.ts +2 -0
- package/dist/core/responseContracts/provider_accounts.js +13 -0
- package/dist/core/responseContracts/providers.d.ts +2 -0
- package/dist/core/responseContracts/providers.js +6 -0
- package/dist/core/responseContracts/routing.d.ts +2 -0
- package/dist/core/responseContracts/routing.js +8 -0
- package/dist/core/responseContracts/sandboxes.d.ts +2 -0
- package/dist/core/responseContracts/sandboxes.js +15 -0
- package/dist/core/responseContracts/secrets.d.ts +2 -0
- package/dist/core/responseContracts/secrets.js +8 -0
- package/dist/core/responseContracts/spend_limits.d.ts +2 -0
- package/dist/core/responseContracts/spend_limits.js +8 -0
- package/dist/core/responseContracts/terminals.d.ts +2 -0
- package/dist/core/responseContracts/terminals.js +11 -0
- package/dist/core/responseContracts/usage.d.ts +2 -0
- package/dist/core/responseContracts/usage.js +7 -0
- package/dist/core/responseContracts/volumes.d.ts +2 -0
- package/dist/core/responseContracts/volumes.js +19 -0
- package/dist/core/responseContracts.gen.d.ts +3 -0
- package/dist/core/responseContracts.gen.js +27 -0
- package/dist/core/responseModes.d.ts +19 -0
- package/dist/core/responseModes.js +13 -0
- package/dist/core/responseValidation.d.ts +44 -0
- package/dist/core/responseValidation.js +174 -0
- package/dist/core/responseValidators/actions-diagnostics.cjs +4 -0
- package/dist/core/responseValidators/actions-diagnostics.d.cts +24 -0
- package/dist/core/responseValidators/actions.cjs +2 -0
- package/dist/core/responseValidators/actions.d.cts +24 -0
- package/dist/core/responseValidators/agents-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/agents-diagnostics.d.cts +2 -0
- package/dist/core/responseValidators/agents.cjs +2 -0
- package/dist/core/responseValidators/agents.d.cts +2 -0
- package/dist/core/responseValidators/artifacts-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/artifacts-diagnostics.d.cts +2 -0
- package/dist/core/responseValidators/artifacts.cjs +2 -0
- package/dist/core/responseValidators/artifacts.d.cts +2 -0
- package/dist/core/responseValidators/commands-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/commands-diagnostics.d.cts +1 -0
- package/dist/core/responseValidators/commands.cjs +2 -0
- package/dist/core/responseValidators/commands.d.cts +1 -0
- package/dist/core/responseValidators/compact.cjs +122 -0
- package/dist/core/responseValidators/credits-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/credits-diagnostics.d.cts +21 -0
- package/dist/core/responseValidators/credits.cjs +2 -0
- package/dist/core/responseValidators/credits.d.cts +21 -0
- package/dist/core/responseValidators/files-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/files-diagnostics.d.cts +5 -0
- package/dist/core/responseValidators/files.cjs +2 -0
- package/dist/core/responseValidators/files.d.cts +5 -0
- package/dist/core/responseValidators/github-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/github-diagnostics.d.cts +2 -0
- package/dist/core/responseValidators/github.cjs +2 -0
- package/dist/core/responseValidators/github.d.cts +2 -0
- package/dist/core/responseValidators/images-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/images-diagnostics.d.cts +3 -0
- package/dist/core/responseValidators/images.cjs +2 -0
- package/dist/core/responseValidators/images.d.cts +3 -0
- package/dist/core/responseValidators/launchRuns-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/launchRuns-diagnostics.d.cts +5 -0
- package/dist/core/responseValidators/launchRuns.cjs +2 -0
- package/dist/core/responseValidators/launchRuns.d.cts +5 -0
- package/dist/core/responseValidators/launches-diagnostics.cjs +10 -0
- package/dist/core/responseValidators/launches-diagnostics.d.cts +5 -0
- package/dist/core/responseValidators/launches.cjs +2 -0
- package/dist/core/responseValidators/launches.d.cts +5 -0
- package/dist/core/responseValidators/operations-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/operations-diagnostics.d.cts +2 -0
- package/dist/core/responseValidators/operations.cjs +2 -0
- package/dist/core/responseValidators/operations.d.cts +2 -0
- package/dist/core/responseValidators/previews-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/previews-diagnostics.d.cts +3 -0
- package/dist/core/responseValidators/previews.cjs +2 -0
- package/dist/core/responseValidators/previews.d.cts +3 -0
- package/dist/core/responseValidators/pricing-diagnostics.cjs +7 -0
- package/dist/core/responseValidators/pricing-diagnostics.d.cts +1 -0
- package/dist/core/responseValidators/pricing.cjs +2 -0
- package/dist/core/responseValidators/pricing.d.cts +1 -0
- package/dist/core/responseValidators/processes-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/processes-diagnostics.d.cts +2 -0
- package/dist/core/responseValidators/processes.cjs +2 -0
- package/dist/core/responseValidators/processes.d.cts +2 -0
- package/dist/core/responseValidators/provider_accounts-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/provider_accounts-diagnostics.d.cts +8 -0
- package/dist/core/responseValidators/provider_accounts.cjs +2 -0
- package/dist/core/responseValidators/provider_accounts.d.cts +8 -0
- package/dist/core/responseValidators/providers-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/providers-diagnostics.d.cts +1 -0
- package/dist/core/responseValidators/providers.cjs +2 -0
- package/dist/core/responseValidators/providers.d.cts +1 -0
- package/dist/core/responseValidators/routing-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/routing-diagnostics.d.cts +3 -0
- package/dist/core/responseValidators/routing.cjs +2 -0
- package/dist/core/responseValidators/routing.d.cts +3 -0
- package/dist/core/responseValidators/sandboxes-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/sandboxes-diagnostics.d.cts +10 -0
- package/dist/core/responseValidators/sandboxes.cjs +2 -0
- package/dist/core/responseValidators/sandboxes.d.cts +10 -0
- package/dist/core/responseValidators/secrets-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/secrets-diagnostics.d.cts +1 -0
- package/dist/core/responseValidators/secrets.cjs +2 -0
- package/dist/core/responseValidators/secrets.d.cts +1 -0
- package/dist/core/responseValidators/spend_limits-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/spend_limits-diagnostics.d.cts +3 -0
- package/dist/core/responseValidators/spend_limits.cjs +2 -0
- package/dist/core/responseValidators/spend_limits.d.cts +3 -0
- package/dist/core/responseValidators/terminals-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/terminals-diagnostics.d.cts +2 -0
- package/dist/core/responseValidators/terminals.cjs +2 -0
- package/dist/core/responseValidators/terminals.d.cts +2 -0
- package/dist/core/responseValidators/usage-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/usage-diagnostics.d.cts +1 -0
- package/dist/core/responseValidators/usage.cjs +2 -0
- package/dist/core/responseValidators/usage.d.cts +1 -0
- package/dist/core/responseValidators/volumes-diagnostics.cjs +1 -0
- package/dist/core/responseValidators/volumes-diagnostics.d.cts +10 -0
- package/dist/core/responseValidators/volumes.cjs +2 -0
- package/dist/core/responseValidators/volumes.d.cts +10 -0
- package/dist/core/serverSentEvents.gen.d.ts +21 -62
- package/dist/core/serverSentEvents.gen.js +297 -116
- package/dist/core/streamErrors.d.ts +32 -0
- package/dist/core/streamErrors.js +51 -0
- package/dist/core/types.gen.d.ts +2 -2
- package/dist/core/types.gen.js +2 -1
- package/dist/core/utils.gen.d.ts +1 -1
- package/dist/core/utils.gen.js +16 -10
- package/dist/creation.gen.d.ts +21 -0
- package/dist/creation.gen.js +35 -0
- package/dist/data-origin.d.ts +25 -0
- package/dist/data-origin.js +57 -0
- package/dist/error-codes.gen.d.ts +2 -0
- package/dist/error-codes.gen.js +2 -0
- package/dist/idempotency.gen.d.ts +1 -0
- package/dist/idempotency.gen.js +60 -0
- package/dist/images.d.ts +74 -0
- package/dist/images.js +88 -0
- package/dist/index.d.ts +22 -2
- package/dist/index.js +79 -1
- package/dist/launch-input.gen.d.ts +9 -0
- package/dist/launch-input.gen.js +83 -0
- package/dist/launch.d.ts +28 -0
- package/dist/launch.js +222 -0
- package/dist/namespace-actions.d.mts +307 -0
- package/dist/namespace-actions.mjs +595 -0
- package/dist/namespace-agents.d.mts +33 -0
- package/dist/namespace-agents.mjs +40 -0
- package/dist/namespace-artifacts.d.mts +46 -0
- package/dist/namespace-artifacts.mjs +69 -0
- package/dist/namespace-base.d.mts +7 -0
- package/dist/namespace-base.mjs +7 -0
- package/dist/namespace-commands.d.mts +57 -0
- package/dist/namespace-commands.mjs +57 -0
- package/dist/namespace-credits.d.mts +213 -0
- package/dist/namespace-credits.mjs +476 -0
- package/dist/namespace-files.d.mts +203 -0
- package/dist/namespace-files.mjs +334 -0
- package/dist/namespace-github.d.mts +50 -0
- package/dist/namespace-github.mjs +68 -0
- package/dist/namespace-images.d.mts +52 -0
- package/dist/namespace-images.mjs +78 -0
- package/dist/namespace-launch_runs.d.mts +89 -0
- package/dist/namespace-launch_runs.mjs +133 -0
- package/dist/namespace-launches.d.mts +89 -0
- package/dist/namespace-launches.mjs +133 -0
- package/dist/namespace-operations.d.mts +45 -0
- package/dist/namespace-operations.mjs +52 -0
- package/dist/namespace-previews.d.mts +79 -0
- package/dist/namespace-previews.mjs +101 -0
- package/dist/namespace-pricing.d.mts +31 -0
- package/dist/namespace-pricing.mjs +22 -0
- package/dist/namespace-processes.d.mts +125 -0
- package/dist/namespace-processes.mjs +184 -0
- package/dist/namespace-provider_accounts.d.mts +156 -0
- package/dist/namespace-provider_accounts.mjs +241 -0
- package/dist/namespace-providers.d.mts +28 -0
- package/dist/namespace-providers.mjs +24 -0
- package/dist/namespace-routing.d.mts +64 -0
- package/dist/namespace-routing.mjs +86 -0
- package/dist/namespace-sandboxes.d.mts +287 -0
- package/dist/namespace-sandboxes.mjs +402 -0
- package/dist/namespace-secrets.d.mts +46 -0
- package/dist/namespace-secrets.mjs +68 -0
- package/dist/namespace-spend_limits.d.mts +48 -0
- package/dist/namespace-spend_limits.mjs +70 -0
- package/dist/namespace-terminals.d.mts +112 -0
- package/dist/namespace-terminals.mjs +177 -0
- package/dist/namespace-usage.d.mts +46 -0
- package/dist/namespace-usage.mjs +53 -0
- package/dist/namespace-volumes.d.mts +110 -0
- package/dist/namespace-volumes.mjs +269 -0
- package/dist/operations.d.ts +14 -0
- package/dist/operations.js +31 -0
- package/dist/retry.d.ts +8 -0
- package/dist/retry.js +63 -0
- package/dist/routing-choices.gen.d.ts +132 -0
- package/dist/routing-choices.gen.js +136 -0
- package/dist/routing.d.ts +23 -0
- package/dist/routing.js +38 -0
- package/dist/sandbox-handle.gen.d.ts +8 -0
- package/dist/sandbox-handle.gen.js +14 -0
- package/dist/sandboxes.d.ts +213 -0
- package/dist/sandboxes.js +507 -0
- package/dist/sdk.gen.d.ts +2016 -12
- package/dist/sdk.gen.js +3862 -16
- package/dist/server-timing.d.ts +19 -0
- package/dist/server-timing.gen.d.ts +265 -0
- package/dist/server-timing.gen.js +254 -0
- package/dist/server-timing.js +421 -0
- package/dist/spend-limits.d.ts +17 -0
- package/dist/spend-limits.js +26 -0
- package/dist/telemetry.d.ts +51 -0
- package/dist/telemetry.gen.d.ts +1 -0
- package/dist/telemetry.gen.js +5 -0
- package/dist/telemetry.js +438 -0
- package/dist/terminal.d.ts +61 -0
- package/dist/terminal.js +266 -0
- package/dist/transfer.d.ts +75 -0
- package/dist/transfer.js +389 -0
- package/dist/types.gen.d.ts +14936 -110
- package/dist/types.gen.js +2 -1
- package/dist/user-agent.d.ts +2 -0
- package/dist/user-agent.js +18 -0
- package/dist/version.gen.d.ts +1 -0
- package/dist/version.gen.js +5 -0
- package/dist/volumes.d.ts +33 -0
- package/dist/volumes.js +221 -0
- package/dist/waits.d.ts +31 -0
- package/dist/waits.js +42 -0
- package/dist/workflow-policy.gen.d.ts +41 -0
- package/dist/workflow-policy.gen.js +45 -0
- package/package.json +124 -14
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** Safe, opt-in Server-Timing measurements for a BoxRouter fetch hook. */
|
|
2
|
+
import type { RequestTiming, ServerTimingMeasurements } from './server-timing.gen';
|
|
3
|
+
export type { AggregateTiming, OperationTiming, OmittedTiming, OperationCoverage, OperationOutcome, RequestTiming, ServerTimingMeasurements, } from './server-timing.gen';
|
|
4
|
+
/** Carry opt-in timing across the generated API call, fetch and response validation. */
|
|
5
|
+
export declare function withClientTiming<T>(run: () => Promise<T>, enabled: boolean): Promise<T>;
|
|
6
|
+
/** Mark TCP and TLS separately when the SDK's owned connector exposes both events. */
|
|
7
|
+
/** Capture the current operation before Undici invokes its asynchronous connector callbacks. */
|
|
8
|
+
export declare function connectionSegmentRecorder(field: 'dnsMs' | 'connectMs' | 'tlsMs'): ((started: number, ended: number) => void) & {
|
|
9
|
+
dnsEndedAt(): number | undefined;
|
|
10
|
+
};
|
|
11
|
+
/** Timestamp after DNS, used by the owned Undici connector to isolate TCP time. */
|
|
12
|
+
export declare function connectionSegmentStart(): number | undefined;
|
|
13
|
+
/** Parse bounded, independent measurements without inferring complete coverage. */
|
|
14
|
+
export declare function parseServerTiming(header: string | null): ServerTimingMeasurements;
|
|
15
|
+
export declare function usesClientOwnedFetch(fetch: typeof globalThis.fetch | undefined): boolean;
|
|
16
|
+
export declare function usesClientTimingFetch(fetch: typeof globalThis.fetch | undefined): boolean;
|
|
17
|
+
/** Use the BoxRouter-owned Node pool behind a timing hook created without a custom fetch. */
|
|
18
|
+
export declare function useClientOwnedFetch(fetch: typeof globalThis.fetch | undefined, clientFetch: typeof globalThis.fetch | undefined): typeof globalThis.fetch | undefined;
|
|
19
|
+
export declare function createServerTimingFetch(onTiming: (timing: RequestTiming) => void, fetchImpl?: typeof globalThis.fetch): typeof globalThis.fetch;
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
export declare const timingContract: {
|
|
2
|
+
readonly version: 1;
|
|
3
|
+
readonly unit: "ms";
|
|
4
|
+
readonly serviceAggregateMetric: "service";
|
|
5
|
+
readonly maxHeaderBytes: 8192;
|
|
6
|
+
readonly maxOperationRows: 32;
|
|
7
|
+
readonly decimalPlaces: 3;
|
|
8
|
+
readonly safeNamePattern: "^[A-Za-z0-9_.:-]{1,64}$";
|
|
9
|
+
readonly aggregates: readonly [{
|
|
10
|
+
readonly metric: "service";
|
|
11
|
+
readonly fieldStem: "cloud";
|
|
12
|
+
}, {
|
|
13
|
+
readonly metric: "database";
|
|
14
|
+
readonly fieldStem: "database";
|
|
15
|
+
}, {
|
|
16
|
+
readonly metric: "code";
|
|
17
|
+
readonly fieldStem: "code";
|
|
18
|
+
}, {
|
|
19
|
+
readonly metric: "provider_connect";
|
|
20
|
+
readonly fieldStem: "provider_connect";
|
|
21
|
+
}, {
|
|
22
|
+
readonly metric: "provider_wait";
|
|
23
|
+
readonly fieldStem: "provider_wait";
|
|
24
|
+
}, {
|
|
25
|
+
readonly metric: "accept";
|
|
26
|
+
readonly fieldStem: "accept";
|
|
27
|
+
}, {
|
|
28
|
+
readonly metric: "queue";
|
|
29
|
+
readonly fieldStem: "queue";
|
|
30
|
+
}, {
|
|
31
|
+
readonly metric: "admission";
|
|
32
|
+
readonly fieldStem: "admission";
|
|
33
|
+
}, {
|
|
34
|
+
readonly metric: "encode";
|
|
35
|
+
readonly fieldStem: "encode";
|
|
36
|
+
}];
|
|
37
|
+
readonly aggregateGrammar: {
|
|
38
|
+
readonly duration: {
|
|
39
|
+
readonly parameter: "dur";
|
|
40
|
+
readonly type: "number";
|
|
41
|
+
readonly finite: true;
|
|
42
|
+
readonly minimum: 0;
|
|
43
|
+
};
|
|
44
|
+
readonly descriptionParameter: "desc";
|
|
45
|
+
readonly unknownDescription: "unknown";
|
|
46
|
+
readonly missingMeans: "unreported";
|
|
47
|
+
};
|
|
48
|
+
readonly operationGrammar: {
|
|
49
|
+
readonly metric: "op";
|
|
50
|
+
readonly nameParameter: "desc";
|
|
51
|
+
readonly namePattern: "safeNamePattern";
|
|
52
|
+
readonly start: {
|
|
53
|
+
readonly parameter: "start";
|
|
54
|
+
readonly type: "number";
|
|
55
|
+
readonly finite: true;
|
|
56
|
+
readonly sign: "signed";
|
|
57
|
+
readonly relativeTo: "recorderWindow";
|
|
58
|
+
};
|
|
59
|
+
readonly duration: {
|
|
60
|
+
readonly parameter: "dur";
|
|
61
|
+
readonly type: "number";
|
|
62
|
+
readonly finite: true;
|
|
63
|
+
readonly minimum: 0;
|
|
64
|
+
};
|
|
65
|
+
readonly outcomeParameter: "outcome";
|
|
66
|
+
readonly outcomes: readonly ["returned", "raised"];
|
|
67
|
+
readonly requiresAggregateDependencyUnion: false;
|
|
68
|
+
};
|
|
69
|
+
readonly omissionGrammar: {
|
|
70
|
+
readonly metric: "op-omitted";
|
|
71
|
+
readonly count: {
|
|
72
|
+
readonly parameter: "desc";
|
|
73
|
+
readonly type: "integer";
|
|
74
|
+
readonly minimum: 0;
|
|
75
|
+
};
|
|
76
|
+
readonly duration: {
|
|
77
|
+
readonly parameter: "dur";
|
|
78
|
+
readonly type: "number";
|
|
79
|
+
readonly finite: true;
|
|
80
|
+
readonly minimum: 0;
|
|
81
|
+
readonly sumOf: "knownOmittedMeasuredRows";
|
|
82
|
+
};
|
|
83
|
+
readonly requiresAggregateDependencyUnion: false;
|
|
84
|
+
};
|
|
85
|
+
readonly coverageGrammar: {
|
|
86
|
+
readonly metric: "op-coverage";
|
|
87
|
+
readonly descriptionParameter: "desc";
|
|
88
|
+
readonly unknownValue: "unknown";
|
|
89
|
+
readonly absentState: "unreported";
|
|
90
|
+
readonly states: readonly ["unknown", "unreported"];
|
|
91
|
+
readonly absenceImpliesCompleteness: false;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
export declare const aggregateBindings: readonly [{
|
|
95
|
+
readonly metric: "service";
|
|
96
|
+
readonly field: "cloudMs";
|
|
97
|
+
}, {
|
|
98
|
+
readonly metric: "database";
|
|
99
|
+
readonly field: "databaseMs";
|
|
100
|
+
}, {
|
|
101
|
+
readonly metric: "code";
|
|
102
|
+
readonly field: "codeMs";
|
|
103
|
+
}, {
|
|
104
|
+
readonly metric: "provider_connect";
|
|
105
|
+
readonly field: "providerConnectMs";
|
|
106
|
+
}, {
|
|
107
|
+
readonly metric: "provider_wait";
|
|
108
|
+
readonly field: "providerWaitMs";
|
|
109
|
+
}, {
|
|
110
|
+
readonly metric: "accept";
|
|
111
|
+
readonly field: "acceptMs";
|
|
112
|
+
}, {
|
|
113
|
+
readonly metric: "queue";
|
|
114
|
+
readonly field: "queueMs";
|
|
115
|
+
}, {
|
|
116
|
+
readonly metric: "admission";
|
|
117
|
+
readonly field: "admissionMs";
|
|
118
|
+
}, {
|
|
119
|
+
readonly metric: "encode";
|
|
120
|
+
readonly field: "encodeMs";
|
|
121
|
+
}];
|
|
122
|
+
export declare const clientTimingContract: readonly [{
|
|
123
|
+
readonly field: "dns";
|
|
124
|
+
readonly unit: "ms";
|
|
125
|
+
readonly nullable: true;
|
|
126
|
+
readonly description: "DNS lookup duration in milliseconds. Null means not observable on this transport.";
|
|
127
|
+
}, {
|
|
128
|
+
readonly field: "connect";
|
|
129
|
+
readonly unit: "ms";
|
|
130
|
+
readonly nullable: true;
|
|
131
|
+
readonly description: "TCP connect duration in milliseconds. Null means not observable on this transport.";
|
|
132
|
+
}, {
|
|
133
|
+
readonly field: "tls";
|
|
134
|
+
readonly unit: "ms";
|
|
135
|
+
readonly nullable: true;
|
|
136
|
+
readonly description: "TLS handshake duration in milliseconds. Null means not observable on this transport.";
|
|
137
|
+
}, {
|
|
138
|
+
readonly field: "request_sent";
|
|
139
|
+
readonly unit: "ms";
|
|
140
|
+
readonly nullable: true;
|
|
141
|
+
readonly description: "Time to send the request body in milliseconds. Null means not observable on this transport.";
|
|
142
|
+
}, {
|
|
143
|
+
readonly field: "first_byte";
|
|
144
|
+
readonly unit: "ms";
|
|
145
|
+
readonly nullable: true;
|
|
146
|
+
readonly description: "Time from request sent to the first response byte, in milliseconds. Null means not observable on this transport.";
|
|
147
|
+
}, {
|
|
148
|
+
readonly field: "body_read";
|
|
149
|
+
readonly unit: "ms";
|
|
150
|
+
readonly nullable: true;
|
|
151
|
+
readonly description: "Time to read the response body in milliseconds. Null means not observable on this transport.";
|
|
152
|
+
}, {
|
|
153
|
+
readonly field: "sdk_build";
|
|
154
|
+
readonly unit: "ms";
|
|
155
|
+
readonly nullable: true;
|
|
156
|
+
readonly description: "Time from call entry to the request handed to HTTP, in milliseconds. Null means not observable on this transport.";
|
|
157
|
+
}, {
|
|
158
|
+
readonly field: "sdk_decode";
|
|
159
|
+
readonly unit: "ms";
|
|
160
|
+
readonly nullable: true;
|
|
161
|
+
readonly description: "Time from body bytes to the validated model, in milliseconds. Null means not observable on this transport.";
|
|
162
|
+
}, {
|
|
163
|
+
readonly field: "connection_reused";
|
|
164
|
+
readonly unit: "boolean";
|
|
165
|
+
readonly nullable: true;
|
|
166
|
+
readonly description: "Whether the HTTP connection was reused. Null means not observable on this transport.";
|
|
167
|
+
}];
|
|
168
|
+
export declare const clientTimingBindings: readonly [{
|
|
169
|
+
readonly field: "dnsMs";
|
|
170
|
+
readonly unit: "ms";
|
|
171
|
+
readonly description: "DNS lookup duration in milliseconds. Null means not observable on this transport.";
|
|
172
|
+
}, {
|
|
173
|
+
readonly field: "connectMs";
|
|
174
|
+
readonly unit: "ms";
|
|
175
|
+
readonly description: "TCP connect duration in milliseconds. Null means not observable on this transport.";
|
|
176
|
+
}, {
|
|
177
|
+
readonly field: "tlsMs";
|
|
178
|
+
readonly unit: "ms";
|
|
179
|
+
readonly description: "TLS handshake duration in milliseconds. Null means not observable on this transport.";
|
|
180
|
+
}, {
|
|
181
|
+
readonly field: "requestSentMs";
|
|
182
|
+
readonly unit: "ms";
|
|
183
|
+
readonly description: "Time to send the request body in milliseconds. Null means not observable on this transport.";
|
|
184
|
+
}, {
|
|
185
|
+
readonly field: "firstByteMs";
|
|
186
|
+
readonly unit: "ms";
|
|
187
|
+
readonly description: "Time from request sent to the first response byte, in milliseconds. Null means not observable on this transport.";
|
|
188
|
+
}, {
|
|
189
|
+
readonly field: "bodyReadMs";
|
|
190
|
+
readonly unit: "ms";
|
|
191
|
+
readonly description: "Time to read the response body in milliseconds. Null means not observable on this transport.";
|
|
192
|
+
}, {
|
|
193
|
+
readonly field: "sdkBuildMs";
|
|
194
|
+
readonly unit: "ms";
|
|
195
|
+
readonly description: "Time from call entry to the request handed to HTTP, in milliseconds. Null means not observable on this transport.";
|
|
196
|
+
}, {
|
|
197
|
+
readonly field: "sdkDecodeMs";
|
|
198
|
+
readonly unit: "ms";
|
|
199
|
+
readonly description: "Time from body bytes to the validated model, in milliseconds. Null means not observable on this transport.";
|
|
200
|
+
}, {
|
|
201
|
+
readonly field: "connectionReused";
|
|
202
|
+
readonly unit: "boolean";
|
|
203
|
+
readonly description: "Whether the HTTP connection was reused. Null means not observable on this transport.";
|
|
204
|
+
}];
|
|
205
|
+
export type AggregateMetric = "service" | "database" | "code" | "provider_connect" | "provider_wait" | "accept" | "queue" | "admission" | "encode";
|
|
206
|
+
export type OperationOutcome = "returned" | "raised";
|
|
207
|
+
export type OperationCoverage = "unknown" | "unreported";
|
|
208
|
+
export interface AggregateTiming {
|
|
209
|
+
durationMs: number | null;
|
|
210
|
+
state: 'measured' | OperationCoverage;
|
|
211
|
+
}
|
|
212
|
+
export interface OperationTiming {
|
|
213
|
+
name: string;
|
|
214
|
+
startMs: number;
|
|
215
|
+
durationMs: number;
|
|
216
|
+
outcome: OperationOutcome;
|
|
217
|
+
}
|
|
218
|
+
export interface OmittedTiming {
|
|
219
|
+
/** Exact count; decimal text is used only beyond JavaScript's safe integer range. */
|
|
220
|
+
count: number | string;
|
|
221
|
+
durationMs: number;
|
|
222
|
+
}
|
|
223
|
+
export interface ServerTimingMeasurements {
|
|
224
|
+
aggregates: Record<AggregateMetric, AggregateTiming>;
|
|
225
|
+
operations: OperationTiming[];
|
|
226
|
+
omissions: OmittedTiming | null;
|
|
227
|
+
operationCoverage: OperationCoverage;
|
|
228
|
+
/** Client parsing hit a bound; this does not change the server's coverage claim. */
|
|
229
|
+
parseLimited: boolean;
|
|
230
|
+
}
|
|
231
|
+
export interface RequestTiming {
|
|
232
|
+
/** Elapsed milliseconds through response body consumption. */
|
|
233
|
+
clientMs: number;
|
|
234
|
+
/** Client duration minus measured Cloud duration, clamped at zero. */
|
|
235
|
+
networkMs: number | null;
|
|
236
|
+
cloudMs: number | null;
|
|
237
|
+
databaseMs: number | null;
|
|
238
|
+
codeMs: number | null;
|
|
239
|
+
providerConnectMs: number | null;
|
|
240
|
+
providerWaitMs: number | null;
|
|
241
|
+
acceptMs: number | null;
|
|
242
|
+
queueMs: number | null;
|
|
243
|
+
admissionMs: number | null;
|
|
244
|
+
encodeMs: number | null;
|
|
245
|
+
/** DNS lookup duration in milliseconds. Null means not observable on this transport. */
|
|
246
|
+
dnsMs?: number | null;
|
|
247
|
+
/** TCP connect duration in milliseconds. Null means not observable on this transport. */
|
|
248
|
+
connectMs?: number | null;
|
|
249
|
+
/** TLS handshake duration in milliseconds. Null means not observable on this transport. */
|
|
250
|
+
tlsMs?: number | null;
|
|
251
|
+
/** Time to send the request body in milliseconds. Null means not observable on this transport. */
|
|
252
|
+
requestSentMs?: number | null;
|
|
253
|
+
/** Time from request sent to the first response byte, in milliseconds. Null means not observable on this transport. */
|
|
254
|
+
firstByteMs?: number | null;
|
|
255
|
+
/** Time to read the response body in milliseconds. Null means not observable on this transport. */
|
|
256
|
+
bodyReadMs?: number | null;
|
|
257
|
+
/** Time from call entry to the request handed to HTTP, in milliseconds. Null means not observable on this transport. */
|
|
258
|
+
sdkBuildMs?: number | null;
|
|
259
|
+
/** Time from body bytes to the validated model, in milliseconds. Null means not observable on this transport. */
|
|
260
|
+
sdkDecodeMs?: number | null;
|
|
261
|
+
/** Whether the HTTP connection was reused. Null means not observable on this transport. */
|
|
262
|
+
connectionReused?: boolean | null;
|
|
263
|
+
/** Detailed server measurements; optional for existing callback-value constructions. */
|
|
264
|
+
serverTiming?: ServerTimingMeasurements;
|
|
265
|
+
}
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.clientTimingBindings = exports.clientTimingContract = exports.aggregateBindings = exports.timingContract = void 0;
|
|
4
|
+
// Generated from canonical Server-Timing metadata. Do not edit.
|
|
5
|
+
exports.timingContract = {
|
|
6
|
+
"version": 1,
|
|
7
|
+
"unit": "ms",
|
|
8
|
+
"serviceAggregateMetric": "service",
|
|
9
|
+
"maxHeaderBytes": 8192,
|
|
10
|
+
"maxOperationRows": 32,
|
|
11
|
+
"decimalPlaces": 3,
|
|
12
|
+
"safeNamePattern": "^[A-Za-z0-9_.:-]{1,64}$",
|
|
13
|
+
"aggregates": [
|
|
14
|
+
{
|
|
15
|
+
"metric": "service",
|
|
16
|
+
"fieldStem": "cloud"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"metric": "database",
|
|
20
|
+
"fieldStem": "database"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"metric": "code",
|
|
24
|
+
"fieldStem": "code"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"metric": "provider_connect",
|
|
28
|
+
"fieldStem": "provider_connect"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"metric": "provider_wait",
|
|
32
|
+
"fieldStem": "provider_wait"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"metric": "accept",
|
|
36
|
+
"fieldStem": "accept"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"metric": "queue",
|
|
40
|
+
"fieldStem": "queue"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"metric": "admission",
|
|
44
|
+
"fieldStem": "admission"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"metric": "encode",
|
|
48
|
+
"fieldStem": "encode"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"aggregateGrammar": {
|
|
52
|
+
"duration": {
|
|
53
|
+
"parameter": "dur",
|
|
54
|
+
"type": "number",
|
|
55
|
+
"finite": true,
|
|
56
|
+
"minimum": 0
|
|
57
|
+
},
|
|
58
|
+
"descriptionParameter": "desc",
|
|
59
|
+
"unknownDescription": "unknown",
|
|
60
|
+
"missingMeans": "unreported"
|
|
61
|
+
},
|
|
62
|
+
"operationGrammar": {
|
|
63
|
+
"metric": "op",
|
|
64
|
+
"nameParameter": "desc",
|
|
65
|
+
"namePattern": "safeNamePattern",
|
|
66
|
+
"start": {
|
|
67
|
+
"parameter": "start",
|
|
68
|
+
"type": "number",
|
|
69
|
+
"finite": true,
|
|
70
|
+
"sign": "signed",
|
|
71
|
+
"relativeTo": "recorderWindow"
|
|
72
|
+
},
|
|
73
|
+
"duration": {
|
|
74
|
+
"parameter": "dur",
|
|
75
|
+
"type": "number",
|
|
76
|
+
"finite": true,
|
|
77
|
+
"minimum": 0
|
|
78
|
+
},
|
|
79
|
+
"outcomeParameter": "outcome",
|
|
80
|
+
"outcomes": [
|
|
81
|
+
"returned",
|
|
82
|
+
"raised"
|
|
83
|
+
],
|
|
84
|
+
"requiresAggregateDependencyUnion": false
|
|
85
|
+
},
|
|
86
|
+
"omissionGrammar": {
|
|
87
|
+
"metric": "op-omitted",
|
|
88
|
+
"count": {
|
|
89
|
+
"parameter": "desc",
|
|
90
|
+
"type": "integer",
|
|
91
|
+
"minimum": 0
|
|
92
|
+
},
|
|
93
|
+
"duration": {
|
|
94
|
+
"parameter": "dur",
|
|
95
|
+
"type": "number",
|
|
96
|
+
"finite": true,
|
|
97
|
+
"minimum": 0,
|
|
98
|
+
"sumOf": "knownOmittedMeasuredRows"
|
|
99
|
+
},
|
|
100
|
+
"requiresAggregateDependencyUnion": false
|
|
101
|
+
},
|
|
102
|
+
"coverageGrammar": {
|
|
103
|
+
"metric": "op-coverage",
|
|
104
|
+
"descriptionParameter": "desc",
|
|
105
|
+
"unknownValue": "unknown",
|
|
106
|
+
"absentState": "unreported",
|
|
107
|
+
"states": [
|
|
108
|
+
"unknown",
|
|
109
|
+
"unreported"
|
|
110
|
+
],
|
|
111
|
+
"absenceImpliesCompleteness": false
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
exports.aggregateBindings = [
|
|
115
|
+
{
|
|
116
|
+
"metric": "service",
|
|
117
|
+
"field": "cloudMs"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"metric": "database",
|
|
121
|
+
"field": "databaseMs"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"metric": "code",
|
|
125
|
+
"field": "codeMs"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"metric": "provider_connect",
|
|
129
|
+
"field": "providerConnectMs"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"metric": "provider_wait",
|
|
133
|
+
"field": "providerWaitMs"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"metric": "accept",
|
|
137
|
+
"field": "acceptMs"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"metric": "queue",
|
|
141
|
+
"field": "queueMs"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"metric": "admission",
|
|
145
|
+
"field": "admissionMs"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"metric": "encode",
|
|
149
|
+
"field": "encodeMs"
|
|
150
|
+
}
|
|
151
|
+
];
|
|
152
|
+
exports.clientTimingContract = [
|
|
153
|
+
{
|
|
154
|
+
"field": "dns",
|
|
155
|
+
"unit": "ms",
|
|
156
|
+
"nullable": true,
|
|
157
|
+
"description": "DNS lookup duration in milliseconds. Null means not observable on this transport."
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"field": "connect",
|
|
161
|
+
"unit": "ms",
|
|
162
|
+
"nullable": true,
|
|
163
|
+
"description": "TCP connect duration in milliseconds. Null means not observable on this transport."
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"field": "tls",
|
|
167
|
+
"unit": "ms",
|
|
168
|
+
"nullable": true,
|
|
169
|
+
"description": "TLS handshake duration in milliseconds. Null means not observable on this transport."
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"field": "request_sent",
|
|
173
|
+
"unit": "ms",
|
|
174
|
+
"nullable": true,
|
|
175
|
+
"description": "Time to send the request body in milliseconds. Null means not observable on this transport."
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"field": "first_byte",
|
|
179
|
+
"unit": "ms",
|
|
180
|
+
"nullable": true,
|
|
181
|
+
"description": "Time from request sent to the first response byte, in milliseconds. Null means not observable on this transport."
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"field": "body_read",
|
|
185
|
+
"unit": "ms",
|
|
186
|
+
"nullable": true,
|
|
187
|
+
"description": "Time to read the response body in milliseconds. Null means not observable on this transport."
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"field": "sdk_build",
|
|
191
|
+
"unit": "ms",
|
|
192
|
+
"nullable": true,
|
|
193
|
+
"description": "Time from call entry to the request handed to HTTP, in milliseconds. Null means not observable on this transport."
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"field": "sdk_decode",
|
|
197
|
+
"unit": "ms",
|
|
198
|
+
"nullable": true,
|
|
199
|
+
"description": "Time from body bytes to the validated model, in milliseconds. Null means not observable on this transport."
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"field": "connection_reused",
|
|
203
|
+
"unit": "boolean",
|
|
204
|
+
"nullable": true,
|
|
205
|
+
"description": "Whether the HTTP connection was reused. Null means not observable on this transport."
|
|
206
|
+
}
|
|
207
|
+
];
|
|
208
|
+
exports.clientTimingBindings = [
|
|
209
|
+
{
|
|
210
|
+
"field": "dnsMs",
|
|
211
|
+
"unit": "ms",
|
|
212
|
+
"description": "DNS lookup duration in milliseconds. Null means not observable on this transport."
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"field": "connectMs",
|
|
216
|
+
"unit": "ms",
|
|
217
|
+
"description": "TCP connect duration in milliseconds. Null means not observable on this transport."
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"field": "tlsMs",
|
|
221
|
+
"unit": "ms",
|
|
222
|
+
"description": "TLS handshake duration in milliseconds. Null means not observable on this transport."
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"field": "requestSentMs",
|
|
226
|
+
"unit": "ms",
|
|
227
|
+
"description": "Time to send the request body in milliseconds. Null means not observable on this transport."
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"field": "firstByteMs",
|
|
231
|
+
"unit": "ms",
|
|
232
|
+
"description": "Time from request sent to the first response byte, in milliseconds. Null means not observable on this transport."
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"field": "bodyReadMs",
|
|
236
|
+
"unit": "ms",
|
|
237
|
+
"description": "Time to read the response body in milliseconds. Null means not observable on this transport."
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"field": "sdkBuildMs",
|
|
241
|
+
"unit": "ms",
|
|
242
|
+
"description": "Time from call entry to the request handed to HTTP, in milliseconds. Null means not observable on this transport."
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"field": "sdkDecodeMs",
|
|
246
|
+
"unit": "ms",
|
|
247
|
+
"description": "Time from body bytes to the validated model, in milliseconds. Null means not observable on this transport."
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"field": "connectionReused",
|
|
251
|
+
"unit": "boolean",
|
|
252
|
+
"description": "Whether the HTTP connection was reused. Null means not observable on this transport."
|
|
253
|
+
}
|
|
254
|
+
];
|