Loading src/kpi_manager/service/KpiManagerServiceServicerImpl.py +3 −2 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # do tests to verify the "grpc.ServicerContext" is required or not. import logging, grpc from common.method_wrappers.Decorator import MetricsPool, safe_and_metered_rpc_method from common.proto.context_pb2 import Empty Loading @@ -23,7 +24,7 @@ from monitoring.service import ManagementDBTools LOGGER = logging.getLogger(__name__) METRICS_POOL = MetricsPool('Monitoring', 'RPC') METRICS_POOL = MetricsPool('Monitoring', 'KpiManager') class KpiManagerServiceServicerImpl(KpiManagerServiceServicer): def __init__(self, name_mapping : NameMapping): Loading Loading
src/kpi_manager/service/KpiManagerServiceServicerImpl.py +3 −2 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # do tests to verify the "grpc.ServicerContext" is required or not. import logging, grpc from common.method_wrappers.Decorator import MetricsPool, safe_and_metered_rpc_method from common.proto.context_pb2 import Empty Loading @@ -23,7 +24,7 @@ from monitoring.service import ManagementDBTools LOGGER = logging.getLogger(__name__) METRICS_POOL = MetricsPool('Monitoring', 'RPC') METRICS_POOL = MetricsPool('Monitoring', 'KpiManager') class KpiManagerServiceServicerImpl(KpiManagerServiceServicer): def __init__(self, name_mapping : NameMapping): Loading