aboutsummaryrefslogtreecommitdiffstats
path: root/jdisc_core/src/main/java/com/yahoo/jdisc/statistics/ContainerWatchdogMetrics.java
blob: 83cd6d41bc25990b3c59de75c43b0e83247f3920 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jdisc.statistics;

import com.yahoo.jdisc.Metric;
import com.yahoo.jdisc.core.ActiveContainer;

/**
 * Tracks statistics on stale {@link ActiveContainer} instances.
 *
 * @author bjorncs
 */
public interface ContainerWatchdogMetrics {

    String TOTAL_DEACTIVATED_CONTAINERS = "jdisc.deactivated_containers.total";

    void emitMetrics(Metric metric);

}