fix_28276 #9
|
@ -2,6 +2,8 @@ package org.gcube.datatransfer.resolver.services;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
|
||||||
|
import javax.ws.rs.Path;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.boot.actuate.autoconfigure.EndpointAutoConfiguration;
|
import org.springframework.boot.actuate.autoconfigure.EndpointAutoConfiguration;
|
||||||
import org.springframework.boot.actuate.autoconfigure.PublicMetricsAutoConfiguration;
|
import org.springframework.boot.actuate.autoconfigure.PublicMetricsAutoConfiguration;
|
||||||
|
@ -15,6 +17,7 @@ import org.springframework.context.annotation.Import;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@Import({ EndpointAutoConfiguration.class, PublicMetricsAutoConfiguration.class })
|
@Import({ EndpointAutoConfiguration.class, PublicMetricsAutoConfiguration.class })
|
||||||
|
@Path("metrics")
|
||||||
public class SpringBootActuatorConfig {
|
public class SpringBootActuatorConfig {
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
|
|
Loading…
Reference in New Issue