Hi,
Temporal-server v1.22.0 has introduced with httpPort 7243 which enables HTTP protocol in addition to GRPC Port(7233).
As I know that can invoke the system-info api using http protocol.
http://localhost:7243/api/v1/system-info?pretty
{
“serverVersion”: “1.22.0”,
“capabilities”: {
“signalAndQueryHeader”: true,
“internalErrorDifferentiation”: true,
“activityFailureIncludeHeartbeat”: true,
“supportsSchedules”: true,
“encodedFailureAttributes”: true,
“buildIdBasedVersioning”: true,
“upsertMemo”: true,
“eagerWorkflowStart”: true,
“sdkMetadata”: true,
“countGroupByExecutionStatus”: true
}
}
I am trying to run curl or browser to check the health of the temporal-server.
Browser
http://localhost:7243/grpc.health.v1.Health/Check
{“code”:12,“message”:“Not Implemented”}
CURL
$ curl http://localhost:7243/grpc.health.v1.Health/Check -v
- Uses proxy env variable no_proxy == ‘localhost,127.0.0.1,.eks.amazonaws.com’
- Trying 127.0.0.1:7243…
- Connected to localhost (127.0.0.1) port 7243 (#0)
POST /grpc.health.v1.Health/Check HTTP/1.1
Host: localhost:7243
User-Agent: curl/8.1.2
Accept: /< HTTP/1.1 501 Not Implemented
< Content-Type: application/json
< Date: Sun, 24 Sep 2023 17:41:15 GMT
< Content-Length: 39
<
{“code”:12,“message”:“Not Implemented”}* Connection #0 to host localhost left intact
What is the right way to do health check of the temporal server?