@Retention(value=RUNTIME) @Target(value=TYPE) @Import(value=MethodTimer.class) @Documented public @interface EnablePrometheusTiming
PrometheusTimeMethod annotation on classes or methods.
Usage: Add this annotation to any Spring Configuration class to enable
the use of the PrometheusTimeMethod annotation.
*
@Configuration
@EnablePrometheusEndpoint
@EnablePrometheusTiming
public class MyAppConfig {
// Other configuration items...
}
Copyright © 2018. All rights reserved.