/** * Set the metrics context tag * @param name of the context * @return the registry itself as a convenience */ public DynamicMetricsRegistry setContext(String name) { return tag(MsInfo.Context, name, true); }
/** * Add a tag to the metrics * @param name of the tag * @param description of the tag * @param value of the tag * @return the registry (for keep adding tags) */ public DynamicMetricsRegistry tag(String name, String description, String value) { return tag(name, description, value, false); }
public DynamicMetricsRegistry tag(MetricsInfo info, String value) { return tag(info, value, false); }
@Override public void updateBalancerStatus(boolean status) { metricsRegistry.tag(BALANCER_STATUS,"", String.valueOf(status), true); } }
/** * Add a tag to the metrics * @param name of the tag * @param description of the tag * @param value of the tag * @param override existing tag if true * @return the registry (for keep adding tags) */ public DynamicMetricsRegistry tag(String name, String description, String value, boolean override) { return tag(new MetricsInfoImpl(name, description), value, override); }
/** * Add a tag to the metrics * @param name of the tag * @param description of the tag * @param value of the tag * @return the registry (for keep adding tags) */ public DynamicMetricsRegistry tag(String name, String description, String value) { return tag(name, description, value, false); }
/** * Add a tag to the metrics * @param name of the tag * @param description of the tag * @param value of the tag * @return the registry (for keep adding tags) */ public DynamicMetricsRegistry tag(String name, String description, String value) { return tag(name, description, value, false); }
/** * Set the metrics context tag * @param name of the context * @return the registry itself as a convenience */ public DynamicMetricsRegistry setContext(String name) { return tag(MsInfo.Context, name, true); }
/** * Set the metrics context tag * @param name of the context * @return the registry itself as a convenience */ public DynamicMetricsRegistry setContext(String name) { return tag(MsInfo.Context, name, true); }
/** * Add a tag to the metrics * @param name of the tag * @param description of the tag * @param value of the tag * @return the registry (for keep adding tags) */ public DynamicMetricsRegistry tag(String name, String description, String value) { return tag(name, description, value, false); }
/** * Set the metrics context tag * @param name of the context * @return the registry itself as a convenience */ public DynamicMetricsRegistry setContext(String name) { return tag(MsInfo.Context, name, true); }
public DynamicMetricsRegistry tag(MetricsInfo info, String value) { return tag(info, value, false); }
public DynamicMetricsRegistry tag(MetricsInfo info, String value) { return tag(info, value, false); }
public DynamicMetricsRegistry tag(MetricsInfo info, String value) { return tag(info, value, false); }
@Override public void updateBalancerStatus(boolean status) { metricsRegistry.tag(BALANCER_STATUS,"", String.valueOf(status), true); } }
/** * Add a tag to the metrics * @param name of the tag * @param description of the tag * @param value of the tag * @param override existing tag if true * @return the registry (for keep adding tags) */ public DynamicMetricsRegistry tag(String name, String description, String value, boolean override) { return tag(new MetricsInfoImpl(name, description), value, override); }
/** * Add a tag to the metrics * @param name of the tag * @param description of the tag * @param value of the tag * @param override existing tag if true * @return the registry (for keep adding tags) */ public DynamicMetricsRegistry tag(String name, String description, String value, boolean override) { return tag(new MetricsInfoImpl(name, description), value, override); }
/** * Add a tag to the metrics * @param name of the tag * @param description of the tag * @param value of the tag * @param override existing tag if true * @return the registry (for keep adding tags) */ public DynamicMetricsRegistry tag(String name, String description, String value, boolean override) { return tag(new MetricsInfoImpl(name, description), value, override); }