AWS ELB 的 Gremlin 服务器健康检查端点
Gremlin-server health check endpoint for AWS ELB
是否有用于 gremlin 服务器健康检查的任何 HTTP/TCP 端点?目前,我们正在使用默认的 TCP 端口,但它似乎并不表明 gremlin-server 的健康状况。
我们注意到 gremlin-server 崩溃了而不是 运行 但健康检查一直在通过。我们正在使用 AWS 经典负载均衡器。
您是否启用了 HTTP endpoint for the Gremlin service?上面的文档解释:
While the default behavior for Gremlin Server is to provide a
WebSocket-based connection, it can also be configured to support plain
HTTP web service. The HTTP endpoint provides for a communication
protocol familiar to most developers, with a wide support of
programming languages, tools and libraries for accessing it.
如果是这样,您可以像这样对目标使用 ELB HTTP 运行状况检查:
HTTP:8182/?gremlin=100-1
通过正确配置的服务,此查询将 return 200 HTTP 状态代码,这将向 ELB 表明该服务是健康的。
是否有用于 gremlin 服务器健康检查的任何 HTTP/TCP 端点?目前,我们正在使用默认的 TCP 端口,但它似乎并不表明 gremlin-server 的健康状况。
我们注意到 gremlin-server 崩溃了而不是 运行 但健康检查一直在通过。我们正在使用 AWS 经典负载均衡器。
您是否启用了 HTTP endpoint for the Gremlin service?上面的文档解释:
While the default behavior for Gremlin Server is to provide a WebSocket-based connection, it can also be configured to support plain HTTP web service. The HTTP endpoint provides for a communication protocol familiar to most developers, with a wide support of programming languages, tools and libraries for accessing it.
如果是这样,您可以像这样对目标使用 ELB HTTP 运行状况检查:
HTTP:8182/?gremlin=100-1
通过正确配置的服务,此查询将 return 200 HTTP 状态代码,这将向 ELB 表明该服务是健康的。