Skip to content

Expose sandbox metrics in SDKs and CLI#828

Merged
jakubno merged 12 commits intomainfrom
move-metrics-out-of-beta-to-the-main-sdk-e2b-2778
Jul 30, 2025
Merged

Expose sandbox metrics in SDKs and CLI#828
jakubno merged 12 commits intomainfrom
move-metrics-out-of-beta-to-the-main-sdk-e2b-2778

Conversation

@jakubno
Copy link
Copy Markdown
Member

@jakubno jakubno commented Jul 25, 2025

Description

Expose sandbox metrics in SDKs and CLI

e2b sbx mt il98ycmohc6enybi79uf8

Metrics for sandbox il98ycmohc6enybi79uf8:

[2025-07-25 14:05:55Z]  CPU:  8.27% /  2 Cores | Memory:    31 / 484   MiB | Disk:  1445 / 2453  MiB
[2025-07-25 14:06:00Z]  CPU:   0.5% /  2 Cores | Memory:    32 / 484   MiB | Disk:  1445 / 2453  MiB
[2025-07-25 14:06:05Z]  CPU:   0.1% /  2 Cores | Memory:    32 / 484   MiB | Disk:  1445 / 2453  MiB
[2025-07-25 14:06:10Z]  CPU:   0.3% /  2 Cores | Memory:    32 / 484   MiB | Disk:  1445 / 2453  MiB

@jakubno jakubno self-assigned this Jul 25, 2025
@jakubno jakubno requested a review from ValentaTomas as a code owner July 25, 2025 14:03
@jakubno jakubno added the feature New feature or request label Jul 25, 2025
@jakubno jakubno requested a review from mishushakov as a code owner July 25, 2025 14:03
@linear
Copy link
Copy Markdown

linear Bot commented Jul 25, 2025

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jul 25, 2025

🦋 Changeset detected

Latest commit: 57fe5da

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@e2b/python-sdk Minor
e2b Minor
@e2b/cli Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jakubno jakubno force-pushed the move-metrics-out-of-beta-to-the-main-sdk-e2b-2778 branch from 968ad50 to a49b370 Compare July 25, 2025 14:09
@ValentaTomas
Copy link
Copy Markdown
Member

I think the docs also need to be adjusted.

Comment thread apps/web/src/app/(docs)/docs/sandbox/metrics/page.mdx Outdated
Comment thread apps/web/src/app/(docs)/docs/sandbox/metrics/page.mdx Outdated
Comment thread packages/cli/src/commands/sandbox/metrics.ts Outdated
Comment thread packages/cli/src/commands/sandbox/metrics.ts Outdated
Comment thread packages/python-sdk/e2b/sandbox_async/main.py Outdated
Comment thread packages/python-sdk/e2b/sandbox_async/main.py Outdated
Comment thread packages/python-sdk/e2b/sandbox_async/main.py Outdated
Comment thread packages/python-sdk/e2b/sandbox_sync/main.py Outdated
Comment thread packages/python-sdk/e2b/sandbox_sync/main.py Outdated
Comment thread packages/python-sdk/e2b/sandbox_sync/sandbox_api.py Outdated
@jakubno jakubno requested a review from ValentaTomas July 29, 2025 14:08
@mlejva mlejva removed their request for review July 29, 2025 21:20
Comment thread apps/web/src/app/(docs)/docs/sandbox/metrics/page.mdx Outdated
Comment thread packages/js-sdk/src/sandbox/sandboxApi.ts Outdated
Comment thread packages/js-sdk/src/sandbox/index.ts Outdated
Comment thread packages/js-sdk/src/sandbox/index.ts Outdated
Co-authored-by: Tomas Valenta <valenta.and.thomas@gmail.com>
@jakubno jakubno merged commit e34d695 into main Jul 30, 2025
7 checks passed
@jakubno jakubno deleted the move-metrics-out-of-beta-to-the-main-sdk-e2b-2778 branch July 30, 2025 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants