Skip to content
betterstack-alchemyUnofficial

Telemetry.ExplorationGroup

Kind ResourceType id BetterStack.Telemetry.ExplorationGroupSource src/Telemetry/ExplorationGroup.tsLive test available A live lifecycle test exists: it runs against the offline mock by default and against the real API under bun run test:live. This records that the test exists, not a dated live run (see Compatibility). Test file: test/Telemetry/ExplorationGroup.test.ts.

A group that organizes related saved explorations together. Explorations join it through their explorationGroupId; deleting the group keeps its explorations, outside any group.

name defaults to a generated unique name. teamId replaces the group when changed.

An exploration in a group

const monitoring = yield* BetterStack.Telemetry.ExplorationGroup("monitoring", {
name: "Production monitoring",
});
yield* BetterStack.Telemetry.Exploration("errors", {
name: "Error rate",
explorationGroupId: monitoring.id,
...BetterStack.Telemetry.Chart.exploration(
BetterStack.Telemetry.Chart.line({
sql: BetterStack.Telemetry.Chart.timeSeries({ value: "count(*)" }),
}),
),
});

name string

Group name. Defaults to a unique name generated from the stack, stage and logical id.

teamId string

Team that owns the resource, such as t123. Defaults to the credentials' team (BETTERSTACK_TEAM_ID, or the profile's team). Changing it replaces the resource.

id string always set

The exploration_group's id.

createdAt string

When the group was created.

name string

Group name.

teamId string

Team that owns the group, such as t123.

teamName string

Name of the team that owns the group.

updatedAt string

When the group was last updated.

ExplorationGroup.lookup(props) reads an object this stack does not manage. It is never created, updated or deleted.

teamId string

Team that owns it, such as t123. Defaults to the credentials' team.