Skip to content

Contribute example: execution telemetry or error-handling patterns #165

@tanayshah11

Description

@tanayshah11

Hi E2B team! I'd like to contribute an example to help users with common patterns. Before opening a PR, wanted to confirm direction:

Options I can ship:

  1. Execution telemetry wrapper — Uses SDK callbacks (onStdout/onStderr) to capture timing, output stats from the Execution object, produces JSON summary. No infra metrics, just SDK best practices.

  2. Error-handling patterns — Demonstrates timeouts, retries for transient errors, cleanup patterns, graceful degradation.

  3. Real use case — CSV → analysis → chart pipeline showcasing file ops, streaming, and structured output.

Questions:

  • Which would be most valuable for the community?
  • Should this live in examples/ here or in e2b-cookbook?

Happy to ship whichever helps users most. Let me know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions