chore(metrics): Set low metric criticality on ProxyController and ManagedController
MODIFY
gate-proxy/src/main/kotlin/com/netflix/spinnaker/gate/controllers/ProxyController.kt
gate-proxy/src/main/kotlin/com/netflix/spinnaker/gate/controllers/ProxyController.kt
@@ -23,6 +23,7 @@ import com.netflix.spectator.api.Registry
import com.netflix.spinnaker.config.okhttp3.OkHttpClientProvider
import com.netflix.spinnaker.gate.api.extension.ProxyConfigProvider
import com.netflix.spinnaker.kork.web.exceptions.InvalidRequestException
+import com.netflix.spinnaker.kork.web.interceptors.Criticality
import com.netflix.spinnaker.security.AuthenticatedRequest
import okhttp3.Request
import okhttp3.RequestBody
@@ -46,6 +47,7 @@ import org.springframework.web.bind.annotation.RequestParam
import org.springframework.web.bind.annotation.RestController
import org.springframework.web.servlet.HandlerMapping
+@Criticality(Criticality.Value.LOW)
@RestController
@RequestMapping(value = ["/proxies"])
class ProxyController(

MODIFY
gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/ManagedController.java
gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/ManagedController.java
@@ -13,6 +13,7 @@ import com.netflix.spinnaker.gate.model.manageddelivery.Resource;
import com.netflix.spinnaker.gate.model.manageddelivery.RetryVerificationRequest;
import com.netflix.spinnaker.gate.services.NotificationService;
import com.netflix.spinnaker.gate.services.internal.KeelService;
+import com.netflix.spinnaker.kork.web.interceptors.Criticality;
import groovy.util.logging.Slf4j;
import io.github.resilience4j.retry.RetryConfig;
import io.github.resilience4j.retry.RetryRegistry;
@@ -47,6 +48,7 @@ import retrofit.RetrofitError;
import retrofit.client.Header;
import retrofit.client.Response;
+@Criticality(Criticality.Value.LOW)
@RequestMapping("/managed")
@RestController
@Slf4j

chore(metrics): Set low metric criticality on ProxyController and ManagedController (#1439)