void function ( ) { Gauge < Long > loc0 = new Gauge < Long > ( ) { @ Override public Long getValue ( ) { return clusterMapCallback . getDatacenterCount ( ) ; } } ; registry . register ( MetricRegistry . name ( HelixClusterManager . class , "srini_string" ) , loc0 ) ; }
initialize datacenter related metrics . concode_field_sep MetricRegistry registry concode_elem_sep Counter getWritablePartitionIdsMismatchCount concode_elem_sep HelixClusterManager.HelixClusterManagerCallback clusterMapCallback concode_elem_sep Counter getDataNodeIdsMismatchCount concode_elem_sep Counter hasDatacenterMismatchCount concode_elem_sep Counter getReplicaIdsMismatchCount concode_elem_sep Counter externalViewChangeTriggerCount concode_elem_sep Counter getDataNodeIdMismatchCount concode_elem_sep Counter liveInstanceChangeTriggerCount concode_elem_sep Counter instanceConfigChangeTriggerCount concode_elem_sep Counter getPartitionIdFromStreamMismatchCount concode_elem_sep Counter getAllPartitionIdsMismatchCount concode_elem_sep Gauge<Long> helixClusterManagerInstantiationFailed concode_field_sep void initializePartitionMetrics concode_elem_sep void initializeInstantiationMetric concode_elem_sep void initializeCapacityMetrics concode_elem_sep void initializeDiskMetrics concode_elem_sep void initializeDataNodeMetrics