private RouterMetrics()

in hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/RouterMetrics.java [435:696]


  private RouterMetrics() {
    registry = new MetricsRegistry(RECORD_INFO);
    registry.tag(RECORD_INFO, "Router");
    getNewApplicationLatency = registry.newQuantiles("getNewApplicationLatency",
        "latency of get new application", "ops", "latency", 10);
    submitApplicationLatency = registry.newQuantiles("submitApplicationLatency",
        "latency of submit application", "ops", "latency", 10);
    killApplicationLatency = registry.newQuantiles("killApplicationLatency",
        "latency of kill application", "ops", "latency", 10);
    getApplicationReportLatency =
        registry.newQuantiles("getApplicationReportLatency",
            "latency of get application report", "ops", "latency", 10);
    getApplicationsReportLatency =
        registry.newQuantiles("getApplicationsReportLatency",
            "latency of get applications report", "ops", "latency", 10);
    getApplicationAttemptReportLatency =
        registry.newQuantiles("getApplicationAttemptReportLatency",
                    "latency of get applicationattempt " +
                            "report", "ops", "latency", 10);
    getClusterMetricsLatency =
        registry.newQuantiles("getClusterMetricsLatency",
            "latency of get cluster metrics", "ops", "latency", 10);

    getClusterNodesLatency =
        registry.newQuantiles("getClusterNodesLatency",
            "latency of get cluster nodes", "ops", "latency", 10);

    getNodeToLabelsLatency =
        registry.newQuantiles("getNodeToLabelsLatency",
            "latency of get node labels", "ops", "latency", 10);

    getLabelToNodesLatency =
        registry.newQuantiles("getLabelToNodesLatency",
            "latency of get label nodes", "ops", "latency", 10);

    getClusterNodeLabelsLatency =
        registry.newQuantiles("getClusterNodeLabelsLatency",
            "latency of get cluster node labels", "ops", "latency", 10);

    getApplicationAttemptsLatency =
        registry.newQuantiles("getApplicationAttemptsLatency",
            "latency of get application attempts", "ops", "latency", 10);

    getQueueUserAclsLatency =
        registry.newQuantiles("getQueueUserAclsLatency",
            "latency of get queue user acls", "ops", "latency", 10);

    getContainerReportLatency =
        registry.newQuantiles("getContainerReportLatency",
            "latency of get container report", "ops", "latency", 10);

    getContainerLatency =
        registry.newQuantiles("getContainerLatency",
            "latency of get container", "ops", "latency", 10);

    listReservationsLatency =
        registry.newQuantiles("listReservationsLatency",
            "latency of list reservations", "ops", "latency", 10);

    listResourceTypeInfoLatency =
        registry.newQuantiles("getResourceTypeInfoLatency",
            "latency of get resource type info", "ops", "latency", 10);

    failAppAttemptLatency =
        registry.newQuantiles("failApplicationAttemptLatency",
            "latency of fail application attempt", "ops", "latency", 10);

    updateAppPriorityLatency =
        registry.newQuantiles("updateApplicationPriorityLatency",
            "latency of update application priority", "ops", "latency", 10);

    updateAppTimeoutsLatency =
        registry.newQuantiles("updateApplicationTimeoutsLatency",
            "latency of update application timeouts", "ops", "latency", 10);

    signalToContainerLatency =
        registry.newQuantiles("signalToContainerLatency",
            "latency of signal to container timeouts", "ops", "latency", 10);

    getQueueInfoLatency =
        registry.newQuantiles("getQueueInfoLatency",
            "latency of get queue info timeouts", "ops", "latency", 10);

    moveApplicationAcrossQueuesLatency =
        registry.newQuantiles("moveApplicationAcrossQueuesLatency",
            "latency of move application across queues timeouts", "ops", "latency", 10);

    getResourceProfilesLatency =
        registry.newQuantiles("getResourceProfilesLatency",
            "latency of get resource profiles timeouts", "ops", "latency", 10);

    getResourceProfileLatency =
        registry.newQuantiles("getResourceProfileLatency",
            "latency of get resource profile timeouts", "ops", "latency", 10);

    getAttributesToNodesLatency =
        registry.newQuantiles("getAttributesToNodesLatency",
            "latency of get attributes to nodes timeouts", "ops", "latency", 10);

    getClusterNodeAttributesLatency =
        registry.newQuantiles("getClusterNodeAttributesLatency",
            "latency of get cluster node attributes timeouts", "ops", "latency", 10);

    getNodesToAttributesLatency =
        registry.newQuantiles("getNodesToAttributesLatency",
            "latency of get nodes to attributes timeouts", "ops", "latency", 10);

    getNewReservationLatency =
        registry.newQuantiles("getNewReservationLatency",
            "latency of get new reservation timeouts", "ops", "latency", 10);

    submitReservationLatency =
        registry.newQuantiles("submitReservationLatency",
            "latency of submit reservation timeouts", "ops", "latency", 10);

    updateReservationLatency =
        registry.newQuantiles("updateReservationLatency",
            "latency of update reservation timeouts", "ops", "latency", 10);

    deleteReservationLatency =
        registry.newQuantiles("deleteReservationLatency",
            "latency of delete reservation timeouts", "ops", "latency", 10);

    listReservationLatency =
        registry.newQuantiles("listReservationLatency",
            "latency of list reservation timeouts", "ops", "latency", 10);

    getAppActivitiesLatency = registry.newQuantiles("getAppActivitiesLatency",
         "latency of get app activities timeouts", "ops", "latency", 10);

    getAppStatisticsLatency = registry.newQuantiles("getAppStatisticsLatency",
         "latency of get app statistics timeouts", "ops", "latency", 10);

    getAppPriorityLatency = registry.newQuantiles("getAppPriorityLatency",
         "latency of get app priority timeouts", "ops", "latency", 10);

    getAppQueueLatency = registry.newQuantiles("getAppQueueLatency",
         "latency of get app queue timeouts", "ops", "latency", 10);

    getUpdateQueueLatency = registry.newQuantiles("getUpdateQueueLatency",
        "latency of update app queue timeouts", "ops", "latency", 10);

    getAppTimeoutLatency = registry.newQuantiles("getAppTimeoutLatency",
        "latency of get apptimeout timeouts", "ops", "latency", 10);

    getAppTimeoutsLatency = registry.newQuantiles("getAppTimeoutsLatency",
         "latency of get apptimeouts timeouts", "ops", "latency", 10);

    refreshQueuesLatency = registry.newQuantiles("refreshQueuesLatency",
         "latency of get refresh queues timeouts", "ops", "latency", 10);

    getRMNodeLabelsLatency = registry.newQuantiles("getRMNodeLabelsLatency",
        "latency of get rmnodelabels timeouts", "ops", "latency", 10);

    checkUserAccessToQueueLatency = registry.newQuantiles("checkUserAccessToQueueLatency",
        "latency of get apptimeouts timeouts", "ops", "latency", 10);

    refreshNodesLatency = registry.newQuantiles("refreshNodesLatency",
        "latency of get refresh nodes timeouts", "ops", "latency", 10);

    getDelegationTokenLatency = registry.newQuantiles("getDelegationTokenLatency",
        "latency of get delegation token timeouts", "ops", "latency", 10);

    renewDelegationTokenLatency = registry.newQuantiles("renewDelegationTokenLatency",
       "latency of renew delegation token timeouts", "ops", "latency", 10);

    cancelDelegationTokenLatency = registry.newQuantiles("cancelDelegationTokenLatency",
        "latency of cancel delegation token timeouts", "ops", "latency", 10);

    dumpSchedulerLogsLatency = registry.newQuantiles("dumpSchedulerLogsLatency",
        "latency of dump scheduler logs timeouts", "ops", "latency", 10);

    getActivitiesLatency = registry.newQuantiles("getActivitiesLatency",
        "latency of get activities timeouts", "ops", "latency", 10);

    getBulkActivitiesLatency = registry.newQuantiles("getBulkActivitiesLatency",
         "latency of get bulk activities timeouts", "ops", "latency", 10);

    getSchedulerInfoRetrievedLatency = registry.newQuantiles("getSchedulerInfoRetrievedLatency",
        "latency of get scheduler info timeouts", "ops", "latency", 10);

    refreshSuperUserGroupsConfLatency = registry.newQuantiles("refreshSuperUserGroupsConfLatency",
        "latency of refresh superuser groups configuration timeouts", "ops", "latency", 10);

    refreshUserToGroupsMappingsLatency = registry.newQuantiles("refreshUserToGroupsMappingsLatency",
        "latency of refresh user to groups mappings timeouts", "ops", "latency", 10);

    refreshDeregisterSubClusterLatency = registry.newQuantiles("refreshDeregisterSubClusterLatency",
        "latency of deregister subcluster timeouts", "ops", "latency", 10);

    saveFederationQueuePolicyLatency = registry.newQuantiles("saveFederationQueuePolicyLatency",
        "latency of save federation queue policy timeouts", "ops", "latency", 10);

    batchSaveFederationQueuePoliciesLatency = registry.newQuantiles(
        "batchSaveFederationQueuePoliciesLatency",
        "latency of batch save federationqueuepolicies timeouts", "ops", "latency", 10);

    listFederationQueuePoliciesLatency = registry.newQuantiles(
        "listFederationQueuePoliciesLatency",
        "latency of list federationqueuepolicies timeouts", "ops", "latency", 10);

    deleteFederationApplicationLatency = registry.newQuantiles(
        "deleteFederationApplicationLatency",
        "latency of delete FederationApplication timeouts", "ops", "latency", 10);

    getFederationSubClustersLatency = registry.newQuantiles(
        "getFederationSubClustersLatency",
        "latency of get FederationSubClusters timeouts", "ops", "latency", 10);

    deleteFederationPoliciesByQueuesLatency = registry.newQuantiles(
        "deleteFederationPoliciesByQueuesLatency",
        "latency of delete FederationPoliciesByQueues timeouts", "ops", "latency", 10);

    refreshAdminAclsLatency = registry.newQuantiles("refreshAdminAclsLatency",
        "latency of refresh admin acls timeouts", "ops", "latency", 10);

    refreshServiceAclsLatency = registry.newQuantiles("refreshServiceAclsLatency",
        "latency of refresh service acls timeouts", "ops", "latency", 10);

    replaceLabelsOnNodesLatency = registry.newQuantiles("replaceLabelsOnNodesLatency",
        "latency of replace labels on nodes timeouts", "ops", "latency", 10);

    replaceLabelsOnNodeLatency = registry.newQuantiles("replaceLabelsOnNodeLatency",
        "latency of replace labels on node timeouts", "ops", "latency", 10);

    addToClusterNodeLabelsLatency = registry.newQuantiles("addToClusterNodeLabelsLatency",
        "latency of add cluster nodelabels timeouts", "ops", "latency", 10);

    removeFromClusterNodeLabelsLatency = registry.newQuantiles("removeFromClusterNodeLabelsLatency",
        "latency of remove cluster nodelabels timeouts", "ops", "latency", 10);

    updateSchedulerConfigLatency = registry.newQuantiles("updateSchedulerConfigurationLatency",
        "latency of update scheduler configuration timeouts", "ops", "latency", 10);

    getSchedulerConfigurationLatency = registry.newQuantiles("getSchedulerConfigurationLatency",
        "latency of get scheduler configuration timeouts", "ops", "latency", 10);

    getClusterInfoLatency = registry.newQuantiles("getClusterInfoLatency",
        "latency of get cluster info timeouts", "ops", "latency", 10);

    getClusterUserInfoLatency = registry.newQuantiles("getClusterUserInfoLatency",
        "latency of get cluster user info timeouts", "ops", "latency", 10);

    updateNodeResourceLatency = registry.newQuantiles("updateNodeResourceLatency",
        "latency of update node resource timeouts", "ops", "latency", 10);

    refreshNodesResourcesLatency = registry.newQuantiles("refreshNodesResourcesLatency",
        "latency of refresh nodes resources timeouts", "ops", "latency", 10);

    checkForDecommissioningNodesLatency = registry.newQuantiles(
        "checkForDecommissioningNodesLatency", "latency of check for decommissioningnodes timeouts",
        "ops", "latency", 10);

    refreshClusterMaxPriorityLatency = registry.newQuantiles("refreshClusterMaxPriorityLatency",
        "latency of refresh cluster max priority timeouts", "ops", "latency", 10);

    mapAttributesToNodesLatency = registry.newQuantiles("mapAttributesToNodesLatency",
        "latency of map attributes to nodes timeouts", "ops", "latency", 10);

    getGroupsForUserLatency = registry.newQuantiles("getGroupsForUserLatency",
        "latency of get groups for user timeouts", "ops", "latency", 10);
  }