All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.onloupe.agent.metrics.annotation.SampledMetricValue Maven / Gradle / Ivy

package com.onloupe.agent.metrics.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.onloupe.agent.metrics.SamplingType;


/**
 * The Interface SampledMetricValue.
 */
@Repeatable(SampledMetricValues.class)
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.METHOD})
public @interface SampledMetricValue {
	
	/**
	 * Counter name.
	 *
	 * @return the string
	 */
	String counterName() default "";
	
	/**
	 * Sampling type.
	 *
	 * @return the sampling type
	 */
	SamplingType samplingType();
	
	/**
	 * Unit caption.
	 *
	 * @return the string
	 */
	String unitCaption() default "";
	
	/**
	 * Caption.
	 *
	 * @return the string
	 */
	String caption() default "";
	
	/**
	 * Description.
	 *
	 * @return the string
	 */
	String description() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy