pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanjee...@apache.org
Subject [pulsar] branch master updated: Remove metrics from getstatus in python functions (#2873)
Date Sun, 28 Oct 2018 22:17:04 GMT
This is an automated email from the ASF dual-hosted git repository.

sanjeevrk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 6a51109  Remove metrics from getstatus in python functions (#2873)
6a51109 is described below

commit 6a511090cb7e2f7ffda28247bba11f02d24af36d
Author: Sanjeev Kulkarni <sanjeevrk@gmail.com>
AuthorDate: Sun Oct 28 15:16:59 2018 -0700

    Remove metrics from getstatus in python functions (#2873)
---
 pulsar-functions/instance/src/main/python/python_instance.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/pulsar-functions/instance/src/main/python/python_instance.py b/pulsar-functions/instance/src/main/python/python_instance.py
index 5f1645d..4b9ae3a 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 @@ class PythonInstance(object):
     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):


Mime
View raw message