Commit cd4e412
authored
feat(agent): add supportability metric for laravel horizon and queue (#1132)
This PR does the following:
- Wrap `Laravel\Horizon\Console\WorkCommand` to check if Laravel Horizon
is being used and if it is, then set `is_horizon_used` global flag to
`true`.
- Check value of `is_horizon_used` flag which will determine what
supportability metric is sent.
(`Supportability/library/Laravel/Horizon/used` or
`Supportability/library/Laravel/Queue/used`)1 parent e1738ac commit cd4e412
3 files changed
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1221 | 1221 | | |
1222 | 1222 | | |
1223 | 1223 | | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
1224 | 1235 | | |
1225 | 1236 | | |
1226 | 1237 | | |
| |||
1272 | 1283 | | |
1273 | 1284 | | |
1274 | 1285 | | |
1275 | | - | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
1276 | 1292 | | |
1277 | 1293 | | |
1278 | 1294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
294 | 295 | | |
295 | 296 | | |
296 | 297 | | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
297 | 305 | | |
298 | 306 | | |
299 | 307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
0 commit comments