Skip to content

feat(sentry): add Sentry provider with configurable API base URL - #1003

Open
artile wants to merge 1 commit into
alchemy-run:mainfrom
tao-io:feat/sentry-provider
Open

feat(sentry): add Sentry provider with configurable API base URL#1003
artile wants to merge 1 commit into
alchemy-run:mainfrom
tao-io:feat/sentry-provider

Conversation

@artile

@artile artile commented Jul 30, 2026

Copy link
Copy Markdown

Adds a Sentry provider with a Project resource. The API base URL is part of the credentials, so one provider drives both Sentry SaaS and a self-hosted instance — the v1 provider hardcoded https://sentry.io/api/0.

const project = yield* Sentry.Project("api", {
  organization: "my-org",
  team: "backend",
  name: "API",
  platform: "node",
});
SENTRY_AUTH_TOKEN=...                                   # required
SENTRY_API_BASE_URL=https://sentry.example.com/api/0    # self-hosted, defaults to sentry.io

Follows #1001. Requests go through HttpClient directly because distilled has no sentry package. If you would rather see @distilled.cloud/sentry generated from Sentry's OpenAPI schema first, I will rebuild this on top of it.

@artile
artile marked this pull request as ready for review August 1, 2026 07:35

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a distilled SDK: https://github.com/alchemy-run/distilled

cc @Mkassabov can you help?

@Mkassabov

Copy link
Copy Markdown
Contributor

Requested distilled SDK from this review comment:

alchemy-run/distilled#524@distilled.cloud/sentry generated from Sentry's first-party OpenAPI (getsentry/sentry-api-schema).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants