{
  "repo": "pingcap/tidb-inspect-tools",
  "binary": "syslog_adapter",
  "binary_path": "syslog_adapter/main.go",
  "surface_kind": "http_service",
  "type": "http_service",
  "services": [
    {
      "name": "SyslogAdapterHTTP",
      "type": "http",
      "methods": [
        {
          "name": "POST /v1/syslog",
          "name_key": "HTTP POST /v1/syslog",
          "path": "/v1/syslog",
          "method": "POST",
          "description": "Accepts alert webhook payloads and writes them to the configured syslog target.",
          "handler": "syslog_adapter/httpapi.go"
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "HTTP adapter that accepts webhook alerts and forwards them to syslog."
    ]
  }
}
