Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
25 lines
1.1 KiB
Plaintext
25 lines
1.1 KiB
Plaintext
import { DsnComponents } from '../types-hoist/dsn';
|
|
import { MetricContainerItem, MetricEnvelope } from '../types-hoist/envelope';
|
|
import { SerializedMetric } from '../types-hoist/metric';
|
|
import { SdkMetadata } from '../types-hoist/sdkmetadata';
|
|
/**
|
|
* Creates a metric container envelope item for a list of metrics.
|
|
*
|
|
* @param items - The metrics to include in the envelope.
|
|
* @returns The created metric container envelope item.
|
|
*/
|
|
export declare function createMetricContainerEnvelopeItem(items: Array<SerializedMetric>): MetricContainerItem;
|
|
/**
|
|
* Creates an envelope for a list of metrics.
|
|
*
|
|
* Metrics from multiple traces can be included in the same envelope.
|
|
*
|
|
* @param metrics - The metrics to include in the envelope.
|
|
* @param metadata - The metadata to include in the envelope.
|
|
* @param tunnel - The tunnel to include in the envelope.
|
|
* @param dsn - The DSN to include in the envelope.
|
|
* @returns The created envelope.
|
|
*/
|
|
export declare function createMetricEnvelope(metrics: Array<SerializedMetric>, metadata?: SdkMetadata, tunnel?: string, dsn?: DsnComponents): MetricEnvelope;
|
|
//# sourceMappingURL=envelope.d.ts.map
|