Skip to content

Commit 57fe5da

Browse files
Update packages/js-sdk/src/sandbox/index.ts
Co-authored-by: Tomas Valenta <valenta.and.thomas@gmail.com>
1 parent 12cd7d6 commit 57fe5da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/js-sdk/src/sandbox/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ export class Sandbox extends SandboxApi {
529529
*
530530
* @returns List of sandbox metrics containing CPU, memory and disk usage information.
531531
*/
532-
async getMetrics(opts?: SandboxMetricsOpts) {
532+
async getMetrics(opts?: Pick<SandboxMetricsOpts, 'start' | 'end' | 'requestTimeoutMs'>) {
533533
if (this.envdApi.version) {
534534
if (compareVersions(this.envdApi.version, '0.1.5') < 0) {
535535
throw new SandboxError(

0 commit comments

Comments
 (0)