Commit faeed6d7 authored by Waleed Akbar's avatar Waleed Akbar
Browse files

Metric pool sub-module name changed from "RPC" to "KpiManager"

parent a39e8f07
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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
@@ -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):