Anonymitaet commented on a change in pull request #12013: URL: https://github.com/apache/pulsar/pull/12013#discussion_r707149794
########## File path: site2/docs/functions-develop.md ########## @@ -1006,7 +1006,22 @@ class MetricRecorderFunction(Function): context.record_metric('elevens-count', 1) ``` <!--Go--> -Currently, the feature is not available in Go. +The Go SDK [`Context`](#context) object enables you to record metrics on a per-key basis. For example, you can set a metric for the `process-count` key and a different metric for the `elevens-count` key every time the function processes a message: Review comment: @freeznet could you please help review this from the technical perspective? Thanks -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org