閾値ルール作成 (host_agent専用)
POST /dashboard/monitors/{id}/thresholds
POST
/dashboard/monitors/{id}/thresholds
Host_agentモニターに閾値アラートルールを追加する。
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Request Body required
Section titled “Request Body required ”object
metric
required
string
operator
required
string
threshold
required
number
durationSec
integer
enabled
boolean
Responses
Section titled “ Responses ”閾値ルール作成成功
object
threshold
object
id
string
teamId
string
monitorId
string
metric
string
operator
string
threshold
number
durationSec
integer
enabled
boolean
createdAt
string format: date-time
バリデーションエラーまたは INVALID_TYPE