@@ -57,48 +57,48 @@ public function run(): void
57
57
]);
58
58
59
59
Schedule::create ([
60
- 'name ' => 'Database Maintenance ' ,
61
- 'message ' => 'We will be conducting maintenance on our database servers. You may experience degraded performance during this time. ' ,
60
+ 'name ' => 'Documentation Maintenance ' ,
61
+ 'message ' => 'We will be conducting maintenance on our documentation servers. You may experience degraded performance during this time. ' ,
62
62
'scheduled_at ' => now ()->addHours (24 ),
63
63
'completed_at ' => null ,
64
64
]);
65
65
66
66
$ componentGroup = ComponentGroup::create ([
67
- 'name ' => 'Checkmango ' ,
67
+ 'name ' => 'Cachet ' ,
68
68
'collapsed ' => ComponentGroupVisibilityEnum::expanded,
69
69
'visible ' => ResourceVisibilityEnum::guest,
70
70
]);
71
71
72
72
$ componentGroup ->components ()->createMany ([
73
73
[
74
- 'name ' => 'Dashboard ' ,
75
- 'description ' => 'The Checkmango Dashboard . ' ,
76
- 'link ' => 'https://checkmango.com ' ,
74
+ 'name ' => 'Cachet Website ' ,
75
+ 'description ' => 'The Cachet Website . ' ,
76
+ 'link ' => 'https://cachethq.io ' ,
77
77
'status ' => ComponentStatusEnum::operational,
78
78
], [
79
- 'name ' => 'API ' ,
80
- 'description ' => 'The Checkmango API . ' ,
81
- 'link ' => 'https://developers.checkmango.com ' ,
79
+ 'name ' => 'Cachet Documentation ' ,
80
+ 'description ' => 'The Checkmango Documentation . ' ,
81
+ 'link ' => 'https://docs.cachethq.io ' ,
82
82
'status ' => ComponentStatusEnum::operational,
83
83
], [
84
- 'name ' => 'Documentation ' ,
85
- 'description ' => 'The Checkmango Documentation . ' ,
86
- 'link ' => 'https://docs.checkmango.com ' ,
87
- 'status ' => ComponentStatusEnum::performance_issues ,
84
+ 'name ' => 'Cachet Blog ' ,
85
+ 'description ' => 'The Cachet Blog . ' ,
86
+ 'link ' => 'https://blog.cachethq.io ' ,
87
+ 'status ' => ComponentStatusEnum::operational ,
88
88
],
89
89
]);
90
90
91
91
Component::create ([
92
- 'name ' => 'Cachet ' ,
93
- 'description ' => 'The open-source status page system . ' ,
94
- 'link ' => 'https://cachethq.io ' ,
92
+ 'name ' => 'Laravel Artisan Cheatsheet ' ,
93
+ 'description ' => 'The Laravel Artisan Cheatsheet . ' ,
94
+ 'link ' => 'https://artisan.page ' ,
95
95
'status ' => ComponentStatusEnum::operational,
96
96
]);
97
97
98
98
$ metric = Metric::create ([
99
- 'name ' => 'Checkmango Requests ' ,
99
+ 'name ' => 'Cachet API Requests ' ,
100
100
'suffix ' => 'req/s ' ,
101
- 'description ' => 'The number of requests to the Checkmango API. ' ,
101
+ 'description ' => 'The number of requests to the Cachet API. ' ,
102
102
'default_view ' => MetricViewEnum::last_hour,
103
103
'calc_type ' => MetricTypeEnum::average,
104
104
'display_chart ' => true ,
@@ -147,7 +147,7 @@ public function run(): void
147
147
$ incident = Incident::create ([
148
148
'name ' => 'Documentation Performance Degradation ' ,
149
149
'message ' => 'We \'re investigating an issue with our documentation causing the site to be slow. ' ,
150
- 'status ' => IncidentStatusEnum::investigating ,
150
+ 'status ' => IncidentStatusEnum::fixed ,
151
151
'visible ' => ResourceVisibilityEnum::guest,
152
152
'guid ' => Str::uuid (),
153
153
'created_at ' => $ timestamp = now ()->subMinutes (30 ),
@@ -158,6 +158,15 @@ public function run(): void
158
158
$ incident ->incidentUpdates ()->create ([
159
159
'status ' => IncidentStatusEnum::identified,
160
160
'message ' => 'We \'ve identified the issue and are working on a fix. ' ,
161
+ 'created_at ' => $ timestamp = $ incident ->created_at ->addMinutes (15 ),
162
+ 'updated_at ' => $ timestamp ,
163
+ ]);
164
+
165
+ $ incident ->incidentUpdates ()->create ([
166
+ 'status ' => IncidentStatusEnum::fixed,
167
+ 'message ' => 'The documentation is now back online. Happy reading! ' ,
168
+ 'created_at ' => $ timestamp = $ incident ->created_at ->addMinutes (25 ),
169
+ 'updated_at ' => $ timestamp ,
161
170
]);
162
171
163
172
IncidentTemplate::create ([
0 commit comments