# Enable metrics publishing for go workers

**URL:** <https://community.temporal.io/t/enable-metrics-publishing-for-go-workers/855>\
**Category:** Community Support\
**Tags:** go-sdk, metrics\
**Created:** [October 28, 2020, 1:28am UTC](https://community.temporal.io/t/enable-metrics-publishing-for-go-workers/855 "2020-10-28T01:28:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rfwagner](https://avatars.discourse-cdn.com/v4/letter/r/a87d85/32.png) [@rfwagner](https://community.temporal.io/u/rfwagner)\
**Post date:** [October 28, 2020, 1:28am UTC](https://community.temporal.io/t/enable-metrics-publishing-for-go-workers/855/1 "2020-10-28T01:28:17Z")

</div>

Are there examples anywhere that demonstrate setting up metrics publishing for go-sdk workers?

I don’t see anything in go-samples and I didn’t see anything searching the site here.

Thanks,

---

<div class="post-metadata">

**Author:** ![alex](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/alex/32/15_2.png) [@alex](https://community.temporal.io/u/alex)\
**Post date:** [October 28, 2020, 7:03am UTC](https://community.temporal.io/t/enable-metrics-publishing-for-go-workers/855/3 "2020-10-28T07:03:11Z")

</div>

I am working on the sample. Will provide link later.

---

<div class="post-metadata">

**Author:** ![alex](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/alex/32/15_2.png) [@alex](https://community.temporal.io/u/alex)\
**Post date:** [October 28, 2020, 10:03pm UTC](https://community.temporal.io/t/enable-metrics-publishing-for-go-workers/855/4 "2020-10-28T22:03:40Z")

</div>

I created PR in our samples repo: [https://github.com/temporalio/samples-go/pull/65](https://github.com/temporalio/samples-go/pull/65). Please let me know if it is useful or not. And if there anything else I can add/improve.

---

<div class="post-metadata">

**Author:** ![rfwagner](https://avatars.discourse-cdn.com/v4/letter/r/a87d85/32.png) [@rfwagner](https://community.temporal.io/u/rfwagner)\
**Post date:** [October 29, 2020, 5:03pm UTC](https://community.temporal.io/t/enable-metrics-publishing-for-go-workers/855/5 "2020-10-29T17:03:10Z")

</div>

Thanks @alex, this is working for me!
