跳转至

获取



GET /api/v1/incidents/{incident_uuid}/get

概述

路由参数

参数名 类型 必选 说明
incident_uuid string Y 故障uuid
允许为空: False

参数补充说明

请求例子

curl 'https://openapi.guance.com/api/v1/incidents/<incident_uuid>/get' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--compressed

响应

{
    "workspaceUUID": "wksp_xxx",
    "name": "服务 xxx 在过去 10 分钟期间日志数量出现了 1 次异常突增",
    "level": "system_level_3",
    "description": "xxxx",
    "source": "internal",
    "resourceCategory": "Monitor",
    "resourceType": "checker",
    "resourceUUID": "",
    "resourceUrl": "",
    "resourceContent": {
        "df_label": "[\"日志智能检测\"]",
        "df_title": "服务 xxxx 在过去 10 分钟期间日志数量出现了 1 次异常突增",
        "df_source": "smartMonitor",
        "df_status": "error",
        "timestamp": 1768926000,
        "df_message": "xxxx",
        "df_channels": [
            "chan_xxxx"
        ],
        "df_event_id": "event-xxxx",
        "df_fault_id": "event-xxx",
        "df_is_silent": "false",
        "df_site_name": "xxx",
        "df_date_range": 600,
        "df_monitor_id": "altpl_xxx",
        "df_sub_status": "error",
        "df_at_accounts": [
            "xxxx"
        ],
        "df_fault_status": "fault",
        "df_monitor_name": "xxxx",
        "df_monitor_type": null,
        "df_notification": "",
        "df_dimension_tags": "{\"service\":\"xxx\"}",
        "df_fault_duration": 0,
        "df_workspace_uuid": "wksp_xxx",
        "df_check_range_end": 1768926000,
        "df_monitor_checker": "smart_log_monitor",
        "df_status_fault_id": "event-xxx",
        "df_fault_start_time": 1768926000,
        "df_check_range_start": 1768925400,
        "df_at_accounts_nodata": [],
        "df_cron_job_exec_mode": "cronJob",
        "df_monitor_checker_id": "rul_xxxx",
        "df_monitor_checker_sub": "check",
        "df_monitor_checker_name": "ll-log-source",
        "df_monitor_checker_type": "smart",
        "df_status_fault_duration": 0,
        "df_status_fault_start_time": 1768926000,
        "df_monitor_checker_event_ref": "xxxxx"
    },
    "resourceIdentity": "xxxx",
    "assigner": [
        "acnt_xxxx"
    ],
    "incidentsStatus": "working",
    "statusTime": {
        "open": 1768926015,
        "working": 1768973255
    },
    "statusChangeTime": 1768973255,
    "cumulativeTime": 54223,
    "eventCount": 0,
    "eventUpdateAt": 1768926015,
    "dimensionTag": {
        "service": "xxxxx"
    },
    "extend": {},
    "dtHost": "",
    "dtService": "xxxxx",
    "dtResource": "",
    "dtPodName": "",
    "dtAppName": "",
    "dtAppId": "",
    "dtEnv": "",
    "dtUrl": "",
    "id": 199,
    "uuid": "incident_xxxx",
    "status": 0,
    "creator": "Obsy",
    "updator": "acnt_xxxx",
    "createAt": 1768926000,
    "deleteAt": -1,
    "updateAt": 1768973256,
    "assignerInfo": [
        {
            "uuid": "acnt_xxxx",
            "status": 0,
            "wsAccountStatus": 0,
            "username": "xxx",
            "name": "xxx",
            "iconUrl": "",
            "email": "xxxx",
            "mobile": "",
            "acntWsNickname": ""
        }
    ],
    "attachments": [],
    "upgradeInfo": []
} 

文档评价

文档内容是否对您有帮助? ×