-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.ts
More file actions
19 lines (18 loc) · 642 Bytes
/
index.ts
File metadata and controls
19 lines (18 loc) · 642 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { buildRouteMap } from "@stricli/core";
import { issuesRoute } from "./issues/index.js";
import { metricsRoute } from "./metrics/index.js";
export const alertRoute = buildRouteMap({
routes: {
issues: issuesRoute,
metrics: metricsRoute,
},
docs: {
brief: "Manage Sentry alert rules",
fullDescription:
"View and manage alert rules in your Sentry organization.\n\n" +
"Alert types:\n" +
" issues Issue alert rules — trigger on matching error events (project-scoped)\n" +
" metrics Metric alert rules — trigger on metric query thresholds (org-scoped)",
hideRoute: {},
},
});