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

io.quarkus.micrometer.runtime.MicrometerCounted Maven / Gradle / Ivy

Go to download

Instrument the runtime and your application with dimensional metrics using Micrometer.

There is a newer version: 3.17.5
Show newest version
package io.quarkus.micrometer.runtime;

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

import jakarta.enterprise.util.Nonbinding;
import jakarta.interceptor.InterceptorBinding;

import io.micrometer.core.annotation.Counted;

@Inherited
@InterceptorBinding
@Target({ ElementType.ANNOTATION_TYPE, ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface MicrometerCounted {

    /**
     * @see Counted#value()
     */
    @Nonbinding
    String value() default "method.counted";

    /**
     * @see Counted#recordFailuresOnly()
     */
    @Nonbinding
    boolean recordFailuresOnly() default false;

    /**
     * @see Counted#extraTags()
     */
    @Nonbinding
    String[] extraTags() default {};

    /**
     * @see Counted#description()
     */
    @Nonbinding
    String description() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy