Publishing metrics from extensions added through ServerOptions

It would be useful if a reference to the metrics object was passed into the different ServerOption functions so that our custom Elasticsearch HTTP client could publish metrics for when retrieving secrets succeeds/fails. I’m sure publishing metrics from other server options like the authorizer would also be useful for many folks.

please file an feature request here: https://github.com/temporalio/temporal/issues/new/choose