diff options
author | Jon Bratseth <bratseth@verizonmedia.com> | 2020-04-06 11:50:14 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@verizonmedia.com> | 2020-04-06 11:50:14 +0200 |
commit | 01f01e650b238a55ec567e5a97a5f17f5a5168ac (patch) | |
tree | 6dc9e301994804d01d8ff828cdb7f6bc6d20b66f /jdisc_core | |
parent | cb28efe6ea469089913e277d70d9ed16c55f00a3 (diff) |
Measure failing maintenance deployments
Diffstat (limited to 'jdisc_core')
-rw-r--r-- | jdisc_core/src/main/java/com/yahoo/jdisc/Metric.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/Metric.java b/jdisc_core/src/main/java/com/yahoo/jdisc/Metric.java index d6206dcf966..0e9db8fb1ea 100644 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/Metric.java +++ b/jdisc_core/src/main/java/com/yahoo/jdisc/Metric.java @@ -22,7 +22,7 @@ import java.util.Map; public interface Metric { /** - * <p>Set a metric value. This is typically used with histogram-type metrics.</p> + * Set a metric value. This is typically used with histogram-type metrics. * * @param key The name of the metric to modify. * @param val The value to assign to the named metric. @@ -31,28 +31,28 @@ public interface Metric { void set(String key, Number val, Context ctx); /** - * <p>Add to a metric value. This is typically used with counter-type metrics.</p> + * Add to a metric value. This is typically used with counter-type metrics. * - * @param key The name of the metric to modify. - * @param val The value to add to the named metric. - * @param ctx The context to further describe this entry. + * @param key the name of the metric to modify + * @param val the value to add to the named metric + * @param ctx the context to further describe this entry */ void add(String key, Number val, Context ctx); /** - * <p>Creates a {@link MetricConsumer}-specific {@link Context} object that encapsulates the given properties. The + * Creates a {@link MetricConsumer}-specific {@link Context} object that encapsulates the given properties. The * returned Context object should be passed along every future call to {@link #set(String, Number, Context)} and - * {@link #add(String, Number, Context)} where the properties match those given here.</p> + * {@link #add(String, Number, Context)} where the properties match those given here. * - * @param properties The properties to incorporate in the context. - * @return The created context. + * @param properties the properties to incorporate in the context + * @return the created context */ Context createContext(Map<String, ?> properties); /** - * <p>Declares the interface for the arbitrary context object to pass to both the {@link + * Declares the interface for the arbitrary context object to pass to both the {@link * #set(String, Number, Context)} and {@link #add(String, Number, Context)} methods. This is intentionally empty so - * that implementations can vary.</p> + * that implementations can vary. */ interface Context { |