blob: 839eebf4bdaf149c5ac587d7345fd9b0c55ddf1b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.clustercontroller.utils.util;
/**
* Wrapper for current jdisc metrics, such that applications can report metrics without depending on
* the whole container. The apputil project will provide an implementation of this interface that
* reports on to injected jdisc implementation.
*/
public interface MetricReporter {
void set(java.lang.String s, java.lang.Number number, Context context);
void add(java.lang.String s, java.lang.Number number, Context context);
Context createContext(java.util.Map<java.lang.String,?> dimensions);
static interface Context {
}
}
|