flowchartsman opened a new pull request #12013: URL: https://github.com/apache/pulsar/pull/12013
Fixes #9772 ### Motivation #9772 ### Modifications Add context `RecordMetric(metricName string, metricValue float64)` ### Verifying this change The current testing framework doesn't exercise pfunc metrics at all. If there are integration tests elsewhere that can verify this, let me know, but I have tested it in my environment and it works as intended. ### Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): no - The public API: **yes** (pulsar function SDK only) - It brings the context object in-line with the other two frameworks, however it follows the same signature. - The schema: no - The default values of configurations: no - The wire protocol: no - The rest endpoints: no - The admin cli options: no - Anything that affects deployment: no ### Documentation Check the box below and label this PR (if you have committer privilege). Need to update docs? - [ ] doc-required - [ ] no-need-doc - [X] doc -- 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