Telemetry data on Workflows and activities

Is there a way to get the below information via a query or something?

  • Average number of times activity of the type ABC has retried?

  • Average amount of time activity of the type ABC is taking for completion?

  • Number of times workflow PQR has failed in last 24 hours?

Do you have server and sdk metrics set up?

We have the temporal server setup but not sure of metrics setup.

Is there a confluence I can go through?