remove deprecated metrics of dockershim

This commit is contained in:
danielqsj
2019-04-12 16:15:26 +08:00
parent 060756babb
commit 8ae3f80048
4 changed files with 0 additions and 81 deletions

View File

@@ -381,7 +381,6 @@ func (pm *PluginManager) podUnlock(fullPodName string) {
// recordOperation records operation and duration
func recordOperation(operation string, start time.Time) {
metrics.NetworkPluginOperationsLatency.WithLabelValues(operation).Observe(metrics.SinceInSeconds(start))
metrics.DeprecatedNetworkPluginOperationsLatency.WithLabelValues(operation).Observe(metrics.SinceInMicroseconds(start))
}
func (pm *PluginManager) GetPodNetworkStatus(podNamespace, podName string, id kubecontainer.ContainerID) (*PodNetworkStatus, error) {