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
13 lines
630 B
Plaintext
13 lines
630 B
Plaintext
import { Measurements, MeasurementUnit } from '../types-hoist/measurement';
|
|
import { TimedEvent } from '../types-hoist/timedEvent';
|
|
/**
|
|
* Adds a measurement to the active transaction on the current global scope. You can optionally pass in a different span
|
|
* as the 4th parameter.
|
|
*/
|
|
export declare function setMeasurement(name: string, value: number, unit: MeasurementUnit, activeSpan?: import("..").Span | undefined): void;
|
|
/**
|
|
* Convert timed events to measurements.
|
|
*/
|
|
export declare function timedEventsToMeasurements(events: TimedEvent[]): Measurements | undefined;
|
|
//# sourceMappingURL=measurement.d.ts.map
|