You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from: z.number().int().optional().default(7200).describe('Number of seconds from which you want to get total number of active hosts (defaults to 2h)'),
55
+
from: z
56
+
.number()
57
+
.int()
58
+
.optional()
59
+
.default(7200)
60
+
.describe(
61
+
'Number of seconds from which you want to get total number of active hosts (defaults to 2h)',
62
+
),
43
63
})
44
64
45
65
/**
46
66
* Schema for listing and filtering hosts in Datadog.
47
67
* Defines comprehensive parameters for querying and filtering host information.
48
-
*
68
+
*
49
69
* @param filter - Optional. Search string to filter hosts
50
70
* @param sort_field - Optional. Field to sort results by
51
71
* @param sort_dir - Optional. Sort direction ('asc' or 'desc')
message: `Host ${hostname} has been muted successfully${message ? ` with message: ${message}` : ''}${end ? ` until ${newDate(end*1000).toISOString()}` : ''}`
78
-
},null,2),
82
+
text: JSON.stringify(
83
+
{
84
+
status: 'success',
85
+
message: `Host ${hostname} has been muted successfully${message ? ` with message: ${message}` : ''}${end ? ` until ${newDate(end*1000).toISOString()}` : ''}`,
0 commit comments