srkukarni closed pull request #2873: Remove metrics from getstatus in python functions URL: https://github.com/apache/pulsar/pull/2873
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/pulsar-functions/instance/src/main/python/python_instance.py b/pulsar-functions/instance/src/main/python/python_instance.py index 5f1645dd74..4b9ae3a84a 100644 --- a/pulsar-functions/instance/src/main/python/python_instance.py +++ b/pulsar-functions/instance/src/main/python/python_instance.py @@ -388,7 +388,6 @@ def get_function_status(self): status.serializationExceptions = self.total_stats.nserialization_exceptions status.averageLatency = self.total_stats.compute_latency() status.lastInvocationTime = self.total_stats.lastinvocationtime - status.metrics.CopyFrom(self.get_metrics()) return status def join(self): ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services