aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/Monitoring.java
blob: c3c53fa12a4a5d754aecde50db5a14aed87fc609 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.admin.monitoring;

/**
 * Interface for monitoring services
 *
 * @author hmusum
 */
public interface Monitoring {

    /**
     * @return Snapshot interval in minutes
     */
    Integer getInterval();

    /**
     * @return Snapshot interval in seconds.
     */
    Integer getIntervalSeconds();

    /**
     * @return the monitoring cluster name
     */
    String getClustername();

}