Is there any out of the box way to get the executor of the workflow inside a workflow or activity?

I have a workflow that might be executed from different external services. I’m trying to emit some metrics with tags to differentiate the executor of the workflow. Is there any out of the box way to get the executor of the workflow inside a workflow or activity?

Thank you so much for your help!

I would implement a custom ContextPropagator to propagate “executor” through the workflow and activity contexts.

Thank you so much @maxim ! Could you hint some keywords that can work with the GO SDK?