Temporal API page

Where I get this type of inbuilt function
health.ActiveWorkflows()
health.PendingActivities()
etc…
I need Go Temporal API to get the health metrics from Temporal cluster.

Thankyou

Hi Avinash,

Are you using Temporal Cloud? If so you can follow the instructions here to gain observability into your Temporal Cloud account.

If you are operating your own Temporal cluster, here is the info you need.

Our Go SDK is responsible for emitting client/worker side metrics, it does not support getting health metrics from clusters.