One integration per project (read-only API token, read every 5 minutes). Alerts for a server that was running and is off, stuck statuses, traffic at 80%/100% of the monthly quota, rescue mode left on, and late backups. The Hetzner page lists servers, volumes, snapshots and a cost estimate; a server the app knows by its agent gets a Hetzner card on its own page. /metrics and docs updated. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
10 lines
299 B
SQL
10 lines
299 B
SQL
CREATE TABLE `hetzner_state` (
|
|
`integration_id` integer PRIMARY KEY NOT NULL,
|
|
`servers` text DEFAULT '[]' NOT NULL,
|
|
`volumes` text,
|
|
`images` text,
|
|
`cost` text,
|
|
`updated_at` text NOT NULL,
|
|
FOREIGN KEY (`integration_id`) REFERENCES `integrations`(`id`) ON UPDATE no action ON DELETE cascade
|
|
);
|